Skip to content

fix(storage): remove VerboseModule to make zarr.storage picklable (gh-4029)#4030

Open
NIK-TIGER-BILL wants to merge 1 commit into
zarr-developers:mainfrom
NIK-TIGER-BILL:fix/remove-verbosemodule-gh4029
Open

fix(storage): remove VerboseModule to make zarr.storage picklable (gh-4029)#4030
NIK-TIGER-BILL wants to merge 1 commit into
zarr-developers:mainfrom
NIK-TIGER-BILL:fix/remove-verbosemodule-gh4029

Conversation

@NIK-TIGER-BILL
Copy link
Copy Markdown
Contributor

Description of PR

Fixes #4029.

The VerboseModule subclass prevented zarr.storage from being pickled by cloudpickle (and therefore by Dask). The only purpose of the subclass was to emit a deprecation warning when setting zarr.storage.default_compressor, which has been deprecated for a long time.

TODO:

  • Add unit tests and/or doctests in docstrings
  • Add docstrings and API docs for any new/modified user-facing classes and functions
  • New/modified features documented in docs/user-guide/*.md
  • Changes documented as a new file in changes/
  • GitHub Actions have all passed
  • Test coverage is 100% (Codecov passes)

The VerboseModule subclass prevented  from being
serialized by cloudpickle (and therefore Dask). The only purpose of
the subclass was to emit a deprecation warning when setting
, which has been deprecated for a
long time.

Closes zarr-developers#4029

Signed-off-by: NIK-TIGER-BILL <nik.tiger.bill@github.com>
@github-actions github-actions Bot added the needs release notes Automatically applied to PRs which haven't added release notes label Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VerboseModule cannot be pickled

1 participant