File tree Expand file tree Collapse file tree 2 files changed +23
-21
lines changed Expand file tree Collapse file tree 2 files changed +23
-21
lines changed Original file line number Diff line number Diff line change 5050 - name : Run tests
5151 run : |
5252 pytest -n auto
53- # TODO(jakevdp): remove this job after NumPy 2.0 release
54- build-numpy-2-pre :
55- name : Python 3.12 with numpy 2.0 pre-release
56- runs-on : ubuntu-latest
57- steps :
58- - uses : actions/checkout@v3
59- with :
60- submodules : true
61- - name : Set up Python 3.12
62- uses : actions/setup-python@v4
63- with :
64- python-version : 3.12
65- - name : Install dependencies
66- run : |
67- python -m pip install --upgrade pip
68- pip install .[dev]
69- pip install -U --pre numpy
70- - name : Run tests
71- run : |
72- pytest -n auto
7353 build-nightly :
7454 name : Python 3.12 with nightly numpy
7555 runs-on : ubuntu-latest
9474 - name : Run tests
9575 run : |
9676 pytest -n auto
77+ build-oldest-numpy :
78+ name : Python 3.9 with oldest supported numpy
79+ runs-on : ubuntu-latest
80+ steps :
81+ - uses : actions/checkout@v3
82+ with :
83+ submodules : true
84+ - name : Set up Python 3.9
85+ uses : actions/setup-python@v5
86+ with :
87+ python-version : " 3.9"
88+ - name : Install dependencies
89+ run : |
90+ python -m pip install --upgrade pip
91+ python -m pip install --upgrade setuptools wheel
92+ - name : Build ml_dtypes
93+ run : |
94+ python -m pip install .[dev]
95+ python -m pip install numpy==1.21.0 # keep in sync with oldest numpy version in pyproject.toml
96+ - name : Run tests
97+ run : |
98+ pytest -n auto
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ keywords = []
1717# pip dependencies of the project
1818dependencies = [
1919 # Ensure numpy release supports Python version.
20- " numpy>1.20 " ,
20+ " numpy>=1.21 " ,
2121 " numpy>=1.21.2; python_version>='3.10'" ,
2222 " numpy>=1.23.3; python_version>='3.11'" ,
2323 " numpy>=1.26.0; python_version>='3.12'" ,
You can’t perform that action at this time.
0 commit comments