Exclude Python 3.8 from matrix in `test.yml`

This commit is contained in:
Yurii Motov 2025-12-12 09:15:03 +01:00
parent 1fcec88ad2
commit 4f3e749d02
1 changed files with 1 additions and 12 deletions

View File

@ -50,13 +50,6 @@ jobs:
python-version: [ "3.14" ] python-version: [ "3.14" ]
pydantic-version: [ "pydantic-v2" ] pydantic-version: [ "pydantic-v2" ]
include: include:
- os: macos-latest
python-version: "3.8"
pydantic-version: "pydantic-v1"
- os: windows-latest
python-version: "3.8"
pydantic-version: "pydantic-v2"
coverage: coverage
- os: ubuntu-latest - os: ubuntu-latest
python-version: "3.9" python-version: "3.9"
pydantic-version: "pydantic-v1" pydantic-version: "pydantic-v1"
@ -109,10 +102,6 @@ jobs:
- name: Install Pydantic v2 - name: Install Pydantic v2
if: matrix.pydantic-version == 'pydantic-v2' if: matrix.pydantic-version == 'pydantic-v2'
run: uv pip install --upgrade "pydantic>=2.0.2,<3.0.0" run: uv pip install --upgrade "pydantic>=2.0.2,<3.0.0"
# TODO: Remove this once Python 3.8 is no longer supported
- name: Install older AnyIO in Python 3.8
if: matrix.python-version == '3.8'
run: uv pip install "anyio[trio]<4.0.0"
- run: mkdir coverage - run: mkdir coverage
- name: Test - name: Test
run: bash scripts/test.sh run: bash scripts/test.sh
@ -139,7 +128,7 @@ jobs:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
with: with:
python-version: '3.8' python-version: '3.11'
- name: Setup uv - name: Setup uv
uses: astral-sh/setup-uv@v7 uses: astral-sh/setup-uv@v7
with: with: