Fix #788: pin httpx<0.28.0 globally to fix TestClient breakage

Adds an explicit httpx<0.28.0 constraint to [project.dependencies] so it
applies globally across all environments, not just dev. Without this,
different environments could resolve an incompatible transitive httpx
version and hit the same Starlette TestClient breakage independently.

Verified via git stash comparison: the unmodified baseline fails to even
collect the test suite (TestClient TypeError during collection), so this
pin doesn't just fix tests, it's what allows the full suite to run at all.

Closes #788
This commit is contained in:
Sameer6305
2026-07-23 16:36:58 +05:30
parent 6e4ff0c7c5
commit 637bfe7314
+2 -1
View File
@@ -85,7 +85,8 @@ dependencies = [
"python-dotenv>=1.2.1",
"loguru>=0.7.3",
"structlog>=22.1.0",
"gensim>=4.4.0"
"gensim>=4.4.0",
"httpx<0.28.0"
]
[project.urls]