File tree Expand file tree Collapse file tree 6 files changed +8
-10
lines changed Expand file tree Collapse file tree 6 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 3
3
[ ![ CI] ( https://github.com/pydata/xarray/workflows/CI/badge.svg?branch=main )] ( https://github.com/pydata/xarray/actions?query=workflow%3ACI )
4
4
[ ![ Code coverage] ( https://codecov.io/gh/pydata/xarray/branch/main/graph/badge.svg?flag=unittests )] ( https://codecov.io/gh/pydata/xarray )
5
5
[ ![ Docs] ( https://readthedocs.org/projects/xray/badge/?version=latest )] ( https://docs.xarray.dev/ )
6
- [ ![ Benchmarked with asv] ( https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat )] ( https://pandas.pydata.org/speed /xarray/ )
6
+ [ ![ Benchmarked with asv] ( https://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat )] ( https://asv-runner.github.io/asv-collection /xarray/ )
7
7
[ ![ Formatted with black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/python/black )
8
8
[ ![ Checked with mypy] ( http://www.mypy-lang.org/static/mypy_badge.svg )] ( http://mypy-lang.org/ )
9
9
[ ![ Available on pypi] ( https://img.shields.io/pypi/v/xarray.svg )] ( https://pypi.python.org/pypi/xarray/ )
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ dependencies:
29
29
- opt_einsum
30
30
- packaging
31
31
- pandas
32
- - pandas-stubs
32
+ - pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
33
33
# - pint>=0.22
34
34
- pip
35
35
- pooch
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ dependencies:
25
25
- numpy
26
26
- packaging
27
27
- pandas
28
- - pandas-stubs
28
+ - pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
29
29
# - pint>=0.22
30
30
- pip
31
31
- pre-commit
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ dependencies:
25
25
- numpy
26
26
- packaging
27
27
- pandas
28
- - pandas-stubs
28
+ - pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
29
29
# - pint>=0.22
30
30
- pip
31
31
- pre-commit
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ dependencies:
29
29
- opt_einsum
30
30
- packaging
31
31
- pandas
32
- - pandas-stubs
32
+ - pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
33
33
# - pint>=0.22
34
34
- pip
35
35
- pooch
Original file line number Diff line number Diff line change @@ -2628,12 +2628,10 @@ def test_hidden_zarr_keys(self) -> None:
2628
2628
for var in expected .variables .keys ():
2629
2629
assert self .DIMENSION_KEY not in expected [var ].attrs
2630
2630
2631
- if has_zarr_v3 :
2632
- # temporary workaround for https://github.com/zarr-developers/zarr-python/issues/2338
2633
- zarr_group .store ._is_open = True
2634
-
2635
2631
# put it back and try removing from a variable
2636
- del zarr_group ["var2" ].attrs [self .DIMENSION_KEY ]
2632
+ attrs = dict (zarr_group ["var2" ].attrs )
2633
+ del attrs [self .DIMENSION_KEY ]
2634
+ zarr_group ["var2" ].attrs .put (attrs )
2637
2635
2638
2636
with pytest .raises (KeyError ):
2639
2637
with xr .decode_cf (store ):
You can’t perform that action at this time.
0 commit comments