From 637bfe7314eceb70a399b448d145ff76b219227c Mon Sep 17 00:00:00 2001 From: Sameer6305 Date: Thu, 23 Jul 2026 16:36:58 +0530 Subject: [PATCH] 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 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9e003ba4..a8f9aa71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]