From: Jérôme Benoit Date: Wed, 9 Sep 2026 12:30:51 +0000 (+0200) Subject: feat(docker): manage xgboost installation and version X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3b84e3395aa9727aa1414f49938037f828f89985;p=freqai-strategies.git 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). --- 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: