Skip to content

Conversation

@tlambert03
Copy link
Contributor

@tlambert03 tlambert03 commented Sep 13, 2025

bare minimum required to make zarr dependency optional .

Not necessarily saying this is the best/cleanest way to do this, but it at least marks all the places where imports were made just for the sake of type hinting.

(closes #161)

testing this without zarr (i.e. running pip uninstall zarr && pytest and having it work) depends on https://github.com/tlambert03/pydantic-zarr/tree/drop-zarr (zarr-developers/pydantic-zarr#112)

@d-v-b
Copy link
Contributor

d-v-b commented Sep 13, 2025

looks compelling to me! curious to hear what others think about this direction

@tlambert03
Copy link
Contributor Author

@d-v-b can you approve the workflow so I can see if the tests are working on ci?

@tlambert03
Copy link
Contributor Author

oops sorry... weird version got in there. one more time please? 😬

@tlambert03
Copy link
Contributor Author

k, this is working again, and has pinned itself to the new main on pydantic-zarr, and fixes all the issues that came with zarr-developers/pydantic-zarr#115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Question re: dependency on zarr

3 participants