From 67e64fab181ff5386ef9695139d12e8a67afc49f Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 22 Feb 2026 21:26:39 +0000 Subject: [PATCH] fix: add missing pytz dependency and remove ollama port conflict - Add pytz to trading extras (alpaca-py requires it but doesn't declare it) - Remove host port mapping from ollama container to avoid conflict with local ollama instance --- docker-compose.yml | 2 -- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 236ba5a..49ff7d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,8 +32,6 @@ services: ollama: image: ollama/ollama:latest - ports: - - "127.0.0.1:11434:11434" volumes: - ollama_models:/root/.ollama diff --git a/pyproject.toml b/pyproject.toml index 64e9c2e..92e5b25 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ api = ["fastapi>=0.110", "uvicorn[standard]>=0.27", "websockets>=12.0", "webauthn>=2.0", "pyjwt[crypto]>=2.8"] news = ["feedparser>=6.0", "praw>=7.7", "asyncpraw>=7.7", "httpx>=0.27"] sentiment = ["transformers>=4.38", "torch>=2.2", "ollama>=0.1"] -trading = ["alpaca-py>=0.21"] +trading = ["alpaca-py>=0.21", "pytz>=2024.1"] backtester = ["numpy>=1.26", "pandas>=2.2"] dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "pytest-cov>=4.1", "ruff>=0.3", "mypy>=1.8", "httpx>=0.27"]