From 6b6010c9efd3d66aff6f521ec628d5559f9e0ed8 Mon Sep 17 00:00:00 2001 From: harold Date: Fri, 4 Sep 2026 10:23:36 -0600 Subject: [PATCH] Support nippy >= 3.7 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. --- src/tech/v3/dataset/io/nippy.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tech/v3/dataset/io/nippy.clj b/src/tech/v3/dataset/io/nippy.clj index 7c0b84a1..81ca5ca4 100644 --- a/src/tech/v3/dataset/io/nippy.clj +++ b/src/tech/v3/dataset/io/nippy.clj @@ -13,7 +13,7 @@ (nippy/extend-freeze Dataset :tech.ml/dataset [ds out] - (nippy/-freeze-without-meta! (ds-base/dataset->data ds) out)) + (nippy/freeze-to-out! out (ds-base/dataset->data ds))) (nippy/extend-thaw @@ -26,7 +26,7 @@ (nippy/extend-freeze Column :tech.ml.dataset/column [col out] - (nippy/-freeze-without-meta! (ds-base/column->data col) out)) + (nippy/freeze-to-out! out (ds-base/column->data col))) (nippy/extend-thaw