Skip to content

Commit 8abf84e

Browse files
committed
Bump cog3pio from 0.1.0b1 to 0.1.0b2
Bumps [cog3pio](https://github.com/weiji14/cog3pio) from 0.1.0b1 to 0.1.0b2. - [Release notes](https://github.com/weiji14/cog3pio/releases) - [Changelog](https://github.com/weiji14/cog3pio/blob/main/docs/changelog.md) - [Commits](weiji14/cog3pio@v0.1.0b1...v0.1.0b2) Changed to using `engine="cog3pio"` directly now that there are no duplicate Cog3pioBackendEntrypoints. Also fixed some import statements.
1 parent 940bedf commit 8abf84e

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build:
88
jobs:
99
post_install:
1010
- export CONDA_PREFIX="$CONDA_ENVS_PATH/$CONDA_DEFAULT_ENV";
11-
mamba run --prefix "$CONDA_PREFIX" pip install --verbose --pre --extra-index-url https://test.pypi.org/simple/ cog3pio==0.1.0b1
11+
mamba run --prefix "$CONDA_PREFIX" pip install --verbose --pre --extra-index-url https://test.pypi.org/simple/ cog3pio==0.1.0b2
1212
- pip list
1313

1414
# Build documentation in the docs/ directory with Sphinx

cupy_xarray/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from . import _version
2-
from .accessors import CupyDataArrayAccessor, CupyDatasetAccessor # noqa: F401
3-
from .cog3pio import Cog3pioBackendEntrypoint # noqa: F401
2+
from .accessors import CupyDataArrayAccessor, CupyDatasetAccessor # noqa
43

54
__version__ = _version.get_versions()["version"]

cupy_xarray/tests/test_cog3pio.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
import pytest
77
import xarray as xr
88

9-
from cupy_xarray.cog3pio import Cog3pioBackendEntrypoint
10-
119
cog3pio = pytest.importorskip("cog3pio")
1210

11+
from cupy_xarray.cog3pio import Cog3pioBackendEntrypoint # noqa: E402, F401
12+
1313

1414
# %%
1515
def test_entrypoint():
@@ -23,7 +23,7 @@ def test_xarray_backend_open_dataarray():
2323
"""
2424
with xr.open_dataarray(
2525
filename_or_obj="https://github.com/developmentseed/titiler/raw/1.2.0/src/titiler/mosaic/tests/fixtures/TCI.tif",
26-
engine=Cog3pioBackendEntrypoint,
26+
engine="cog3pio",
2727
device_id=0,
2828
) as da:
2929
assert isinstance(da.data, cp.ndarray)
@@ -46,7 +46,7 @@ def test_xarray_backend_open_mfdataset():
4646
"https://github.com/developmentseed/titiler/raw/1.2.0/src/titiler/mosaic/tests/fixtures/B01.tif",
4747
"https://github.com/developmentseed/titiler/raw/1.2.0/src/titiler/mosaic/tests/fixtures/B09.tif",
4848
],
49-
engine=Cog3pioBackendEntrypoint,
49+
engine="cog3pio",
5050
concat_dim="band",
5151
combine="nested",
5252
device_id=None,

0 commit comments

Comments
 (0)