mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-09 10:39:11 +02:00
fix(tests): add httpx2 so starlette.testclient stops warning on every run (#3943)
Starlette 1.2.0 prefers httpx2 in the test client and emits a StarletteDeprecationWarning on TestClient import when only classic httpx is installed. Adding httpx2 silences the suite-wide warning; runtime code keeps importing httpx directly and is unaffected. Fixes #3942
This commit is contained in:
parent
33754fed67
commit
f212367f0f
1 changed files with 4 additions and 0 deletions
|
|
@ -43,3 +43,7 @@ qrcode[pil]
|
|||
croniter
|
||||
pytest
|
||||
pytest-asyncio
|
||||
# starlette.testclient prefers httpx2 since Starlette 1.2.0 and warns on every
|
||||
# TestClient import when only classic httpx is present. Runtime code keeps
|
||||
# using `httpx` above; this is test-client only.
|
||||
httpx2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue