From ae94c5cec60a77beecd636e9f547882553ced0b7 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 16 Apr 2024 18:59:23 +0200 Subject: [PATCH 1/3] TSML: Adjust dependencies around PyCaret/Joblib Dependency hell caused a few hiccups. Subsequent bugfix releases help resolve the situation. In this case, PyCaret 3.3.1. --- topic/machine-learning/automl/requirements.txt | 5 +---- topic/timeseries/requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/topic/machine-learning/automl/requirements.txt b/topic/machine-learning/automl/requirements.txt index 04e16cb5..2fb81e36 100644 --- a/topic/machine-learning/automl/requirements.txt +++ b/topic/machine-learning/automl/requirements.txt @@ -1,11 +1,8 @@ # Real. crate[sqlalchemy] -dask>=2024.4.1 # Python 3.11.9 breaks previous Dask -distributed>=2024.4.1 # Python 3.11.9 breaks previous Dask -joblib<1.4 # Joblib 1.4.0 is not compatible with PyCaret 3.3.0 mlflow-cratedb==2.11.3 plotly<5.21 -pycaret[models,parallel,test]==3.3.0 +pycaret[models,parallel,test]==3.3.1 pydantic<2 python-dotenv<2 diff --git a/topic/timeseries/requirements.txt b/topic/timeseries/requirements.txt index b3e11dc1..f731d34f 100644 --- a/topic/timeseries/requirements.txt +++ b/topic/timeseries/requirements.txt @@ -1,8 +1,7 @@ crate[sqlalchemy]==0.35.2 cratedb-toolkit[datasets]==0.0.10 -joblib<1.4 # Joblib 1.4.0 is not compatible with PyCaret 3.3.0 refinitiv-data<1.7 pandas<2 -pycaret>=3.0,<3.4 +pycaret==3.3.1 pydantic<2 sqlalchemy<2 From de3f7b1cac189df1efa57106f7560b5205e0cbc5 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 16 Apr 2024 19:00:15 +0200 Subject: [PATCH 2/3] TSML: Adjust dependencies around Dask The release of Python 3.11.9 tripped previous versions of Dask, so it's good to use a more recent version, which resolves those flaws. --- by-dataframe/dask/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/by-dataframe/dask/requirements.txt b/by-dataframe/dask/requirements.txt index cfdb9ab9..2ba45c14 100644 --- a/by-dataframe/dask/requirements.txt +++ b/by-dataframe/dask/requirements.txt @@ -1,5 +1,6 @@ click<9 colorlog<7 crate[sqlalchemy] -dask[dataframe]<=2024.4.1 +dask[dataframe]>=2024.4.1 # Python 3.11.9 breaks previous Dask +distributed>=2024.4.1 # Python 3.11.9 breaks previous Dask pueblo>=0.0.7 From df1bd771f2eeedb712e62550cc4a620c9082dc2b Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 16 Apr 2024 19:07:47 +0200 Subject: [PATCH 3/3] TSML: Use most recent Python 3.11 on CI again On recent hiccups due to incompatibilities between Python 3.11.9 and Dask, we needed to downgrade the CI runner to use Python 3.11.8. --- .github/workflows/timeseries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/timeseries.yml b/.github/workflows/timeseries.yml index 8a80c987..dce9a6ab 100644 --- a/.github/workflows/timeseries.yml +++ b/.github/workflows/timeseries.yml @@ -37,7 +37,7 @@ jobs: fail-fast: false matrix: os: [ 'ubuntu-latest' ] - python-version: [ '3.11.8' ] + python-version: [ '3.11' ] cratedb-version: [ 'nightly' ] services: