Skip to content

Commit

Permalink
Merge pull request #238 from NCAS-CMS/fix_tests
Browse files Browse the repository at this point in the history
Pin `zarr<3`
  • Loading branch information
valeriupredoi authored Feb 11, 2025
2 parents 12d9579 + 08242ba commit 646e7fb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test_s3_minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ jobs:
run: tests/s3_exploratory/minio_scripts/minio-stop
if: always()
- name: Upload HTML report artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: html-report
path: test-reports/
overwrite: true
if: always()
3 changes: 2 additions & 1 deletion .github/workflows/test_s3_remote_reductionist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ jobs:
run: |
pytest tests/test_compression_remote_reductionist.py
- name: Upload HTML report artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: html-report
path: test-reports/
overwrite: true
if: always()
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:
- s3fs >=2024.2.0 # loose s3fs deps leading to old aiobotocore for <2024.2.0
# pin Zarr to avoid using old KVStore interface
# see github.com/zarr-developers/zarr-python/issues/1362
- zarr >=2.13.6 # KVStore to FSStore
- zarr >=2.13.6,<3 # KVStore to FSStore, zarr=3 massive refactoring
# Python packages for testing
- moto # mock S3 tests
- pytest
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
'requests',
's3fs>=2024.2.0', # see environment.yml for pin reason
# pin Zarr to use new FSStore instead of KVStore
'zarr>=2.13.3', # github.com/zarr-developers/zarr-python/issues/1362
# also pin to avoid massive refactoring with zarr>=3
'zarr>=2.13.3,<3', # gh/zarr-developers/zarr-python/issues/1362
# for testing
'moto', # mock S3 tests
'pytest',
Expand Down

0 comments on commit 646e7fb

Please sign in to comment.