From fb8628474984122bb60501aa69d363d44fdc50f1 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 18 Nov 2024 15:19:13 +0000 Subject: [PATCH 1/6] Bumped numpy to 2.x --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 050a1012b..4e0f8ea7b 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ def readme(): python_requires='>=3.8', # lower bounds based on Debian Stable versions where available install_requires=[ - 'numpy>=1.16.2, <2.0.0', + 'numpy>=2.0.0, <2.1.4', 'pandas>=1.0.0, <3.0.0', 'scikit-learn>=1.0.0, <2.0.0', 'spacy[lookups]>=2.0.0, <4.0.0', From 6f1b1467283a02225509ae845339cab702503de4 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 18 Nov 2024 15:45:43 +0000 Subject: [PATCH 2/6] Bumped numba to 0.60.x --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4e0f8ea7b..1efdd0561 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def readme(): 'all': [ 'ray>=0.8.7, <3.0.0', 'shap>=0.40.0, <0.44.0', - 'numba>=0.50.0, !=0.54.0, <0.60.0', + 'numba>=0.50.0, !=0.54.0, <0.61.0', 'tensorflow>=2.0.0, !=2.6.0, !=2.6.1, <2.15.0', 'torch>=1.9.0, <3.0.0' ] From 26cf9ee8d18eb67015e2ba64d79500c828271723 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 18 Nov 2024 15:50:37 +0000 Subject: [PATCH 3/6] Removed python3.8 from the ci --- .github/workflows/ci.yml | 2 +- .github/workflows/test_all_notebooks.yml | 2 +- .github/workflows/test_changed_notebooks.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6d6ced44..25c55b474 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: [ '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11'] include: # Run windows tests on only one python version - os: windows-latest python-version: '3.11' diff --git a/.github/workflows/test_all_notebooks.yml b/.github/workflows/test_all_notebooks.yml index 38e514e5b..d501769d2 100644 --- a/.github/workflows/test_all_notebooks.yml +++ b/.github/workflows/test_all_notebooks.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false # Continue to run other builds despite a failure matrix: os: [ubuntu-latest] - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: ['3.9', '3.10', '3.11' ] include: # Run windows tests on only one python version - os: windows-latest python-version: '3.11' diff --git a/.github/workflows/test_changed_notebooks.yml b/.github/workflows/test_changed_notebooks.yml index cb5f20c2b..15fa2bca8 100644 --- a/.github/workflows/test_changed_notebooks.yml +++ b/.github/workflows/test_changed_notebooks.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: ['3.9', '3.10', '3.11' ] include: # Run windows tests on only one python version - os: windows-latest python-version: '3.11' From e850c34d1e60b6d581a893c026e9884a081fed6f Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 18 Nov 2024 15:56:36 +0000 Subject: [PATCH 4/6] Removed python 3.11 from workflow --- .github/workflows/ci.yml | 4 ++-- .github/workflows/test_all_notebooks.yml | 4 ++-- .github/workflows/test_changed_notebooks.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25c55b474..4a71a0ebd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,10 +35,10 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10'] include: # Run windows tests on only one python version - os: windows-latest - python-version: '3.11' + python-version: '3.10' steps: - name: Checkout code diff --git a/.github/workflows/test_all_notebooks.yml b/.github/workflows/test_all_notebooks.yml index d501769d2..ef8c2067b 100644 --- a/.github/workflows/test_all_notebooks.yml +++ b/.github/workflows/test_all_notebooks.yml @@ -20,10 +20,10 @@ jobs: fail-fast: false # Continue to run other builds despite a failure matrix: os: [ubuntu-latest] - python-version: ['3.9', '3.10', '3.11' ] + python-version: ['3.9', '3.10'] include: # Run windows tests on only one python version - os: windows-latest - python-version: '3.11' + python-version: '3.10' steps: - name: Checkout code diff --git a/.github/workflows/test_changed_notebooks.yml b/.github/workflows/test_changed_notebooks.yml index 15fa2bca8..5af6e503d 100644 --- a/.github/workflows/test_changed_notebooks.yml +++ b/.github/workflows/test_changed_notebooks.yml @@ -27,10 +27,10 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ['3.9', '3.10', '3.11' ] + python-version: ['3.9', '3.10' ] include: # Run windows tests on only one python version - os: windows-latest - python-version: '3.11' + python-version: '3.10' steps: - name: Checkout code From f791330173a42a7158f5f5d1ffcde6dd446bf681 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 18 Nov 2024 16:00:50 +0000 Subject: [PATCH 5/6] Included wheel in deps --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 1efdd0561..3032b166e 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,7 @@ def readme(): python_requires='>=3.8', # lower bounds based on Debian Stable versions where available install_requires=[ + 'wheel<0.46.0', 'numpy>=2.0.0, <2.1.4', 'pandas>=1.0.0, <3.0.0', 'scikit-learn>=1.0.0, <2.0.0', From 24ed2f47daeb70568d168bd8a53941d400466dc5 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 18 Nov 2024 16:04:58 +0000 Subject: [PATCH 6/6] Bumped numba to 0.60.x --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3032b166e..1c11a68e1 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ def readme(): # shap is separated due to build issues, see https://github.com/slundberg/shap/pull/1802 'shap': [ 'shap>=0.40.0, <0.44.0', # versioning: https://github.com/SeldonIO/alibi/issues/333 - 'numba>=0.50.0, !=0.54.0, <0.60.0', # Avoid 0.54 due to: https://github.com/SeldonIO/alibi/issues/466 + 'numba>=0.50.0, !=0.54.0, <0.61.0', # Avoid 0.54 due to: https://github.com/SeldonIO/alibi/issues/466 ], 'tensorflow': ['tensorflow>=2.0.0, !=2.6.0, !=2.6.1, <2.15.0'],