File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed
Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,20 @@ jobs:
2121 strategy :
2222 matrix :
2323 python-version : ['3.11', '3.12', '3.13']
24- numpy-version : ['1.25 ', '2.2']
24+ numpy-version : ['1.26 ', '2.2']
2525 dependency-set : ["minimal", "optional"]
2626 os : ["ubuntu-latest"]
2727 include :
2828 - python-version : ' 3.11'
29- numpy-version : ' 1.25 '
29+ numpy-version : ' 1.26 '
3030 dependency-set : ' optional'
3131 os : ' macos-latest'
3232 - python-version : ' 3.13'
3333 numpy-version : ' 2.2'
3434 dependency-set : ' optional'
3535 os : ' macos-latest'
3636 - python-version : ' 3.11'
37- numpy-version : ' 1.25 '
37+ numpy-version : ' 1.26 '
3838 dependency-set : ' optional'
3939 os : ' windows-latest'
4040 - python-version : ' 3.13'
Original file line number Diff line number Diff line change 1+ The minimum version of NumPy has increased to 1.26.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Required dependencies include:
88
99- `Python <https://docs.python.org/3/ >`_ (3.11 or later)
1010- `packaging <https://packaging.pypa.io >`_ (22.0 or later)
11- - `numpy <https://numpy.org >`_ (1.25 or later)
11+ - `numpy <https://numpy.org >`_ (1.26 or later)
1212- `numcodecs[crc32c] <https://numcodecs.readthedocs.io >`_ (0.14 or later)
1313- `typing_extensions <https://typing-extensions.readthedocs.io >`_ (4.9 or later)
1414- `donfig <https://donfig.readthedocs.io >`_ (0.8 or later)
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ requires-python = ">=3.11"
3333# If you add a new dependency here, please also add it to .pre-commit-config.yml
3434dependencies = [
3535 ' packaging>=22.0' ,
36- ' numpy>=1.25 ' ,
36+ ' numpy>=1.26 ' ,
3737 ' numcodecs[crc32c]>=0.14' ,
3838 ' typing_extensions>=4.9' ,
3939 ' donfig>=0.8' ,
@@ -154,7 +154,7 @@ features = ["test"]
154154
155155[[tool .hatch .envs .test .matrix ]]
156156python = [" 3.11" , " 3.12" , " 3.13" ]
157- numpy = [" 1.25 " , " 2.2" ]
157+ numpy = [" 1.26 " , " 2.2" ]
158158deps = [" minimal" , " optional" ]
159159
160160[tool .hatch .envs .test .overrides ]
@@ -190,7 +190,7 @@ features = ["test", "gpu"]
190190
191191[[tool .hatch .envs .gputest .matrix ]]
192192python = [" 3.11" , " 3.12" , " 3.13" ]
193- numpy = [" 1.25 " , " 2.2" ]
193+ numpy = [" 1.26 " , " 2.2" ]
194194version = [" minimal" ]
195195
196196[tool .hatch .envs .gputest .scripts ]
@@ -246,7 +246,7 @@ python = "3.11"
246246dependencies = [
247247 ' zarr[remote]' ,
248248 ' packaging==22.*' ,
249- ' numpy==1.25 .*' ,
249+ ' numpy==1.26 .*' ,
250250 ' numcodecs==0.14.*' , # 0.14 needed for zarr3 codecs
251251 ' fsspec==2023.10.0' ,
252252 ' s3fs==2023.10.0' ,
Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ def orthogonal_indices(
405405 newshape [axis ] = idxr .size
406406 npindexer .append (idxr .reshape (newshape ))
407407
408- # casting the output of broadcast_arrays is needed for numpy 1.25
408+ # casting the output of broadcast_arrays is needed for numpy < 2
409409 return tuple (zindexer ), tuple (np .broadcast_arrays (* npindexer ))
410410
411411
You can’t perform that action at this time.
0 commit comments