Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ jobs:
fail-fast: false
matrix:
include:
- {os: windows-latest, python: "3.11", dask-version: "2025.12.0", name: "Dask 2025.12.0"}
- {os: windows-latest, python: "3.13", dask-version: "latest", name: "Dask latest"}
- {os: ubuntu-latest, python: "3.11", dask-version: "latest", name: "Dask latest"}
- {os: ubuntu-latest, python: "3.13", dask-version: "latest", name: "Dask latest"}
- {os: macos-latest, python: "3.11", dask-version: "latest", name: "Dask latest"}
- {os: macos-latest, python: "3.13", prerelease: "allow", name: "Python 3.13 (pre-release)"}
- {os: windows-latest, python: "3.11", dask-version: "2025.12.0", name: "min dask"}
- {os: windows-latest, python: "3.13", dask-version: "latest"}
- {os: windows-latest, python: "3.14", dask-version: "latest"}
- {os: ubuntu-latest, python: "3.11", dask-version: "latest"}
- {os: ubuntu-latest, python: "3.13", dask-version: "latest"}
- {os: ubuntu-latest, python: "3.14", dask-version: "latest"}
- {os: macos-latest, python: "3.11", dask-version: "latest"}
- {os: macos-latest, python: "3.13", prerelease: "allow", name: "prerelease"}
- {os: macos-latest, python: "3.14", prerelease: "allow", name: "prerelease"}
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python }}
Expand Down
2 changes: 1 addition & 1 deletion src/spatialdata/_io/io_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _read_points(
store: str | Path,
) -> DaskDataFrame:
"""Read points from a zarr store."""
f = zarr.open(store, mode="r")
f = zarr.open(Path(store), mode="r") # Path avoids zarr v3 URL-parsing special chars (e.g. #) in names

version = _parse_version(f, expect_attrs_key=True)
assert version is not None
Expand Down
2 changes: 1 addition & 1 deletion src/spatialdata/_io/io_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _read_shapes(
store: str | Path,
) -> GeoDataFrame:
"""Read shapes from a zarr store."""
f = zarr.open(store, mode="r")
f = zarr.open(Path(store), mode="r") # Path avoids zarr v3 URL-parsing special chars (e.g. #) in names
version = _parse_version(f, expect_attrs_key=True)
assert version is not None
shape_format = ShapesFormats[version]
Expand Down
2 changes: 1 addition & 1 deletion src/spatialdata/_io/io_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
def _read_table(store: str | Path) -> AnnData:
table = read_anndata_zarr(str(store))

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