summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-02 15:37:31 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-02 15:37:31 +0900
commit1d40055d7a89f9470b2d0f0d2ed1c23752ffbd6a (patch)
treee99f19b7ccab88d30debbb266ebe6856c2f09780
parente5fc21f3c9c890c254c5f74412aa0b68c3863042 (diff)
chore: pin all service dependencies with upper bounds
-rw-r--r--services/api/pyproject.toml6
-rw-r--r--services/backtester/pyproject.toml2
-rw-r--r--services/news-collector/pyproject.toml7
-rw-r--r--services/strategy-engine/pyproject.toml6
4 files changed, 4 insertions, 17 deletions
diff --git a/services/api/pyproject.toml b/services/api/pyproject.toml
index fd2598d..95099d2 100644
--- a/services/api/pyproject.toml
+++ b/services/api/pyproject.toml
@@ -3,11 +3,7 @@ name = "trading-api"
version = "0.1.0"
description = "REST API for the trading platform"
requires-python = ">=3.12"
-dependencies = [
- "fastapi>=0.110",
- "uvicorn>=0.27",
- "trading-shared",
-]
+dependencies = ["fastapi>=0.110,<1", "uvicorn>=0.27,<1", "slowapi>=0.1.9,<1", "trading-shared"]
[project.optional-dependencies]
dev = ["pytest>=8.0", "pytest-asyncio>=0.23", "httpx>=0.27"]
diff --git a/services/backtester/pyproject.toml b/services/backtester/pyproject.toml
index 2601d04..034bcf6 100644
--- a/services/backtester/pyproject.toml
+++ b/services/backtester/pyproject.toml
@@ -3,7 +3,7 @@ name = "backtester"
version = "0.1.0"
description = "Strategy backtesting engine"
requires-python = ">=3.12"
-dependencies = ["pandas>=2.0", "numpy>=1.20", "rich>=13.0", "trading-shared"]
+dependencies = ["pandas>=2.1,<3", "numpy>=1.26,<3", "rich>=13.0,<14", "trading-shared"]
[project.optional-dependencies]
dev = ["pytest>=8.0", "pytest-asyncio>=0.23"]
diff --git a/services/news-collector/pyproject.toml b/services/news-collector/pyproject.toml
index 14c856a..6e62b70 100644
--- a/services/news-collector/pyproject.toml
+++ b/services/news-collector/pyproject.toml
@@ -3,12 +3,7 @@ name = "news-collector"
version = "0.1.0"
description = "News and sentiment data collector service"
requires-python = ">=3.12"
-dependencies = [
- "trading-shared",
- "feedparser>=6.0",
- "nltk>=3.8",
- "aiohttp>=3.9",
-]
+dependencies = ["trading-shared", "feedparser>=6.0,<7", "nltk>=3.8,<4", "aiohttp>=3.9,<4"]
[project.optional-dependencies]
dev = [
diff --git a/services/strategy-engine/pyproject.toml b/services/strategy-engine/pyproject.toml
index 4f5b6be..e4bfb12 100644
--- a/services/strategy-engine/pyproject.toml
+++ b/services/strategy-engine/pyproject.toml
@@ -3,11 +3,7 @@ name = "strategy-engine"
version = "0.1.0"
description = "Plugin-based strategy execution engine"
requires-python = ">=3.12"
-dependencies = [
- "pandas>=2.0",
- "numpy>=1.20",
- "trading-shared",
-]
+dependencies = ["pandas>=2.1,<3", "numpy>=1.26,<3", "trading-shared"]
[project.optional-dependencies]
dev = ["pytest>=8.0", "pytest-asyncio>=0.23"]