Files
Shadowbroker/backend/pyproject.toml
T
BigBodyCobain 82ba0cb246 voice-agent U0: freshness stamps + store-hygiene guard, voice config schema, websockets pin, docs
- Three _mark_fresh stamps (tracked_flights x2, correlations) fixing the
  fast-tier delta-delivery defect; test_freshness_stamps.py written first
  (red) with AST adjacency guard, runtime probe, and delta-recovery tests.
- Settings: VOICE_AGENT_OUTBOUND_ENABLE/_ACKNOWLEDGE two-step opt-in +
  full VOICE_* schema + voice_outbound_effective(); two Voice API_REGISTRY
  rows; env_check ack-mismatch audits; documented VOICE blocks in both
  .env.example files.
- websockets==16.0 verified-at-install pin (R1) + local smoke test.
- OUTBOUND_DATA.md voice egress section incl. SpeechRecognition
  prohibition; threat-model prompt-injection/egress notes.
- useDataPolling.isPollingPaused() export for U5 regen gates.
2026-08-24 20:50:06 -06:00

70 lines
1.8 KiB
TOML

[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
py-modules = []
[project]
name = "backend"
version = "0.9.84"
requires-python = ">=3.10"
dependencies = [
"apscheduler==3.10.3",
"beautifulsoup4>=4.9.0",
"cachetools==5.5.2",
"cryptography>=46.0.7",
"defusedxml>=0.7.1",
"fastapi==0.136.3",
"feedparser==6.0.11",
"httpx==0.28.1",
"playwright==1.59.0",
"playwright-stealth==1.0.6",
"pydantic==2.13.3",
"pydantic-settings==2.8.1",
"pystac-client==0.8.6",
"python-dotenv==1.2.2",
"requests==2.33.0",
"PySocks==1.7.1",
"reverse-geocoder==1.5.1",
"sgp4==2.25",
"meshtastic>=2.5.0",
"networkx>=3.4.0",
"numpy>=2.2.0",
"orjson>=3.10.0",
"paho-mqtt>=1.6.0,<2.0.0",
"PyNaCl>=1.5.0",
"slowapi==0.1.9",
"starlette==1.0.1",
"vaderSentiment>=3.3.0",
"uvicorn==0.34.0",
# Voice-agent realtime relay (services/voice_broker.py) — verified at
# install against the narrow surface used there: connect/send/close.
"websockets==16.0",
"yfinance==1.3.0",
]
[project.optional-dependencies]
road-corridor = [
"geopandas>=1.0.0",
"imageio>=2.34.0",
"osmnx>=2.0.0",
"rasterio>=1.4.0",
"scikit-learn>=1.5.0",
"sentinelhub>=3.10.0",
"shapely>=2.0.0",
]
[dependency-groups]
dev = ["pytest>=9.0.3", "pytest-asyncio>=1.4.0", "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.84 release.
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 = ".*"