Skip to content

Commit

Permalink
chore: bump minimum numpy version to 1.24 (#2127)
Browse files Browse the repository at this point in the history
* chore: bump minimum version to 1.24

* Update .github/workflows/python-package.yml
  • Loading branch information
jhamman authored Aug 27, 2024
1 parent 9e0b5e8 commit cc2cdee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
numpy_version: ['>=1.24.0', '==1.23.*']
numpy_version: ['>=2.1', '==1.24.*']
exclude:
- python-version: '3.11'
numpy_version: '==1.23.*'
- python-version: '3.12'
numpy_version: '==1.23.*'
numpy_version: '==1.24.*'
services:
redis:
image: redis
Expand Down Expand Up @@ -61,7 +59,7 @@ jobs:
conda activate zarr-env
python -m pip install --upgrade pip
python -m pip install -U pip setuptools wheel line_profiler
python -m pip install -rrequirements_dev_minimal.txt numpy${{matrix.numpy_version}} -rrequirements_dev_optional.txt pymongo redis
python -m pip install -r requirements_dev_minimal.txt numpy${{matrix.numpy_version}} -r requirements_dev_optional.txt pymongo redis
python -m pip install -e .
python -m pip freeze
- name: Tests
Expand Down
5 changes: 4 additions & 1 deletion docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ Maintenance
* Fix a regression when using orthogonal indexing with a scalar.
By :user:`Deepak Cherian <dcherian>` :issue:`1931`

* Added compatibility with numpy 2.1.
* Added compatibility with NumPy 2.1.
By :user:`David Stansby <dstansby>`

* Bump minimum NumPy version to 1.24.
:user:`Joe Hamman <jhamman>` (:issue:`2127`).

Deprecations
~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ maintainers = [
requires-python = ">=3.10"
dependencies = [
'asciitree',
'numpy>=1.23',
'numpy>=1.24',
'fasteners; sys_platform != "emscripten"',
'numcodecs>=0.10.0',
]
Expand Down

0 comments on commit cc2cdee

Please sign in to comment.