Skip to content

Commit a0c16c3

Browse files
committed
Merge branch 'main' into concat_default_kwargs
2 parents dac337c + 4a41386 commit a0c16c3

File tree

6 files changed

+8
-10
lines changed

6 files changed

+8
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![CI](https://github.com/pydata/xarray/workflows/CI/badge.svg?branch=main)](https://github.com/pydata/xarray/actions?query=workflow%3ACI)
44
[![Code coverage](https://codecov.io/gh/pydata/xarray/branch/main/graph/badge.svg?flag=unittests)](https://codecov.io/gh/pydata/xarray)
55
[![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/)
77
[![Formatted with black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
88
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
99
[![Available on pypi](https://img.shields.io/pypi/v/xarray.svg)](https://pypi.python.org/pypi/xarray/)

ci/requirements/environment-3.14.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies:
2929
- opt_einsum
3030
- packaging
3131
- pandas
32-
- pandas-stubs
32+
- pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
3333
# - pint>=0.22
3434
- pip
3535
- pooch

ci/requirements/environment-windows-3.14.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
- numpy
2626
- packaging
2727
- pandas
28-
- pandas-stubs
28+
- pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
2929
# - pint>=0.22
3030
- pip
3131
- pre-commit

ci/requirements/environment-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
- numpy
2626
- packaging
2727
- pandas
28-
- pandas-stubs
28+
- pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
2929
# - pint>=0.22
3030
- pip
3131
- pre-commit

ci/requirements/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies:
2929
- opt_einsum
3030
- packaging
3131
- pandas
32-
- pandas-stubs
32+
- pandas-stubs<=2.2.3.241126 # https://github.com/pydata/xarray/issues/10110
3333
# - pint>=0.22
3434
- pip
3535
- pooch

xarray/tests/test_backends.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,12 +2628,10 @@ def test_hidden_zarr_keys(self) -> None:
26282628
for var in expected.variables.keys():
26292629
assert self.DIMENSION_KEY not in expected[var].attrs
26302630

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-
26352631
# 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)
26372635

26382636
with pytest.raises(KeyError):
26392637
with xr.decode_cf(store):

0 commit comments

Comments
 (0)