File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 72
72
73
73
- name : Install zarr-python
74
74
shell : " bash -l {0}"
75
+ # Since zarr v3 requires numpy >= 1.25, on Python 3.11 leave it out
76
+ # so we can have some tests of our minimum version of numpy (1.24)
77
+ if : matrix.python-version != '3.11'
75
78
run : |
76
79
conda activate env
77
80
# TODO: remove --pre option when zarr v3 is out
Original file line number Diff line number Diff line change 3
3
import numpy as np
4
4
import pytest
5
5
6
- import numcodecs .zarr3
7
-
8
6
zarr = pytest .importorskip ("zarr" )
9
7
8
+ import numcodecs .zarr3 # noqa: E402
9
+
10
10
pytestmark = [
11
11
pytest .mark .skipif (zarr .__version__ < "3.0.0" , reason = "zarr 3.0.0 or later is required" ),
12
12
pytest .mark .filterwarnings ("ignore:Codec 'numcodecs.*' not configured in config.*:UserWarning" ),
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ A Python package providing buffer compression and transformation codecs \
15
15
for use in data storage and communication applications."""
16
16
readme = " README.rst"
17
17
dependencies = [
18
- " numpy>=1.23 " ,
18
+ " numpy>=1.24 " ,
19
19
]
20
20
requires-python = " >=3.11"
21
21
dynamic = [
You can’t perform that action at this time.
0 commit comments