From 3b84e3395aa9727aa1414f49938037f828f89985 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 9 Sep 2026 14:30:51 +0200 Subject: [PATCH] feat(docker): manage xgboost installation and version Pin xgboost as a managed build dependency, harmonized with the existing catboost/ngboost pattern: ARG xgboost_version in quickadapter/Dockerfile, matching build arg in docker-compose.yml, and automatic updates via the existing renovate custom regex manager (pypi datasource). The freqtrade stable_freqai base image ships xgboost 3.2.0; this pins 3.4.1 so the QA and production images track the latest release independently of base image lag. ReforceXY is untouched: it does not use xgboost. BasedPyright snapshots unchanged (242/159 diagnostics verified with the rebuilt QA images). --- quickadapter/Dockerfile | 4 +++- quickadapter/docker-compose.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/quickadapter/Dockerfile b/quickadapter/Dockerfile index 8f365bd..e1a6b77 100644 --- a/quickadapter/Dockerfile +++ b/quickadapter/Dockerfile @@ -7,6 +7,7 @@ ARG scikit_learn_extra_version=0.3.0 ARG scikit_image_version=0.26.0 ARG ngboost_version=0.5.11 ARG catboost_version=1.2.10 +ARG xgboost_version=3.4.1 USER root RUN apt-get update \ @@ -23,7 +24,8 @@ RUN pip install --user --no-cache-dir \ scikit-learn-extra==${scikit_learn_extra_version} \ scikit-image==${scikit_image_version} \ ngboost==${ngboost_version} \ - catboost==${catboost_version} + catboost==${catboost_version} \ + xgboost==${xgboost_version} LABEL org.opencontainers.image.source="freqai-strategies" \ org.opencontainers.image.title="freqtrade-quickadapter" \ diff --git a/quickadapter/docker-compose.yml b/quickadapter/docker-compose.yml index 29c7292..872bded 100644 --- a/quickadapter/docker-compose.yml +++ b/quickadapter/docker-compose.yml @@ -24,6 +24,7 @@ services: scikit_image_version: 0.26.0 ngboost_version: 0.5.11 catboost_version: 1.2.10 + xgboost_version: 3.4.1 restart: unless-stopped container_name: freqtrade-quickadapter environment: -- 2.53.0