Skip to content

Commit 91734a7

Browse files
committed
Merge branch 'main' into less-warnings
2 parents da5d363 + 8d7f72f commit 91734a7

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/test.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
include:
22-
- {os: windows-latest, python: "3.11", dask-version: "2025.12.0", name: "Dask 2025.12.0"}
23-
- {os: windows-latest, python: "3.13", dask-version: "latest", name: "Dask latest"}
24-
- {os: ubuntu-latest, python: "3.11", dask-version: "latest", name: "Dask latest"}
25-
- {os: ubuntu-latest, python: "3.13", dask-version: "latest", name: "Dask latest"}
26-
- {os: macos-latest, python: "3.11", dask-version: "latest", name: "Dask latest"}
27-
- {os: macos-latest, python: "3.13", prerelease: "allow", name: "Python 3.13 (pre-release)"}
22+
- {os: windows-latest, python: "3.11", dask-version: "2025.12.0", name: "min dask"}
23+
- {os: windows-latest, python: "3.13", dask-version: "latest"}
24+
- {os: windows-latest, python: "3.14", dask-version: "latest"}
25+
- {os: ubuntu-latest, python: "3.11", dask-version: "latest"}
26+
- {os: ubuntu-latest, python: "3.13", dask-version: "latest"}
27+
- {os: ubuntu-latest, python: "3.14", dask-version: "latest"}
28+
- {os: macos-latest, python: "3.11", dask-version: "latest"}
29+
- {os: macos-latest, python: "3.13", prerelease: "allow", name: "prerelease"}
30+
- {os: macos-latest, python: "3.14", prerelease: "allow", name: "prerelease"}
2831
env:
2932
OS: ${{ matrix.os }}
3033
PYTHON: ${{ matrix.python }}

src/spatialdata/_io/io_points.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def _read_points(
2424
store: str | Path,
2525
) -> DaskDataFrame:
2626
"""Read points from a zarr store."""
27-
f = zarr.open(store, mode="r")
27+
f = zarr.open(Path(store), mode="r") # Path avoids zarr v3 URL-parsing special chars (e.g. #) in names
2828

2929
version = _parse_version(f, expect_attrs_key=True)
3030
assert version is not None

src/spatialdata/_io/io_shapes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _read_shapes(
3434
store: str | Path,
3535
) -> GeoDataFrame:
3636
"""Read shapes from a zarr store."""
37-
f = zarr.open(store, mode="r")
37+
f = zarr.open(Path(store), mode="r") # Path avoids zarr v3 URL-parsing special chars (e.g. #) in names
3838
version = _parse_version(f, expect_attrs_key=True)
3939
assert version is not None
4040
shape_format = ShapesFormats[version]

src/spatialdata/_io/io_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
def _read_table(store: str | Path) -> AnnData:
2323
table = read_anndata_zarr(str(store))
2424

25-
f = zarr.open(store, mode="r")
25+
f = zarr.open(Path(store), mode="r") # Path avoids zarr v3 URL-parsing special chars (e.g. #) in names
2626
version = _parse_version(f, expect_attrs_key=False)
2727
assert version is not None
2828
table_format = TablesFormats[version]

0 commit comments

Comments
 (0)