Skip to content

Commit 0caebfa

Browse files
fix: pin httpx < 0.28 and deduplicate starlette constraint
starlette 0.29 passes app= to httpx.Client.__init__() which was removed in httpx 0.28, breaking all middleware tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 55acbea commit 0caebfa

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,8 @@ dev = [
144144
"pytest-asyncio >= 0.21.0",
145145
"pytest-cov >= 4.1.0",
146146
"coverage[toml] >= 7.0",
147-
"httpx >= 0.24.0, < 0.28.0; python_version < '3.10'",
148-
"httpx >= 0.24.0; python_version >= '3.10'",
149-
"starlette >= 0.27.0, < 0.30.0; python_version >= '3.10'",
150-
"starlette >= 0.27.0; python_version >= '3.10'",
147+
"httpx >= 0.24.0, < 0.28.0",
148+
"starlette >= 0.27.0, < 0.30.0",
151149
"ruff >= 0.4.0",
152150
"mypy >= 1.7.0",
153151
"pre-commit >= 3.5.0",

0 commit comments

Comments
 (0)