Files
Shadowbroker/backend/pyproject.toml
T
2026-12-02 11:54:31 -07:00

78 lines
2.1 KiB
TOML

[build-system]
requires = ["setuptools>=84.2.1"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = []
[project]
name = "backend"
version = "0.9.85"
requires-python = ">=3.11.5"
dependencies = [
"anyio>=4.14.2",
"apscheduler==3.11.3",
"beautifulsoup4>=4.15.0",
"cachetools==8.0.2",
"cryptography>=50.0.2",
"defusedxml>=0.7.1",
"fastapi==0.163.1",
"feedparser==6.0.11",
"httpx==0.28.1",
"playwright==1.64.1",
"playwright-stealth==1.0.6",
"pydantic==2.13.3",
"pydantic-settings==2.15.0",
"pystac-client==0.9.1",
"python-dotenv==1.2.4",
"requests==2.34.2",
"PySocks==1.7.1",
"reverse-geocoder==1.5.1",
"rns==1.6.1",
"sgp4==2.27",
"maxminddb==3.2.0",
"meshtastic>=2.5.0",
"networkx>=3.4.0",
"numpy>=2.2.0",
"orjson>=3.13.0",
"paho-mqtt>=2.2.0,<3.0.0",
"PyNaCl>=1.5.0",
"slowapi==0.1.9",
"soupsieve>=4.0",
"starlette==1.7.0",
"urllib3>=2.8.0",
"vaderSentiment>=3.3.0",
"uvicorn==0.54.0",
# Voice-agent realtime relay (services/voice_broker.py) — verified at
# install against the narrow surface used there: connect/send/close.
"websockets==17.4",
"yfinance==1.3.0",
]
[project.optional-dependencies]
road-corridor = [
"geopandas>=1.0.0",
"imageio>=2.38.0",
"osmnx>=2.0.0",
"rasterio>=1.4.0",
"scikit-learn>=1.5.0",
"sentinelhub>=3.12.0",
"shapely>=2.0.0",
]
[dependency-groups]
dev = ["pytest>=9.0.3", "pytest-asyncio>=1.4.1.post1", "ruff>=0.9.0", "black>=24.0.0"]
[tool.ruff.lint]
# The current backend carries historical style debt in large legacy modules.
# Keep CI focused on actionable correctness checks for the v0.9.85 release.
# Rule set is spelled out (ruff's long-standing defaults) so a ruff upgrade
# that widens the default selection doesn't suddenly fail CI.
select = ["E4", "E7", "E9", "F"]
ignore = ["E401", "E402", "E701", "E731", "E741", "F401", "F402", "F541", "F811", "F841"]
[tool.black]
# Avoid a release-time whole-backend formatting rewrite. Re-enable by narrowing
# this once the legacy tree is formatted in a dedicated cleanup PR.
force-exclude = ".*"