Repository navigation
refactor: centralize built-in codec registration - #4515
Open
victorwon2001 wants to merge 1 commit into
Open
victorwon2001 wants to merge 1 commit into
victorwon2001 wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4515 +/- ##
=======================================
Coverage 94.71% 94.71%
=======================================
Files 94 94
Lines 13663 13671 +8
=======================================
+ Hits 12941 12949 +8
Misses 722 722
🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zarr.codecs.__init__into an explicit, one-timezarr.registrybootstrap after the package's API modules load.endianalias,numcodecs.*qualified names, public codec exports, configuration-based selection, and lazy third-party entry points.For reviewers
The registration timing remains at normal package import, but the codec implementation package no longer directly registers its own classes. Please check the late bootstrap boundary and existing third-party integration semantics; no public API changes are intended.
Author attestation
TODO
docs/user-guide/*.mdchanges/Focused registry/config and metadata/codec suites pass, along with Ruff lint and formatting checks. The full repository suite was started but interrupted during resource-intensive execution and has not been verified to completion.
Fixes #3339