]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
feat(docker): manage xgboost installation and version
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 9 Sep 2026 12:30:51 +0000 (14:30 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 9 Sep 2026 12:30:51 +0000 (14:30 +0200)
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
quickadapter/docker-compose.yml

index 8f365bd8a67d20474e9fd56097c8a7257259baf9..e1a6b779a045e143c92ca735a9495641b01f5e69 100644 (file)
@@ -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" \
index 29c72923bf0aefc7ec4379f25c8b3b2b4ed1b36c..872bded192d1ba4e1b3141bddd923f58580458a8 100644 (file)
@@ -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: