Skip to content

test_lazy_zarr_array is failing with latest zarr-python v3 #618

Closed
@tomwhite

Description

@tomwhite

From https://github.com/cubed-dev/cubed/actions/runs/11855798688/job/33040762855?pr=617:

    def test_lazy_zarr_array(tmp_path):
        zarr_path = tmp_path / "lazy.zarr"
        arr = lazy_zarr_array(zarr_path, shape=(3, 3), dtype=int, chunks=(2, 2))
    
        assert not zarr_path.exists()
>       with pytest.raises((FileNotFoundError, TypeError, ValueError)):
E       Failed: DID NOT RAISE (<class 'FileNotFoundError'>, <class 'TypeError'>, <class 'ValueError'>)

Running git bisect shows that this change in Zarr is the cause: zarr-developers/zarr-python#2442

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamInvolves changes to an upstream libraryzarr

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions