Skip to content

Commit cc2cdee

Browse files
authored
chore: bump minimum numpy version to 1.24 (#2127)
* chore: bump minimum version to 1.24 * Update .github/workflows/python-package.yml
1 parent 9e0b5e8 commit cc2cdee

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ jobs:
1616
strategy:
1717
matrix:
1818
python-version: ['3.10', '3.11', '3.12']
19-
numpy_version: ['>=1.24.0', '==1.23.*']
19+
numpy_version: ['>=2.1', '==1.24.*']
2020
exclude:
21-
- python-version: '3.11'
22-
numpy_version: '==1.23.*'
2321
- python-version: '3.12'
24-
numpy_version: '==1.23.*'
22+
numpy_version: '==1.24.*'
2523
services:
2624
redis:
2725
image: redis
@@ -61,7 +59,7 @@ jobs:
6159
conda activate zarr-env
6260
python -m pip install --upgrade pip
6361
python -m pip install -U pip setuptools wheel line_profiler
64-
python -m pip install -rrequirements_dev_minimal.txt numpy${{matrix.numpy_version}} -rrequirements_dev_optional.txt pymongo redis
62+
python -m pip install -r requirements_dev_minimal.txt numpy${{matrix.numpy_version}} -r requirements_dev_optional.txt pymongo redis
6563
python -m pip install -e .
6664
python -m pip freeze
6765
- name: Tests

docs/release.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,12 @@ Maintenance
3939
* Fix a regression when using orthogonal indexing with a scalar.
4040
By :user:`Deepak Cherian <dcherian>` :issue:`1931`
4141

42-
* Added compatibility with numpy 2.1.
42+
* Added compatibility with NumPy 2.1.
4343
By :user:`David Stansby <dstansby>`
4444

45+
* Bump minimum NumPy version to 1.24.
46+
:user:`Joe Hamman <jhamman>` (:issue:`2127`).
47+
4548
Deprecations
4649
~~~~~~~~~~~~
4750

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ maintainers = [
1313
requires-python = ">=3.10"
1414
dependencies = [
1515
'asciitree',
16-
'numpy>=1.23',
16+
'numpy>=1.24',
1717
'fasteners; sys_platform != "emscripten"',
1818
'numcodecs>=0.10.0',
1919
]

0 commit comments

Comments
 (0)