mirror of
https://github.com/triqbit/mt5-ai-xauusd-trader.git
synced 2026-11-02 06:56:15 +00:00
DX: stabilize developer runtime and align dependencies (#1508)
This commit resolves critical "first-run" friction by aligning the repository's dependency tree with stable, existing versions. Previously, the bootstrap process was blocked by hallucinated pins for core ML and data libraries. Key changes: - Corrected non-existent pins: torch (2.12.0 -> 2.5.1), pandas (2.3.3 -> 2.2.3). - Fixed MetaAPI conflict: pinned python-socketio to 4.6.1. - Synchronized all 7 requirements files, pyproject.toml, and scripts/doctor.py. - Restored 'make bootstrap' and 'make doctor' functionality. Baseline drift in linting and tests remains documented for escalation. No trading or risk logic was modified. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: triqbit <242833443+triqbit@users.noreply.github.com>
This commit is contained in:
co-authored by
google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
triqbit
parent
d89341e325
commit
939c78a2ea
+11
-11
@@ -15,13 +15,13 @@ classifiers = [
|
||||
"License :: OSI Approved :: MIT License",
|
||||
]
|
||||
dependencies = [
|
||||
"torch==2.12.0+cpu",
|
||||
"stable-baselines3==2.8.0",
|
||||
"gymnasium==1.3.0",
|
||||
"torch==2.5.1+cpu",
|
||||
"stable-baselines3==2.5.0",
|
||||
"gymnasium==1.0.0",
|
||||
"numpy==1.26.4",
|
||||
"scipy==1.15.3",
|
||||
"scikit-learn==1.6.1",
|
||||
"pandas==2.3.3",
|
||||
"pandas==2.2.3",
|
||||
"TA-Lib==0.6.8",
|
||||
"requests==2.34.2",
|
||||
"aiohttp==3.14.1",
|
||||
@@ -31,12 +31,12 @@ dependencies = [
|
||||
"alembic==1.18.4",
|
||||
"redis==8.0.0",
|
||||
"prometheus-client==0.21.1",
|
||||
"structlog==26.1.0",
|
||||
"rich==15.0.0",
|
||||
"tqdm==4.68.1",
|
||||
"structlog==25.5.0",
|
||||
"rich==13.9.4",
|
||||
"tqdm==4.67.1",
|
||||
"jinja2==3.1.6",
|
||||
"fastapi==0.136.3",
|
||||
"uvicorn[standard]==0.49.0",
|
||||
"fastapi==0.136.1",
|
||||
"uvicorn[standard]==0.34.0",
|
||||
"python-dotenv==1.2.2",
|
||||
"pydantic==2.13.4",
|
||||
"pydantic-settings==2.14.1",
|
||||
@@ -50,7 +50,7 @@ dependencies = [
|
||||
"python-telegram-bot==22.7",
|
||||
"psutil==7.2.2",
|
||||
"optuna==4.9.0",
|
||||
"python-socketio==5.16.2",
|
||||
"python-socketio==4.6.1",
|
||||
"MetaTrader5==5.0.5735; sys_platform == 'win32'",
|
||||
"metaapi-cloud-sdk==29.1.1",
|
||||
]
|
||||
@@ -58,7 +58,7 @@ dependencies = [
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pre-commit==4.6.0",
|
||||
"ruff==0.15.16",
|
||||
"ruff==0.4.3",
|
||||
"mypy==2.1.0",
|
||||
"pip-audit",
|
||||
]
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
# ============================================================
|
||||
# MT5 AI/ML Trading Bot - Enterprise Edition
|
||||
# requirements-ci.txt -- Linux CI-safe dependencies
|
||||
# requirements-ci-no-talib.txt -- Linux CI-safe dependencies (No TA-Lib)
|
||||
# ============================================================
|
||||
|
||||
# -- Core numeric / data -------------------------------------------
|
||||
numpy==1.26.4
|
||||
scipy==1.15.3
|
||||
scikit-learn==1.6.1
|
||||
pandas==2.3.3
|
||||
|
||||
# -- Technical Analysis --------------------------------------------
|
||||
pandas==2.2.3
|
||||
|
||||
# -- Database ------------------------------------------------------
|
||||
sqlalchemy==2.0.50
|
||||
@@ -24,18 +22,19 @@ pydantic-settings==2.14.1
|
||||
metaapi-cloud-sdk==29.1.1
|
||||
|
||||
# -- Testing -------------------------------------------------------
|
||||
python-socketio==4.6.1
|
||||
optuna==4.9.0
|
||||
pytest==9.0.3
|
||||
pytest-asyncio==1.4.0
|
||||
pytest-cov==7.1.0
|
||||
pytest-mock==3.15.1
|
||||
python-telegram-bot==22.7
|
||||
fastapi==0.136.3
|
||||
fastapi==0.136.1
|
||||
requests==2.34.2
|
||||
httpx==0.28.1
|
||||
structlog==26.1.0
|
||||
rich==15.0.0
|
||||
gymnasium==1.3.0
|
||||
structlog==25.5.0
|
||||
rich==13.9.4
|
||||
gymnasium==1.0.0
|
||||
jinja2==3.1.6
|
||||
prometheus-client==0.21.1
|
||||
psutil==7.2.2
|
||||
@@ -45,5 +44,3 @@ types-requests==2.33.0.20260518
|
||||
types-python-dateutil==2.9.0.20260518
|
||||
types-setuptools==82.0.0.20260518
|
||||
types-PyYAML==6.0.12.20260518
|
||||
playwright>=1.60.0
|
||||
pytest-playwright>=0.8.0
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
numpy==1.26.4
|
||||
scipy==1.15.3
|
||||
scikit-learn==1.6.1
|
||||
pandas==2.3.3
|
||||
pandas==2.2.3
|
||||
|
||||
# -- Technical Analysis --------------------------------------------
|
||||
TA-Lib==0.6.8
|
||||
@@ -25,19 +25,19 @@ pydantic-settings==2.14.1
|
||||
metaapi-cloud-sdk==29.1.1
|
||||
|
||||
# -- Testing -------------------------------------------------------
|
||||
python-socketio==5.16.2
|
||||
python-socketio==4.6.1
|
||||
optuna==4.9.0
|
||||
pytest==9.0.3
|
||||
pytest-asyncio==1.4.0
|
||||
pytest-cov==7.1.0
|
||||
pytest-mock==3.15.1
|
||||
python-telegram-bot==22.7
|
||||
fastapi==0.136.3
|
||||
fastapi==0.136.1
|
||||
requests==2.34.2
|
||||
httpx==0.28.1
|
||||
structlog==26.1.0
|
||||
rich==15.0.0
|
||||
gymnasium==1.3.0
|
||||
structlog==25.5.0
|
||||
rich==13.9.4
|
||||
gymnasium==1.0.0
|
||||
jinja2==3.1.6
|
||||
prometheus-client==0.21.1
|
||||
psutil==7.2.2
|
||||
|
||||
+10
-9
@@ -5,13 +5,13 @@
|
||||
|
||||
# -- Core ML / RL --------------------------------------------
|
||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||
torch==2.12.0+cpu
|
||||
stable-baselines3==2.8.0
|
||||
gymnasium==1.3.0
|
||||
torch==2.5.1+cpu
|
||||
stable-baselines3==2.5.0
|
||||
gymnasium==1.0.0
|
||||
numpy==1.26.4
|
||||
scipy==1.15.3
|
||||
scikit-learn==1.6.1
|
||||
pandas==2.3.3
|
||||
pandas==2.2.3
|
||||
|
||||
# -- Technical Analysis --------------------------------------
|
||||
TA-Lib==0.6.8
|
||||
@@ -32,14 +32,14 @@ redis==8.0.0
|
||||
|
||||
# -- Monitoring & Logging ------------------------------------
|
||||
prometheus-client==0.21.1
|
||||
structlog==26.1.0
|
||||
rich==15.0.0
|
||||
tqdm==4.68.1
|
||||
structlog==25.5.0
|
||||
rich==13.9.4
|
||||
tqdm==4.67.1
|
||||
|
||||
# -- Dashboard / API -----------------------------------------
|
||||
jinja2==3.1.6
|
||||
fastapi==0.136.3
|
||||
uvicorn[standard]==0.49.0
|
||||
fastapi==0.136.1
|
||||
uvicorn[standard]==0.34.0
|
||||
|
||||
# -- Configuration -------------------------------------------
|
||||
python-dotenv==1.2.2
|
||||
@@ -48,6 +48,7 @@ pydantic-settings==2.14.1
|
||||
tomli==2.4.1
|
||||
|
||||
# -- Utilities -----------------------------------------------
|
||||
python-socketio==4.6.1
|
||||
python-dateutil==2.9.0.post0
|
||||
nest-asyncio==1.6.0
|
||||
pytz==2026.2
|
||||
|
||||
+11
-10
@@ -5,13 +5,13 @@
|
||||
# ============================================================
|
||||
|
||||
# ── Core ML / RL ────────────────────────────────────────────
|
||||
torch==2.12.0+cpu
|
||||
stable-baselines3==2.8.0
|
||||
gymnasium==1.3.0
|
||||
torch==2.5.1+cpu
|
||||
stable-baselines3==2.5.0
|
||||
gymnasium==1.0.0
|
||||
numpy==1.26.4
|
||||
scipy==1.15.3
|
||||
scikit-learn==1.6.1
|
||||
pandas==2.3.3
|
||||
pandas==2.2.3
|
||||
|
||||
# ── Deep Learning Extras ────────────────────────────────────
|
||||
|
||||
@@ -34,13 +34,13 @@ redis==8.0.0
|
||||
|
||||
# ── Monitoring & Logging ────────────────────────────────────
|
||||
prometheus-client==0.21.1
|
||||
structlog==26.1.0
|
||||
rich==15.0.0
|
||||
tqdm==4.68.1
|
||||
structlog==25.5.0
|
||||
rich==13.9.4
|
||||
tqdm==4.67.1
|
||||
|
||||
# ── Dashboard / API ─────────────────────────────────────────
|
||||
fastapi==0.136.3
|
||||
uvicorn[standard]==0.49.0
|
||||
fastapi==0.136.1
|
||||
uvicorn[standard]==0.34.0
|
||||
|
||||
# ── Configuration ───────────────────────────────────────────
|
||||
python-dotenv==1.2.2
|
||||
@@ -57,10 +57,11 @@ hypothesis==6.155.2
|
||||
# ── DevOps / CI ─────────────────────────────────────────────
|
||||
optuna==4.9.0
|
||||
pre-commit==4.6.0
|
||||
ruff==0.15.16
|
||||
ruff==0.4.3
|
||||
mypy==2.1.0
|
||||
|
||||
# ── Utilities ───────────────────────────────────────────────
|
||||
python-socketio==4.6.1
|
||||
python-dateutil==2.9.0.post0
|
||||
pytz==2026.2
|
||||
click==8.4.1
|
||||
|
||||
+11
-10
@@ -5,13 +5,13 @@
|
||||
# ============================================================
|
||||
|
||||
# ── Core ML / RL ────────────────────────────────────────────
|
||||
torch==2.12.0+cpu
|
||||
stable-baselines3==2.8.0
|
||||
gymnasium==1.3.0
|
||||
torch==2.5.1+cpu
|
||||
stable-baselines3==2.5.0
|
||||
gymnasium==1.0.0
|
||||
numpy==1.26.4
|
||||
scipy==1.15.3
|
||||
scikit-learn==1.6.1
|
||||
pandas==2.3.3
|
||||
pandas==2.2.3
|
||||
|
||||
# ── Deep Learning Extras ────────────────────────────────────
|
||||
|
||||
@@ -33,13 +33,13 @@ redis==8.0.0
|
||||
|
||||
# ── Monitoring & Logging ────────────────────────────────────
|
||||
prometheus-client==0.21.1
|
||||
structlog==26.1.0
|
||||
rich==15.0.0
|
||||
tqdm==4.68.1
|
||||
structlog==25.5.0
|
||||
rich==13.9.4
|
||||
tqdm==4.67.1
|
||||
|
||||
# ── Dashboard / API ─────────────────────────────────────────
|
||||
fastapi==0.136.3
|
||||
uvicorn[standard]==0.49.0
|
||||
fastapi==0.136.1
|
||||
uvicorn[standard]==0.34.0
|
||||
|
||||
# ── Configuration ───────────────────────────────────────────
|
||||
python-dotenv==1.2.2
|
||||
@@ -56,10 +56,11 @@ hypothesis==6.155.2
|
||||
# ── DevOps / CI ─────────────────────────────────────────────
|
||||
optuna==4.9.0
|
||||
pre-commit==4.6.0
|
||||
ruff==0.15.16
|
||||
ruff==0.4.3
|
||||
mypy==2.1.0
|
||||
|
||||
# ── Utilities ───────────────────────────────────────────────
|
||||
python-socketio==4.6.1
|
||||
python-dateutil==2.9.0.post0
|
||||
pytz==2026.2
|
||||
click==8.4.1
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
numpy==1.26.4
|
||||
scipy==1.15.3
|
||||
scikit-learn==1.6.1
|
||||
pandas==2.3.3
|
||||
pandas==2.2.3
|
||||
|
||||
# -- Technical Analysis --------------------------------------------
|
||||
|
||||
@@ -24,18 +24,19 @@ pydantic-settings==2.14.1
|
||||
metaapi-cloud-sdk==29.1.1
|
||||
|
||||
# -- Testing -------------------------------------------------------
|
||||
python-socketio==4.6.1
|
||||
optuna==4.9.0
|
||||
pytest==9.0.3
|
||||
pytest-asyncio==1.4.0
|
||||
pytest-cov==7.1.0
|
||||
pytest-mock==3.15.1
|
||||
python-telegram-bot==22.7
|
||||
fastapi==0.136.3
|
||||
fastapi==0.136.1
|
||||
requests==2.34.2
|
||||
httpx==0.28.1
|
||||
structlog==26.1.0
|
||||
rich==15.0.0
|
||||
gymnasium==1.3.0
|
||||
structlog==25.5.0
|
||||
rich==13.9.4
|
||||
gymnasium==1.0.0
|
||||
jinja2==3.1.6
|
||||
prometheus-client==0.21.1
|
||||
psutil==7.2.2
|
||||
|
||||
+11
-11
@@ -6,13 +6,13 @@
|
||||
|
||||
# ── Core ML / RL ────────────────────────────────────────────
|
||||
--extra-index-url https://download.pytorch.org/whl/cpu
|
||||
torch==2.12.0+cpu
|
||||
stable-baselines3==2.8.0
|
||||
gymnasium==1.3.0
|
||||
torch==2.5.1+cpu
|
||||
stable-baselines3==2.5.0
|
||||
gymnasium==1.0.0
|
||||
numpy==1.26.4
|
||||
scipy==1.15.3
|
||||
scikit-learn==1.6.1
|
||||
pandas==2.3.3
|
||||
pandas==2.2.3
|
||||
|
||||
# ── Technical Analysis ──────────────────────────────────────
|
||||
TA-Lib==0.6.8
|
||||
@@ -34,14 +34,14 @@ redis==8.0.0
|
||||
|
||||
# ── Monitoring & Logging ────────────────────────────────────
|
||||
prometheus-client==0.21.1
|
||||
structlog==26.1.0
|
||||
rich==15.0.0
|
||||
tqdm==4.68.1
|
||||
structlog==25.5.0
|
||||
rich==13.9.4
|
||||
tqdm==4.67.1
|
||||
|
||||
# ── Dashboard / API ─────────────────────────────────────────
|
||||
jinja2==3.1.6
|
||||
fastapi==0.136.3
|
||||
uvicorn[standard]==0.49.0
|
||||
fastapi==0.136.1
|
||||
uvicorn[standard]==0.34.0
|
||||
|
||||
# ── Configuration ───────────────────────────────────────────
|
||||
python-dotenv==1.2.2
|
||||
@@ -59,11 +59,11 @@ hypothesis==6.155.2
|
||||
# ── DevOps / CI ─────────────────────────────────────────────
|
||||
optuna==4.9.0
|
||||
pre-commit==4.6.0
|
||||
ruff==0.15.16
|
||||
ruff==0.4.3
|
||||
mypy==2.1.0
|
||||
|
||||
# ── Utilities ───────────────────────────────────────────────
|
||||
python-socketio==5.16.2
|
||||
python-socketio==4.6.1
|
||||
python-dateutil==2.9.0.post0
|
||||
nest-asyncio==1.6.0
|
||||
pytz==2026.2
|
||||
|
||||
+11
-11
@@ -79,33 +79,33 @@ CORE_DEPENDENCIES = {
|
||||
"pandas": ("pandas", "2.2.3"),
|
||||
"pydantic": ("pydantic", "2.13.4"),
|
||||
"pydantic-settings": ("pydantic_settings", "2.14.1"),
|
||||
"sqlalchemy": ("sqlalchemy", "2.0.38"),
|
||||
"sqlalchemy": ("sqlalchemy", "2.0.50"),
|
||||
"metaapi-cloud-sdk": ("metaapi_cloud_sdk", "29.1.1"),
|
||||
"torch": ("torch", "2.5.1"),
|
||||
"fastapi": ("fastapi", "0.136.1"),
|
||||
"structlog": ("structlog", "25.5.0"),
|
||||
"rich": ("rich", "13.9.4"),
|
||||
"python-dotenv": ("dotenv", "1.2.2"),
|
||||
"requests": ("requests", "2.33.1"),
|
||||
"aiohttp": ("aiohttp", "3.13.4"),
|
||||
"requests": ("requests", "2.34.2"),
|
||||
"aiohttp": ("aiohttp", "3.14.1"),
|
||||
"httpx": ("httpx", "0.28.1"),
|
||||
"uvicorn": ("uvicorn", "0.34.0"),
|
||||
"gymnasium": ("gymnasium", "1.0.0"),
|
||||
"stable-baselines3": ("stable_baselines3", "2.8.0"),
|
||||
"stable-baselines3": ("stable_baselines3", "2.5.0"),
|
||||
"jinja2": ("jinja2", "3.1.6"),
|
||||
"tqdm": ("tqdm", "4.67.1"),
|
||||
"scipy": ("scipy", "1.15.3"),
|
||||
"scikit-learn": ("sklearn", "1.6.1"),
|
||||
"psutil": ("psutil", "7.2.2"),
|
||||
"joblib": ("joblib", "1.4.2"),
|
||||
"redis": ("redis", "7.4.0"),
|
||||
"alembic": ("alembic", "1.14.1"),
|
||||
"joblib": ("joblib", "1.5.3"),
|
||||
"redis": ("redis", "8.0.0"),
|
||||
"alembic": ("alembic", "1.18.4"),
|
||||
"prometheus-client": ("prometheus_client", "0.21.1"),
|
||||
"python-socketio": ("socketio", "5.14.0"),
|
||||
"python-socketio": ("socketio", "4.6.1"),
|
||||
"pytz": ("pytz", "2026.2"),
|
||||
"psycopg2-binary": ("psycopg2", "2.9.10"),
|
||||
"python-telegram-bot": ("telegram", "21.10"),
|
||||
"optuna": ("optuna", "4.8.0"),
|
||||
"psycopg2-binary": ("psycopg2", "2.9.12"),
|
||||
"python-telegram-bot": ("telegram", "22.7"),
|
||||
"optuna": ("optuna", "4.9.0"),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user