Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add numcodecs entry point #21

Merged
merged 13 commits into from
Apr 5, 2025
Merged

Add numcodecs entry point #21

merged 13 commits into from
Apr 5, 2025

Conversation

juntyr
Copy link
Owner

@juntyr juntyr commented Apr 3, 2025

This PR adds the numcodecs.codecs entry points to the numcodecs_wasm_* Python packages. As part of that, all codec's codec IDs are updates in breaking releases to be unique and no longer clash with some numcodecs builtin codecs.

Additionally, this PR also adds encoded format versions to the codec configs (and where possible also encoded headers) to ensure that only compatible versions of the codec try to decode encoded data. Notably, these format versions are independent of the Rust crate / Python package versions, which are updated more frequently. Array-to-array codecs generally start with v1.0.0, since there is little that can be changed about the format, while array-to-bytes codecs start with v0.1.0.

@juntyr juntyr marked this pull request as ready for review April 5, 2025 05:05
@juntyr juntyr merged commit e098a6f into main Apr 5, 2025
24 checks passed
@juntyr juntyr deleted the entry-points branch April 5, 2025 06:36
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.

1 participant