diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6d6ced44..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.8', '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 38e514e5b..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.8', '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 cb5f20c2b..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.8', '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/setup.py b/setup.py index 050a1012b..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'], @@ -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' ] @@ -43,7 +43,8 @@ def readme(): python_requires='>=3.8', # lower bounds based on Debian Stable versions where available install_requires=[ - 'numpy>=1.16.2, <2.0.0', + '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', 'spacy[lookups]>=2.0.0, <4.0.0',