Fix live ingest, email config, and dependencies for homelab deploy.
CI / security-scan (pull_request) Failing after 28s
CI / lint-and-test (pull_request) Failing after 31s
CI / dependency-scan (pull_request) Successful in 22s
CI / docker-build-test (pull_request) Failing after 34s
CI / workflow-summary (pull_request) Successful in 4s

Switch HouseWatcherClient to public STOCK Act JSON (legacy housestockwatcher.com is down), add httpx/scikit-learn to pyproject, wire SMTP settings through Settings, fix get_session() as a context manager, and use savepoints in TradeLoader so one bad row does not roll back the batch.
This commit is contained in:
2026-05-26 19:52:29 -04:00
parent ead0820cf9
commit 31c656d66f
7 changed files with 124 additions and 55 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ def main():
args = parser.parse_args()
logger.info("=== Fetching Congressional Trades from House Stock Watcher ===")
logger.info("Source: https://housestockwatcher.com (free, no API key)")
logger.info("=== Fetching Congressional Trades (public STOCK Act data) ===")
logger.info("Source: public JSON feeds (see HouseWatcherClient.data_urls)")
try:
with HouseWatcherClient() as client: