Skip to content

Commit 2765eda

Browse files
committed
Force versions and log everything
1 parent 72f684e commit 2765eda

File tree

5 files changed

+25
-17
lines changed

5 files changed

+25
-17
lines changed

ci/environment-py310.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ dependencies:
1919
- requests
2020
- aiohttp
2121
- pytest-cov
22-
- fsspec
22+
- fsspec>=2024.10.0
2323
- dask
2424
- scipy
25-
- s3fs
26-
- gcsfs
25+
- s3fs>=2024.10.0
26+
- gcsfs>=2024.10.0
2727
- python-blosc
2828
- flake8
2929
- black

ci/environment-py311.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ dependencies:
1919
- requests
2020
- aiohttp
2121
- pytest-cov
22-
- fsspec
22+
- fsspec>=2024.10.0
2323
- dask
2424
- scipy
25-
- s3fs
26-
- gcsfs
25+
- s3fs>=2024.10.0
26+
- gcsfs>=2024.10.0
2727
- python-blosc
2828
- flake8
2929
- fastparquet

ci/environment-py312.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ dependencies:
1919
- requests
2020
- aiohttp
2121
- pytest-cov
22-
- fsspec
23-
- gcsfs
22+
- fsspec>=2024.10.0
23+
- gcsfs>=2024.10.0
2424
- dask
2525
- scipy
26-
- s3fs
26+
- s3fs>=2024.10.0
2727
- python-blosc
2828
- flake8
2929
- fastparquet

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers = [
2020

2121

2222
dependencies = [
23-
"fsspec",
23+
"fsspec>=2024.10.0",
2424
"numcodecs",
2525
"numpy",
2626
"ujson",
@@ -42,8 +42,8 @@ dev = [
4242
"jinja2",
4343
"mypy",
4444
"pytest",
45-
"s3fs",
46-
"gcsfs",
45+
"s3fs>=2024.10.0",
46+
"gcsfs>=2024.10.0",
4747
"types-ujson",
4848
"xarray>=2024.10.0",
4949
"cfgrib",

tests/test__grib_idx.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
import typing
4848
import io
4949

50+
import sys
51+
import gcsfs
52+
import cfgrib
53+
import eccodes
54+
5055
logger = logging.getLogger(__name__)
5156

5257
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
@@ -401,11 +406,6 @@ def test_kerchunk_indexing(self):
401406
),
402407
)
403408

404-
@unittest.skip("TODO")
405-
def test_extract_dataset_chunk_index(self):
406-
# TODO add test for chunk indexing a single dataset not from a grib file or tree
407-
pass
408-
409409
def test_index_extraction(self):
410410
for sample_prefix in ["hrrr.wrfsubhf", "hrrr.wrfsfcf", "gfs.pgrb2.0p25"]:
411411
with self.subTest(sample_prefix):
@@ -672,6 +672,14 @@ def _reinflate_grib_store(
672672
self.assertListEqual(key_set, expected_keys)
673673

674674
def test_reinflate_grib_store(self):
675+
logger.warning(f"python: {sys.version}")
676+
logger.warning(f"numpy: {np.__version__}")
677+
logger.warning(f"pandas: {pd.__version__}")
678+
logger.warning(f"xarray: {xr.__version__}")
679+
logger.warning(f"eccodes: {eccodes.__version__}")
680+
logger.warning(f"cfgrib: {cfgrib.__version__}")
681+
logger.warning(f"Sys Path: {sys.path}")
682+
675683
for dataset in self._reinflate_grib_store_dataset():
676684
for aggregation, axes in self._reinflate_grib_store_aggregation():
677685
with self.subTest(dataset=dataset, aggregation=aggregation):

0 commit comments

Comments
 (0)