Skip to content

Commit 646e7fb

Browse files
Merge pull request #238 from NCAS-CMS/fix_tests
Pin `zarr<3`
2 parents 12d9579 + 08242ba commit 646e7fb

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/test_s3_minio.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ jobs:
8080
run: tests/s3_exploratory/minio_scripts/minio-stop
8181
if: always()
8282
- name: Upload HTML report artifact
83-
uses: actions/upload-artifact@v3
83+
uses: actions/upload-artifact@v4
8484
with:
8585
name: html-report
8686
path: test-reports/
87+
overwrite: true
8788
if: always()

.github/workflows/test_s3_remote_reductionist.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ jobs:
6060
run: |
6161
pytest tests/test_compression_remote_reductionist.py
6262
- name: Upload HTML report artifact
63-
uses: actions/upload-artifact@v3
63+
uses: actions/upload-artifact@v4
6464
with:
6565
name: html-report
6666
path: test-reports/
67+
overwrite: true
6768
if: always()

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies:
1919
- s3fs >=2024.2.0 # loose s3fs deps leading to old aiobotocore for <2024.2.0
2020
# pin Zarr to avoid using old KVStore interface
2121
# see github.com/zarr-developers/zarr-python/issues/1362
22-
- zarr >=2.13.6 # KVStore to FSStore
22+
- zarr >=2.13.6,<3 # KVStore to FSStore, zarr=3 massive refactoring
2323
# Python packages for testing
2424
- moto # mock S3 tests
2525
- pytest

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
'requests',
3030
's3fs>=2024.2.0', # see environment.yml for pin reason
3131
# pin Zarr to use new FSStore instead of KVStore
32-
'zarr>=2.13.3', # github.com/zarr-developers/zarr-python/issues/1362
32+
# also pin to avoid massive refactoring with zarr>=3
33+
'zarr>=2.13.3,<3', # gh/zarr-developers/zarr-python/issues/1362
3334
# for testing
3435
'moto', # mock S3 tests
3536
'pytest',

0 commit comments

Comments
 (0)