Skip to content

Commit 91ca2fc

Browse files
authored
fix(tests): Add httpx to the dev extra for chatlas (#2437)
1 parent e793b6c commit 91ca2fc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,11 @@ dev = [
152152
"shinyswatch>=0.7.0",
153153
"python-dotenv",
154154
"chatlas>=0.6.1",
155+
# chatlas imports `httpx` without declaring it, relying on `openai` to pull
156+
# it in. openai 3.0.0 switched to the `httpx2` distribution, so `import
157+
# chatlas` now fails with ModuleNotFoundError unless httpx is installed
158+
# directly. Drop this once chatlas declares its own httpx dependency.
159+
"httpx",
155160
"aiohttp",
156161
"beautifulsoup4",
157162
]

0 commit comments

Comments
 (0)