fix: promote httpx to production dependencies

httpx is imported unconditionally in muxplex/main.py (module-level import),
so it must be a production dependency — not dev-only. Move httpx>=0.27.0
from [project.optional-dependencies].dev to [project.dependencies] to
prevent ModuleNotFoundError on startup in non-dev deployments.
This commit is contained in:
Brian Krabach
2026-04-01 10:48:02 -07:00
parent c03c85c76a
commit 9c423d07db
+1 -1
View File
@@ -18,11 +18,11 @@ dependencies = [
"six>=1.16.0", # undeclared dep of python-pam (needed on macOS clean envs) "six>=1.16.0", # undeclared dep of python-pam (needed on macOS clean envs)
"itsdangerous>=2.1.0", "itsdangerous>=2.1.0",
"python-multipart>=0.0.9", "python-multipart>=0.0.9",
"httpx>=0.27.0",
] ]
[project.optional-dependencies] [project.optional-dependencies]
dev = [ dev = [
"httpx>=0.27.0",
"pytest>=8.0.0", "pytest>=8.0.0",
"pytest-asyncio>=0.23.0", "pytest-asyncio>=0.23.0",
"beautifulsoup4>=4.12", "beautifulsoup4>=4.12",