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:
21
21
strategy :
22
22
matrix :
23
23
python-version : ['3.11', '3.12', '3.13']
24
- numpy-version : ['1.25 ', '2.2']
24
+ numpy-version : ['1.26 ', '2.2']
25
25
dependency-set : ["minimal", "optional"]
26
26
os : ["ubuntu-latest"]
27
27
include :
28
28
- python-version : ' 3.11'
29
- numpy-version : ' 1.25 '
29
+ numpy-version : ' 1.26 '
30
30
dependency-set : ' optional'
31
31
os : ' macos-latest'
32
32
- python-version : ' 3.13'
33
33
numpy-version : ' 2.2'
34
34
dependency-set : ' optional'
35
35
os : ' macos-latest'
36
36
- python-version : ' 3.11'
37
- numpy-version : ' 1.25 '
37
+ numpy-version : ' 1.26 '
38
38
dependency-set : ' optional'
39
39
os : ' windows-latest'
40
40
- 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:
8
8
9
9
- `Python <https://docs.python.org/3/ >`_ (3.11 or later)
10
10
- `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)
12
12
- `numcodecs[crc32c] <https://numcodecs.readthedocs.io >`_ (0.14 or later)
13
13
- `typing_extensions <https://typing-extensions.readthedocs.io >`_ (4.9 or later)
14
14
- `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"
33
33
# If you add a new dependency here, please also add it to .pre-commit-config.yml
34
34
dependencies = [
35
35
' packaging>=22.0' ,
36
- ' numpy>=1.25 ' ,
36
+ ' numpy>=1.26 ' ,
37
37
' numcodecs[crc32c]>=0.14' ,
38
38
' typing_extensions>=4.9' ,
39
39
' donfig>=0.8' ,
@@ -154,7 +154,7 @@ features = ["test"]
154
154
155
155
[[tool .hatch .envs .test .matrix ]]
156
156
python = [" 3.11" , " 3.12" , " 3.13" ]
157
- numpy = [" 1.25 " , " 2.2" ]
157
+ numpy = [" 1.26 " , " 2.2" ]
158
158
deps = [" minimal" , " optional" ]
159
159
160
160
[tool .hatch .envs .test .overrides ]
@@ -190,7 +190,7 @@ features = ["test", "gpu"]
190
190
191
191
[[tool .hatch .envs .gputest .matrix ]]
192
192
python = [" 3.11" , " 3.12" , " 3.13" ]
193
- numpy = [" 1.25 " , " 2.2" ]
193
+ numpy = [" 1.26 " , " 2.2" ]
194
194
version = [" minimal" ]
195
195
196
196
[tool .hatch .envs .gputest .scripts ]
@@ -246,7 +246,7 @@ python = "3.11"
246
246
dependencies = [
247
247
' zarr[remote]' ,
248
248
' packaging==22.*' ,
249
- ' numpy==1.25 .*' ,
249
+ ' numpy==1.26 .*' ,
250
250
' numcodecs==0.14.*' , # 0.14 needed for zarr3 codecs
251
251
' fsspec==2023.10.0' ,
252
252
' s3fs==2023.10.0' ,
Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ def orthogonal_indices(
405
405
newshape [axis ] = idxr .size
406
406
npindexer .append (idxr .reshape (newshape ))
407
407
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
409
409
return tuple (zindexer ), tuple (np .broadcast_arrays (* npindexer ))
410
410
411
411
You can’t perform that action at this time.
0 commit comments