From 0e8ef4e8d010b72c821cebdca8b56b233e48f6a1 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 31 Aug 2025 17:01:07 +0200 Subject: [PATCH 1/2] GitHub Actions: Add Python 3.14 to test matrix https://www.python.org/download/pre-releases https://www.python.org/downloads/release/python-3140rc2 --- .github/workflows/test-suite.yml | 3 ++- requirements.txt | 16 ++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 92e8c36015..a88a7b4659 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -13,8 +13,9 @@ jobs: runs-on: "ubuntu-latest" strategy: + fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: "actions/checkout@v4" diff --git a/requirements.txt b/requirements.txt index ebc6ea7fc5..6124027bcf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,19 +11,19 @@ chardet==5.2.0 # Documentation mkdocs==1.6.1 mkautodoc==0.2.0 -mkdocs-material==9.6.18 +mkdocs-material==9.6.21 # Packaging build==1.3.0 -twine==6.1.0 +twine==6.2.0 # Tests & Linting -coverage[toml]==7.10.6 -cryptography==45.0.7 -mypy==1.17.1 -pytest==8.4.1 -ruff==0.12.11 +coverage[toml]==7.10.7 +cryptography==46.0.2 +mypy==1.18.2 +pytest==8.4.2 +ruff==0.13.2 trio==0.31.0 trio-typing==0.10.0 trustme==1.2.1 -uvicorn==0.35.0 +uvicorn==0.37.0 From cf564a4936ea30c59c4452bf99ee079930425634 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 8 Oct 2025 14:06:51 +0200 Subject: [PATCH 2/2] Skip on Python >= 3.14 test_write_timeout(trio_server) --- tests/test_timeouts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_timeouts.py b/tests/test_timeouts.py index 666cc8e376..670c1acd51 100644 --- a/tests/test_timeouts.py +++ b/tests/test_timeouts.py @@ -1,3 +1,5 @@ +import sys + import pytest import httpx @@ -13,6 +15,7 @@ async def test_read_timeout(server): @pytest.mark.anyio +@pytest.mark.xfail(sys.version_info >= (3, 14), reason="Fix trio on Python >= 3.14") async def test_write_timeout(server): timeout = httpx.Timeout(None, write=1e-6)