Skip to content

Commit 71d01ae

Browse files
committed
array tests: handle different hexdigests from zlib-ng (zarr-developers#1678)
As explained in the issue, zlib-ng produces different hex digests from original zlib. This adjusts the tests slightly to allow for this. Signed-off-by: Adam Williamson <[email protected]>
1 parent ed94877 commit 71d01ae

File tree

2 files changed

+280
-185
lines changed

2 files changed

+280
-185
lines changed

.github/workflows/python-package.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ jobs:
1717
matrix:
1818
python-version: ['3.11', '3.12', '3.13']
1919
numpy_version: ['>=2.1', '==1.24.*']
20+
condadeps: ['pip nodejs']
2021
exclude:
2122
- python-version: '3.12'
2223
numpy_version: '==1.24.*'
2324
- python-version: '3.13'
2425
numpy_version: '==1.24.*'
26+
include:
27+
- python-version: '3.13'
28+
numpy_version: '>=2.1'
29+
# to test alternate hexdigests with zlib-ng
30+
condadeps: ['pip nodejs zlib-ng']
2531
services:
2632
redis:
2733
image: redis
@@ -52,7 +58,7 @@ jobs:
5258
- name: Create Conda environment with the rights deps
5359
shell: "bash -l {0}"
5460
run: |
55-
conda create -n zarr-env python==${{matrix.python-version}} pip nodejs
61+
conda create -n zarr-env python==${{matrix.python-version}} ${{matrix.condadeps}}
5662
conda activate zarr-env
5763
npm install -g azurite
5864
- name: Install dependencies

0 commit comments

Comments
 (0)