Skip to content

Commit 1f00437

Browse files
authored
Pin anyio in tests (dep of httpx), because new major 4.0.0 breaks tests. (#2336)
1 parent 7a7867b commit 1f00437

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ deps =
279279
# FastAPI
280280
fastapi: fastapi
281281
fastapi: httpx
282+
fastapi: anyio<4.0.0 # thats a dep of httpx
282283
fastapi: pytest-asyncio
283284
fastapi: python-multipart
284285
fastapi: requests
@@ -309,6 +310,7 @@ deps =
309310

310311
# HTTPX
311312
httpx: pytest-httpx
313+
httpx: anyio<4.0.0 # thats a dep of httpx
312314
httpx-v0.16: httpx>=0.16,<0.17
313315
httpx-v0.17: httpx>=0.17,<0.18
314316
httpx-v0.18: httpx>=0.18,<0.19
@@ -412,6 +414,7 @@ deps =
412414
starlette: python-multipart
413415
starlette: requests
414416
starlette: httpx
417+
starlette: anyio<4.0.0 # thats a dep of httpx
415418
starlette: jinja2
416419
starlette-v0.20: starlette>=0.20.0,<0.21.0
417420
starlette-v0.22: starlette>=0.22.0,<0.23.0

0 commit comments

Comments
 (0)