Skip to content

Commit e4804d1

Browse files
committed
1 parent 15e9759 commit e4804d1

File tree

5 files changed

+22
-21
lines changed

5 files changed

+22
-21
lines changed

.github/workflows/test-suite.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
17+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1818

1919
steps:
20-
- uses: "actions/checkout@v4"
21-
- uses: "actions/setup-python@v5"
20+
- uses: actions/checkout@v5
21+
- uses: actions/setup-python@v6
2222
with:
2323
python-version: "${{ matrix.python-version }}"
2424
allow-prereleases: true
@@ -30,5 +30,6 @@ jobs:
3030
run: "scripts/build"
3131
- name: "Run tests"
3232
run: "scripts/test"
33+
timeout-minutes: 10 # TODO(@cclauss): Remove once Python 3.14 tests are passing.
3334
- name: "Enforce coverage"
3435
run: "scripts/coverage"

requirements.txt

Lines changed: 10 additions & 10 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.5.47
14+
mkdocs-material==9.6.18
1515

1616
# Packaging
17-
build==1.2.2.post1
18-
twine==6.0.1
17+
build==1.3.0
18+
twine==6.1.0
1919

2020
# Tests & Linting
21-
coverage[toml]==7.6.1
22-
cryptography==44.0.1
23-
mypy==1.13.0
24-
pytest==8.3.4
21+
coverage[toml]==7.10.6
22+
cryptography==45.0.7
23+
mypy==1.17.1
24+
pytest==8.4.1
2525
ruff==0.12.11
26-
trio==0.27.0
26+
trio==0.30.0
2727
trio-typing==0.10.0
28-
trustme==1.2.0
29-
uvicorn==0.32.1
28+
trustme==1.2.1
29+
uvicorn==0.35.0

tests/client/test_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ async def test_auth_property() -> None:
326326
async with httpx.AsyncClient(transport=httpx.MockTransport(app)) as client:
327327
assert client.auth is None
328328

329-
client.auth = ("user", "password123") # type: ignore
329+
client.auth = ("user", "password123")
330330
assert isinstance(client.auth, httpx.BasicAuth)
331331

332332
url = "https://example.org/"

tests/client/test_properties.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,35 @@
33

44
def test_client_base_url():
55
client = httpx.Client()
6-
client.base_url = "https://www.example.org/" # type: ignore
6+
client.base_url = "https://www.example.org/"
77
assert isinstance(client.base_url, httpx.URL)
88
assert client.base_url == "https://www.example.org/"
99

1010

1111
def test_client_base_url_without_trailing_slash():
1212
client = httpx.Client()
13-
client.base_url = "https://www.example.org/path" # type: ignore
13+
client.base_url = "https://www.example.org/path"
1414
assert isinstance(client.base_url, httpx.URL)
1515
assert client.base_url == "https://www.example.org/path/"
1616

1717

1818
def test_client_base_url_with_trailing_slash():
1919
client = httpx.Client()
20-
client.base_url = "https://www.example.org/path/" # type: ignore
20+
client.base_url = "https://www.example.org/path/"
2121
assert isinstance(client.base_url, httpx.URL)
2222
assert client.base_url == "https://www.example.org/path/"
2323

2424

2525
def test_client_headers():
2626
client = httpx.Client()
27-
client.headers = {"a": "b"} # type: ignore
27+
client.headers = {"a": "b"}
2828
assert isinstance(client.headers, httpx.Headers)
2929
assert client.headers["A"] == "b"
3030

3131

3232
def test_client_cookies():
3333
client = httpx.Client()
34-
client.cookies = {"a": "b"} # type: ignore
34+
client.cookies = {"a": "b"}
3535
assert isinstance(client.cookies, httpx.Cookies)
3636
mycookies = list(client.cookies.jar)
3737
assert len(mycookies) == 1
@@ -42,7 +42,7 @@ def test_client_timeout():
4242
expected_timeout = 12.0
4343
client = httpx.Client()
4444

45-
client.timeout = expected_timeout # type: ignore
45+
client.timeout = expected_timeout
4646

4747
assert isinstance(client.timeout, httpx.Timeout)
4848
assert client.timeout.connect == expected_timeout

tests/client/test_queryparams.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_client_queryparams_string():
1717
assert client.params["a"] == "b"
1818

1919
client = httpx.Client()
20-
client.params = "a=b" # type: ignore
20+
client.params = "a=b"
2121
assert isinstance(client.params, httpx.QueryParams)
2222
assert client.params["a"] == "b"
2323

0 commit comments

Comments
 (0)