Skip to content

Commit 5940fe2

Browse files
emfdavidDavid Stuebe
andauthored
Add tests for grib idx & reinflate (#528)
Co-authored-by: David Stuebe <david@camus.energy>
1 parent 013798e commit 5940fe2

102 files changed

Lines changed: 5484 additions & 15 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ci/environment-docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ dependencies:
1616
- requests
1717
- aiohttp
1818
- pytest-cov
19-
- fsspec
19+
- pytest-subtests
20+
- fsspec<=2024.12.0
2021
- dask
2122
- scipy
2223
- s3fs

ci/environment-py310.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ dependencies:
1919
- requests
2020
- aiohttp
2121
- pytest-cov
22-
- fsspec
22+
- pytest-subtests
23+
- fsspec<=2024.12.0
2324
- dask
2425
- scipy
2526
- s3fs
27+
- gcsfs
2628
- python-blosc
2729
- flake8
2830
- black
@@ -31,6 +33,6 @@ dependencies:
3133
- pyopenssl
3234
- tifffile
3335
- netCDF4
34-
- pip:
35-
- git+https://github.com/fsspec/filesystem_spec
36-
- ipfsspec
36+
# - pip:
37+
# - git+https://github.com/fsspec/filesystem_spec
38+
# - ipfsspec

ci/environment-py311.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ dependencies:
1919
- requests
2020
- aiohttp
2121
- pytest-cov
22-
- fsspec
22+
- pytest-subtests
23+
- fsspec<=2024.12.0
2324
- dask
2425
- scipy
2526
- s3fs
27+
- gcsfs
2628
- python-blosc
2729
- flake8
2830
- fastparquet
@@ -32,5 +34,5 @@ dependencies:
3234
- tifffile
3335
- rioxarray
3436
- netCDF4
35-
- pip:
36-
- git+https://github.com/fsspec/filesystem_spec
37+
# - pip:
38+
# - git+https://github.com/fsspec/filesystem_spec

ci/environment-py312.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ dependencies:
1919
- requests
2020
- aiohttp
2121
- pytest-cov
22-
- fsspec
22+
- pytest-subtests
23+
- fsspec<=2024.12.0
24+
- gcsfs
2325
- dask
2426
- scipy
2527
- s3fs
@@ -32,5 +34,5 @@ dependencies:
3234
- tifffile
3335
- rioxarray
3436
- netCDF4
35-
- pip:
36-
- git+https://github.com/fsspec/filesystem_spec
37+
# - pip:
38+
# - git+https://github.com/fsspec/filesystem_spec

kerchunk/_grib_idx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6969
""" # noqa: E501
7070

71-
7271
import ujson
7372
import itertools
7473
import os

pyproject.toml

Lines changed: 5 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.12.0",
2424
"numcodecs",
2525
"numpy",
2626
"ujson",
@@ -36,18 +36,20 @@ netcdf3 = ["scipy"]
3636
dev = [
3737
"cftime",
3838
"dask",
39-
"fastparquet",
39+
"fastparquet>=2024.11.0",
4040
"h5netcdf",
4141
"h5py",
4242
"jinja2",
4343
"mypy",
4444
"pytest",
4545
"s3fs",
46+
"gcsfs",
4647
"types-ujson",
4748
"xarray>=2024.10.0",
4849
"cfgrib",
4950
"scipy",
50-
"netcdf4"
51+
"netcdf4",
52+
"pytest-subtests",
5153
]
5254

5355
[project.urls]

0 commit comments

Comments
 (0)