From 3247ce72467d4b0fe8de4144a6432cb79f191e56 Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Tue, 6 Jan 2026 16:16:59 -0800 Subject: [PATCH 1/2] Temporarily pin `sklearn<1.8.0` in `.github/environment.yml` Set an upper constrain for `skelarn` to bypass an issue involving Verde 1.8.1 and skelarn 1.8.0. We should fix this upstream and revert this commit in the future. --- .github/environment.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/environment.yml b/.github/environment.yml index 107e66d62..bd17fe1c5 100644 --- a/.github/environment.yml +++ b/.github/environment.yml @@ -9,7 +9,9 @@ dependencies: - numpy>=1.23 - pandas>=1.4 - scipy>=1.9 - - scikit-learn>=1.1 + # Pin sklearn to bypass issue with Verde 1.8.1 and sklearn 1.8.0. We should + # fix this upstream and remove the upper constrain. + - scikit-learn>=1.1<1.8.0 - numba>=0.57 - xarray>=2022.03 - verde>=1.8.1 From 2ff033b0e3875bae1064e83740e3c72bf8a8b8cf Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Tue, 6 Jan 2026 16:27:26 -0800 Subject: [PATCH 2/2] Add missing comma before upper constrain --- .github/environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/environment.yml b/.github/environment.yml index bd17fe1c5..8c9d9676d 100644 --- a/.github/environment.yml +++ b/.github/environment.yml @@ -11,7 +11,7 @@ dependencies: - scipy>=1.9 # Pin sklearn to bypass issue with Verde 1.8.1 and sklearn 1.8.0. We should # fix this upstream and remove the upper constrain. - - scikit-learn>=1.1<1.8.0 + - scikit-learn>=1.1,<1.8.0 - numba>=0.57 - xarray>=2022.03 - verde>=1.8.1