Cleanup `PCodec` soft dependency by jakirkham · Pull Request #647 · zarr-developers/numcodecs · GitHub
Skip to content

Cleanup PCodec soft dependency#647

Merged
dstansby merged 10 commits into
zarr-developers:mainfrom
jakirkham:fix_pcodec_soft
Jan 17, 2025
Merged

Cleanup PCodec soft dependency#647
dstansby merged 10 commits into
zarr-developers:mainfrom
jakirkham:fix_pcodec_soft

Conversation

@jakirkham

Copy link
Copy Markdown
Member

As with other soft dependencies in Numcodecs, the pattern is to attempt to import them and if their dependencies cannot be resolved skip them. Have applied this pattern to PCodec to be consistent with the other optional codec dependencies.

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)

@codecov

codecov Bot commented Nov 18, 2024

Copy link
Copy Markdown

@jakirkham jakirkham requested a review from dstansby November 18, 2024 20:55
@jakirkham

Copy link
Copy Markdown
Member Author

@dstansby could you please review this one?

@dstansby dstansby 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.

LGTM 👍 - do you want to add a changelog if this changes behaviour for users?

@jakirkham jakirkham changed the title Cleanup PCodec soft dependency handling Cleanup PCodec soft dependency Dec 5, 2024
@jakirkham

Copy link
Copy Markdown
Member Author

Resolved conflicts and added a changelog entry

Comment thread docs/release.rst
@dstansby

Copy link
Copy Markdown
Contributor

@dstansby dstansby merged commit 32545ec into zarr-developers:main Jan 17, 2025
@jakirkham jakirkham deleted the fix_pcodec_soft branch January 17, 2025 22:43
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