Skip to content

Support nippy >= 3.7 - #483

Merged
cnuernber merged 1 commit into
masterfrom
nippy-3.7-compat
Sep 4, 2026
Merged

cnuernber merged 1 commit into
masterfrom
nippy-3.7-compat

Conversation

@harold

@harold harold commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #482.

nippy 3.7.0 removed the private -freeze-without-meta!. Swaps both call sites for the public freeze-to-out!, per Peter's guidance.

Same [^DataOutput dout x] signature in 3.6 and 3.9, so no dep bump. Metadata is written only (when-let [m (not-empty (meta x))], and dataset->data/column->data build literal maps with none — old and new code on 3.6 produce byte-identical output.

Verified on 3.6.0 and 3.9.0-RC1: stocks-v5.nippy/example-genres.nippy fixtures, gzip roundtrip, put-nippy!/get-nippy, column freeze/thaw. New code on 3.9 thaws a file written by old code on 3.6.

Needs cnuernber/dtype-next#146 released first — tech.v3.datatype.nippy has the same breakage and is required by this ns, so it fails to compile before this file is reached.

Fixes #482.

nippy 3.7.0 removed the private -freeze-without-meta!. Use the public
freeze-to-out! instead, which exists in both old and new nippy and emits
identical bytes here since neither dataset->data nor column->data carries
metadata.

Needs the matching dtype-next fix to tech.v3.datatype.nippy to take effect.
@cnuernber
cnuernber merged commit 94299c2 into master Sep 4, 2026
4 checks passed
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.

support nippy > 3.6

2 participants