Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ jobs:
strategy:
matrix:
python-version: ['3.11', '3.12', '3.13']
numpy-version: ['1.25', '2.2']
numpy-version: ['1.26', '2.2']
dependency-set: ["minimal", "optional"]
os: ["ubuntu-latest"]
include:
- python-version: '3.11'
numpy-version: '1.25'
numpy-version: '1.26'
dependency-set: 'optional'
os: 'macos-latest'
- python-version: '3.13'
numpy-version: '2.2'
dependency-set: 'optional'
os: 'macos-latest'
- python-version: '3.11'
numpy-version: '1.25'
numpy-version: '1.26'
dependency-set: 'optional'
os: 'windows-latest'
- python-version: '3.13'
Expand Down
1 change: 1 addition & 0 deletions changes/xxxx.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The minimum version of NumPy has increased to 1.26.
2 changes: 1 addition & 1 deletion docs/user-guide/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Required dependencies include:

- `Python <https://docs.python.org/3/>`_ (3.11 or later)
- `packaging <https://packaging.pypa.io>`_ (22.0 or later)
- `numpy <https://numpy.org>`_ (1.25 or later)
- `numpy <https://numpy.org>`_ (1.26 or later)
- `numcodecs[crc32c] <https://numcodecs.readthedocs.io>`_ (0.14 or later)
- `typing_extensions <https://typing-extensions.readthedocs.io>`_ (4.9 or later)
- `donfig <https://donfig.readthedocs.io>`_ (0.8 or later)
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ requires-python = ">=3.11"
# If you add a new dependency here, please also add it to .pre-commit-config.yml
dependencies = [
'packaging>=22.0',
'numpy>=1.25',
'numpy>=1.26',
'numcodecs[crc32c]>=0.14',
'typing_extensions>=4.9',
'donfig>=0.8',
Expand Down Expand Up @@ -154,7 +154,7 @@ features = ["test"]

[[tool.hatch.envs.test.matrix]]
python = ["3.11", "3.12", "3.13"]
numpy = ["1.25", "2.2"]
numpy = ["1.26", "2.2"]
deps = ["minimal", "optional"]

[tool.hatch.envs.test.overrides]
Expand Down Expand Up @@ -190,7 +190,7 @@ features = ["test", "gpu"]

[[tool.hatch.envs.gputest.matrix]]
python = ["3.11", "3.12", "3.13"]
numpy = ["1.25", "2.2"]
numpy = ["1.26", "2.2"]
version = ["minimal"]

[tool.hatch.envs.gputest.scripts]
Expand Down Expand Up @@ -246,7 +246,7 @@ python = "3.11"
dependencies = [
'zarr[remote]',
'packaging==22.*',
'numpy==1.25.*',
'numpy==1.26.*',
'numcodecs==0.14.*', # 0.14 needed for zarr3 codecs
'fsspec==2023.10.0',
's3fs==2023.10.0',
Expand Down
3 changes: 1 addition & 2 deletions src/zarr/testing/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,7 @@ def orthogonal_indices(
newshape[axis] = idxr.size
npindexer.append(idxr.reshape(newshape))

# casting the output of broadcast_arrays is needed for numpy 1.25
return tuple(zindexer), tuple(np.broadcast_arrays(*npindexer))
return tuple(zindexer), np.broadcast_arrays(*npindexer)


def key_ranges(
Expand Down
Loading