You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tests fail on a fresh install: httpx is missing from requirements.txt #1
RuntimeError: The starlette.testclient module requires the httpx package to be installed.
fastapi.testclient.TestClient needs httpx, and it is not listed in requirements.txt. Installing it by hand makes all 45 tests pass.
Suggested fix: add httpx to the requirements. While at it, pytest currently sits in the same file, so it also ends up in the Docker image. A separate requirements-dev.txt with pytest and httpx would keep the runtime image smaller and make the README test instructions work as written.
Activity