From 6e5cef92163c04b7f60e585dfd3783b5b349f1a2 Mon Sep 17 00:00:00 2001 From: shekhar-rudder Date: Tue, 22 Oct 2024 11:47:53 +0530 Subject: [PATCH 1/5] fix: unable to install mlcorelib in python 3.8 --- src/predictions/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/predictions/setup.py b/src/predictions/setup.py index 8d60fda4..35c71be2 100644 --- a/src/predictions/setup.py +++ b/src/predictions/setup.py @@ -13,7 +13,7 @@ "pandas>=2.0.3,<2.2.0", "pyarrow>=14.0.2", "PyYAML>=6.0.1", - "scikit_learn>=1.4.0,<=1.4.2", + "scikit_learn<=1.4.2", "shap>=0.44.0", "xgboost>=2.0.3", "redshift-connector>=2.0.918", @@ -24,7 +24,7 @@ "google-cloud-bigquery>=3.17.2", "sqlalchemy-bigquery>=1.9.0", "db-dtypes>=1.2.0", - "pycaret==3.3.1", + "pycaret>=3.0.3", "boto3>=1.34.153", "google-auth-oauthlib>=1.0.0", "cryptography>=42.0.2", From e93003d8d1b9dfbf525b84394b7e5be79ef83481 Mon Sep 17 00:00:00 2001 From: shekhar-rudder Date: Tue, 22 Oct 2024 11:48:38 +0530 Subject: [PATCH 2/5] chore: add 3.8 --- .github/workflows/python-version.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-version.yaml b/.github/workflows/python-version.yaml index 1d96779c..92488e75 100644 --- a/.github/workflows/python-version.yaml +++ b/.github/workflows/python-version.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - name: Checkout code From 8dacd49a6e804d3b43885ddd25cc5720202f5b71 Mon Sep 17 00:00:00 2001 From: shekhar-rudder Date: Tue, 22 Oct 2024 11:51:33 +0530 Subject: [PATCH 3/5] update numpy --- src/predictions/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/predictions/setup.py b/src/predictions/setup.py index 35c71be2..20eb1b87 100644 --- a/src/predictions/setup.py +++ b/src/predictions/setup.py @@ -9,7 +9,7 @@ "joblib>=1.3.2", "matplotlib>=3.7.5", "seaborn>=0.13.1", - "numpy>=1.24.4", + "numpy>=1.21", "pandas>=2.0.3,<2.2.0", "pyarrow>=14.0.2", "PyYAML>=6.0.1", From c8ff4249ae5f54d69239f739a0135397dc094a0a Mon Sep 17 00:00:00 2001 From: shekhar-rudder Date: Tue, 22 Oct 2024 11:54:44 +0530 Subject: [PATCH 4/5] add pandas --- src/predictions/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/predictions/setup.py b/src/predictions/setup.py index 20eb1b87..86750921 100644 --- a/src/predictions/setup.py +++ b/src/predictions/setup.py @@ -10,7 +10,7 @@ "matplotlib>=3.7.5", "seaborn>=0.13.1", "numpy>=1.21", - "pandas>=2.0.3,<2.2.0", + "pandas>=1.3.0", "pyarrow>=14.0.2", "PyYAML>=6.0.1", "scikit_learn<=1.4.2", From 81a04c590ee923b75a38a439a7c1950047863280 Mon Sep 17 00:00:00 2001 From: shekhar-rudder Date: Tue, 22 Oct 2024 11:56:55 +0530 Subject: [PATCH 5/5] remove pb --- src/predictions/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/predictions/setup.py b/src/predictions/setup.py index 86750921..27efc183 100644 --- a/src/predictions/setup.py +++ b/src/predictions/setup.py @@ -3,7 +3,7 @@ from version import version install_requires = [ - "profiles_rudderstack>=0.17.0", + #"profiles_rudderstack>=0.17.0", depends on pandas<2.2.0 and >=2.0.3 "cachetools>=5.3.2", "hyperopt>=0.2.7", "joblib>=1.3.2",