Skip to content

Commit 12d0f0b

Browse files
author
Bryan Lawrence
committed
Merge branch 'pyfive' of github.com:valeriupredoi/PyActiveStorage into pyfive
2 parents 3bb0b8b + 5bd0fe1 commit 12d0f0b

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/run-tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
use-mamba: true
3636
- run: conda --version
3737
- run: python -V
38-
- name: Install development version of bnlawrence/Pyfive:issue6
38+
- name: Install development version of bnlawrence/Pyfive:issue60
3939
run: |
4040
cd ..
4141
git clone https://github.com/bnlawrence/pyfive.git
4242
cd pyfive
43-
git checkout issue6
43+
git checkout issue60
4444
pip install -e .
4545
- run: pip install -e .
4646
- run: pytest -n 2
@@ -66,12 +66,12 @@ jobs:
6666
use-mamba: true
6767
- run: conda --version
6868
- run: python -V
69-
- name: Install development version of bnlawrence/Pyfive:issue6
69+
- name: Install development version of bnlawrence/Pyfive:issue60
7070
run: |
7171
cd ..
7272
git clone https://github.com/bnlawrence/pyfive.git
7373
cd pyfive
74-
git checkout issue6
74+
git checkout issue60
7575
pip install -e .
7676
- run: pip install -e .
7777
- run: pytest

.github/workflows/test_s3_minio.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ jobs:
5858
miniforge-version: "latest"
5959
miniforge-variant: Mambaforge
6060
use-mamba: true
61-
- name: Install development version of bnlawrence/Pyfive:issue6
61+
- name: Install development version of bnlawrence/Pyfive:issue60
6262
run: |
6363
cd ..
6464
git clone https://github.com/bnlawrence/pyfive.git
6565
cd pyfive
66-
git checkout issue6
66+
git checkout issue60
6767
pip install -e .
6868
- name: Install PyActiveStorage
6969
run: |

.github/workflows/test_s3_remote_reductionist.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ jobs:
5353
miniforge-version: "latest"
5454
miniforge-variant: Mambaforge
5555
use-mamba: true
56-
- name: Install development version of bnlawrence/Pyfive:issue6
56+
- name: Install development version of bnlawrence/Pyfive:issue60
5757
run: |
5858
cd ..
5959
git clone https://github.com/bnlawrence/pyfive.git
6060
cd pyfive
61-
git checkout issue6
61+
git checkout issue60
6262
pip install -e .
6363
- name: Install PyActiveStorage
6464
run: |

tests/test_compression.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ def check_dataset_filters(temp_file: str, ncvar: str, compression: str, shuffle:
1616
# Sanity check that test data is compressed and filtered as expected.
1717
if USE_S3:
1818
with load_from_s3(temp_file) as test_data:
19-
# NOTE: h5netcdf thinks zlib is gzip
20-
assert test_data.variables[ncvar].compression == "gzip"
21-
assert test_data.variables[ncvar].shuffle == shuffle
19+
print("File attrs", test_data.attrs)
20+
assert test_data[ncvar].compression == "gzip"
21+
assert test_data[ncvar].shuffle == shuffle
2222
else:
2323
with Dataset(temp_file) as test_data:
2424
test_data_filters = test_data.variables[ncvar].filters()

0 commit comments

Comments
 (0)