Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumped numpy to 2.x #1024

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_all_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_changed_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ 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'],
'torch': ['torch>=1.9.0, <3.0.0'],
'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'
]
Expand All @@ -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',
Expand Down
Loading