From f7b457e21562f768c107037cc8fa251fbeb93121 Mon Sep 17 00:00:00 2001 From: PedroHMCosme Date: Wed, 2 Sep 2026 08:22:38 -0300 Subject: [PATCH] chore(deps): bump scikit-learn pin to 1.8.0 to match basic runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sientia-dev test cluster's "basic" plugin runtime declares scikit-learn==1.8.0, installed on top of this repo's own requirements.txt at container startup. The old scikit-learn==1.5.2 pin here got silently overwritten by that later install, but the son-approx model's pickled LinearRegression wrapper was recreated against a version needing sklearn 1.8's API — mismatched envs caused `ImportError: cannot import name 'validate_data' from sklearn.utils.validation` on model load (found while testing SIENTIAPDE-1986 against the real cluster). Matching the pin here to 1.8.0 removes the redundant conflicting install. --- requirements-local.txt | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-local.txt b/requirements-local.txt index aea28bd..c970def 100644 --- a/requirements-local.txt +++ b/requirements-local.txt @@ -15,4 +15,4 @@ hyperopt shap pycurl scipy<1.14.0 -scikit-learn==1.5.2 \ No newline at end of file +scikit-learn==1.8.0 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index a0218de..ecf3261 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,4 +15,4 @@ hyperopt shap pycurl scipy<1.14.0 -scikit-learn==1.5.2 \ No newline at end of file +scikit-learn==1.8.0 \ No newline at end of file