Skip to content
Python

fix: add httpx2 dev dependency to silence Starlette TestClient deprecation warning

Aadhithya Arulvanand89622f8a843
diff --git a/pyproject.toml b/pyproject.toml
index aa04eef4..81f826cd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,7 +36,7 @@ dependencies = [
]
[project.optional-dependencies]
-dev = ["pytest>=8", "pytest-asyncio", "httpx"]
+dev = ["pytest>=8", "pytest-asyncio", "httpx", "httpx2" ]
# Inbound messaging listeners (outbound send_message needs only httpx, already a core dep).
# aiohttp is slack-bolt's Socket Mode transport at runtime (and the FakeSlack test harness
# drives the real handler) — declare it so CI installs it, not just transitively.