From e035904e1cf365c390ce811a4991950da8207af7 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Tue, 26 May 2026 19:47:15 +0000 Subject: [PATCH] fix(ci): add fakeredis to [dev] extras CI test step in pipelines #41/#43/#44 (commits db103df, 06ede26, 552f5a1) failed during collection with ModuleNotFoundError: fakeredis on test_blocklist.py, test_cursor.py, test_risk_counters.py. The bridge tests use fakeredis.aioredis to mock Redis but the dep wasn't pinned in pyproject. Locally it was installed manually, so 67 kevin tests pass via .venv but CI never installed it. Unblocks the trading-bot-service rebuild that should ship the PositionInfo.ticker fix the bridge pod is crash-looping on, and also unblocks the dashboard rebuild (last pushed 2026-02-25, so none of the Meet Kevin UI is live yet). --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 36be7f3..9a5928d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ sentiment = ["transformers>=4.38", "torch>=2.2", "ollama>=0.1"] trading = ["alpaca-py>=0.21", "pytz>=2024.1", "yfinance>=0.2", "httpx>=0.27"] backtester = ["numpy>=1.26", "pandas>=2.2"] meet_kevin = ["yt-dlp>=2025.12", "feedparser>=6.0", "anthropic>=0.40", "httpx>=0.27"] -dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "pytest-cov>=4.1", "ruff>=0.3", "mypy>=1.8", "httpx>=0.27"] +dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "pytest-cov>=4.1", "ruff>=0.3", "mypy>=1.8", "httpx>=0.27", "fakeredis>=2.20"] [build-system] requires = ["setuptools>=70.0"]