diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 4db2b475..516d3ae5 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -13,18 +13,20 @@ jobs: runs-on: "ubuntu-latest" strategy: + fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] steps: - - uses: "actions/checkout@v4" - - uses: "actions/setup-python@v4" + - uses: "actions/checkout@v5" + - uses: "actions/setup-python@v6" with: python-version: "${{ matrix.python-version }}" allow-prereleases: true - name: "Install dependencies" run: "scripts/install" - name: "Run linting checks" + if: matrix.python-version != '3.8' && matrix.python-version != '3.9' run: "scripts/check" - name: "Build package & docs" run: "scripts/build" diff --git a/requirements.txt b/requirements.txt index 90219a8c..51af7903 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,8 +17,9 @@ coverage[toml]==7.5.4 ruff==0.5.0 mypy==1.10.1 trio-typing==0.10.0 +pycparser==2.23 ; python_version >= "3.14" pytest==8.2.2 -pytest-httpbin==2.0.0 +pytest-httpbin==2.1.0 pytest-trio==0.8.0 werkzeug<3.1 # See: https://github.com/psf/httpbin/issues/35 @@ -26,5 +27,7 @@ werkzeug<3.1 # See: https://github.com/psf/httpbin/issues/35 uvicorn==0.30.1 aiohttp==3.10.2 urllib3==2.2.2 -matplotlib==3.7.5 +matplotlib==3.7.5 ; python_version < "3.10" +matplotlib==3.10.7 ; python_version >= "3.10" pyinstrument==4.6.2 + diff --git a/tests/benchmark/client.py b/tests/benchmark/client.py index d07802b0..b5afe759 100644 --- a/tests/benchmark/client.py +++ b/tests/benchmark/client.py @@ -7,10 +7,10 @@ from typing import Any, Callable, Coroutine, Iterator, List import aiohttp -import matplotlib.pyplot as plt # type: ignore[import-untyped] +import matplotlib.pyplot as plt import pyinstrument import urllib3 -from matplotlib.axes import Axes # type: ignore[import-untyped] +from matplotlib.axes import Axes import httpcore