Skip to content

Fix dependencies for blosc extension - #860

Merged
d-v-b merged 2 commits into
zarr-developers:mainfrom
QuLogic:blosc-deps
Sep 18, 2026
Merged

d-v-b merged 2 commits into
zarr-developers:mainfrom
QuLogic:blosc-deps

Conversation

@QuLogic

@QuLogic QuLogic commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

The blosc extension only depends on blosc.h, not any of the other libraries' headers. And if we're using internal blosc, then the other libraries are handled by blosc_lib.

Additionally, Zlib is only required if building blosc internally, but also add an option to allow using a system copy of it if desired.

  • Unit tests and/or doctests in docstrings
  • Tests pass locally
  • [n/a] Docstrings and API docs for any new/modified user-facing classes and functions
  • Changes documented in docs/release.rst
  • [n/a] Docs build locally
  • GitHub Actions CI passes
  • Test coverage to 100% (Codecov passes)

The blosc extension only depends on `blosc.h`, not any of the other
libraries' headers. And if we're using internal blosc, then the other
libraries are handled by `blosc_lib`.
Also, don't build vendored Zlib internally if not using vendored blosc,
as it isn't necessary.
@d-v-b
d-v-b requested a review from mkitti September 18, 2026 08:00
@d-v-b

d-v-b commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

thanks, this looks good. I requested review from @mkitti who knows this stuff better than me. if that takes too long I will ask an llm.

@mkitti

mkitti commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

This also looks good to me. I think this is scoped to meson though. Is that the only build method we support?

I would just add a note that this only affects thr meson build path.

@mkitti mkitti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind. The build system was switched to meson.

@d-v-b
d-v-b merged commit 1f83681 into zarr-developers:main Sep 18, 2026
43 checks passed
@QuLogic
QuLogic deleted the blosc-deps branch September 18, 2026 08:59
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.

3 participants