Update numcodecs tests and docs for zarr-python 3.0 by normanrz · Pull Request #675 · zarr-developers/numcodecs · GitHub
Skip to content

Update numcodecs tests and docs for zarr-python 3.0#675

Merged
dstansby merged 5 commits into
mainfrom
zarr3-updates
Jan 4, 2025
Merged

Update numcodecs tests and docs for zarr-python 3.0#675
dstansby merged 5 commits into
mainfrom
zarr3-updates

Conversation

@normanrz

@normanrz normanrz commented Jan 4, 2025

Copy link
Copy Markdown
Member
  • Updates docs with new terms (e.g. compressors, filters, serializer)
  • Overrides _Numcodecs.__repr__ because I was getting bulky names in zarr-python tests (e.g. _make_array_array_codec.<locals>._Codec(codec_name='numcodecs.delta', codec_config={'id': 'delta'})) although the code is setting __name__. Advice appreciated.
  • Change tests to use zarr.create_array and zarr.open_array

TODO:

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

@normanrz normanrz requested a review from dstansby January 4, 2025 11:35
@normanrz normanrz self-assigned this Jan 4, 2025
@codecov

codecov Bot commented Jan 4, 2025

Copy link
Copy Markdown

@normanrz normanrz changed the title Update numcodecs tests and docs for zarr-python 3rc1 Update numcodecs tests and docs for zarr-python 3.0 Jan 4, 2025
@dstansby

dstansby commented Jan 4, 2025

Copy link
Copy Markdown
Contributor

Is this something it would be good to release before zarr-python 3.0? If so I can try and wrap up some other PRs, and do a 0.15 release.

@normanrz

normanrz commented Jan 4, 2025

Copy link
Copy Markdown
Member Author

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.

2 participants