Skip to content

Commit 2ff022f

Browse files
committed
1 parent 435e1da commit 2ff022f

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed

.github/workflows/test-suite.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,29 @@ jobs:
1313
runs-on: "ubuntu-latest"
1414

1515
strategy:
16+
fail-fast: false
1617
matrix:
17-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
18+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1819

1920
steps:
20-
- uses: "actions/checkout@v4"
21+
- uses: "actions/checkout@v5"
2122
- uses: "actions/setup-python@v6"
2223
with:
2324
python-version: "${{ matrix.python-version }}"
2425
allow-prereleases: true
2526
- name: "Install dependencies"
27+
if: matrix.python-version != '3.14'
2628
run: "scripts/install"
29+
- if: matrix.python-version == '3.14'
30+
run: |
31+
pip install -r requirements.txt
32+
pip install --editable .[cli,http2,socks]
2733
- name: "Run linting checks"
2834
run: "scripts/check"
2935
- name: "Build package & docs"
3036
run: "scripts/build"
3137
- name: "Run tests"
3238
run: "scripts/test"
39+
timeout-minutes: 10 # TODO(@cclauss): Remove once Python 3.14 tests are passing.
3340
- name: "Enforce coverage"
3441
run: "scripts/coverage"

requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ chardet==5.2.0
1111
# Documentation
1212
mkdocs==1.6.1
1313
mkautodoc==0.2.0
14-
mkdocs-material==9.6.18
14+
mkdocs-material==9.6.21
1515

1616
# Packaging
1717
build==1.3.0
18-
twine==6.1.0
18+
twine==6.2.0
1919

2020
# Tests & Linting
21-
coverage[toml]==7.10.6
22-
cryptography==45.0.7
23-
mypy==1.17.1
24-
pytest==8.4.1
25-
ruff==0.12.11
21+
coverage[toml]==7.10.7
22+
cryptography==46.0.2
23+
mypy==1.18.2
24+
pytest==8.4.2
25+
ruff==0.13.2
2626
trio==0.31.0
2727
trio-typing==0.10.0
2828
trustme==1.2.1
29-
uvicorn==0.35.0
29+
uvicorn==0.37.0

tests/test_timeouts.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import sys
2+
13
import pytest
24

35
import httpx
@@ -13,6 +15,7 @@ async def test_read_timeout(server):
1315

1416

1517
@pytest.mark.anyio
18+
@pytest.mark.xfail(sys.version_info >= (3, 14), reason="Fix trio on Python >= 3.14")
1619
async def test_write_timeout(server):
1720
timeout = httpx.Timeout(None, write=1e-6)
1821

0 commit comments

Comments
 (0)