Skip to content

Commit a774df7

Browse files
authored
Merge branch 'main' into zarr3-codecs
2 parents 9f55819 + 6fb781b commit a774df7

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
shell: "bash -l {0}"
8484
run: |
8585
conda activate env
86-
python -m pip install "zfpy>=1" "numpy<2"
86+
python -m pip install -v ".[zfpy]"
8787
8888
- name: List installed packages
8989
shell: "bash -l {0}"

numcodecs/tests/test_compat.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def test_ensure_bytes_invalid_inputs():
6464
ensure_bytes(e)
6565

6666

67+
@pytest.mark.filterwarnings(
68+
"ignore:The 'u' type code is deprecated and will be removed in Python 3.16"
69+
)
6770
def test_ensure_contiguous_ndarray_invalid_inputs():
6871
# object array not allowed
6972
a = np.array(['Xin chào thế giới'], dtype=object)

numcodecs/tests/test_msgpacks.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ def test_backwards_compatibility():
5555
check_backwards_compatibility(codec.codec_id, arrays, [codec])
5656

5757

58+
@pytest.mark.filterwarnings(
59+
"ignore:Creating an ndarray from ragged nested sequences .* is deprecated.*"
60+
)
5861
@pytest.mark.parametrize(
5962
("input_data", "dtype"),
6063
[

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ norecursedirs = [
151151
]
152152
log_cli_level = "INFO"
153153
xfail_strict = true
154+
filterwarnings = [
155+
"error",
156+
]
157+
154158
[tool.cibuildwheel]
155159
environment = { DISABLE_NUMCODECS_AVX2=1 }
156160
[tool.cibuildwheel.macos]

0 commit comments

Comments
 (0)