From 605e06c72828db4703120ee12d0527d02a0d16d7 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Sun, 7 Sep 2025 22:54:54 +0200 Subject: [PATCH] gnu: python-sentencepiece: Switch to pyproject. * gnu/packages/machine-learning.scm (python-sentencepiece)[build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest and python-setuptools-next. Change-Id: Ib675129d61eb960f45b0f34e30fa1ecd768f9cab Signed-off-by: Sharlatan Hellseher --- gnu/packages/machine-learning.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 9c962e2ffe89bb77cc890e3ba7446f25cdb5db55..9346d2386a8a9470648b16421bc69b5ca8b62de8 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1457,7 +1457,7 @@ storing tensors safely.") (package (inherit sentencepiece) (name "python-sentencepiece") - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:phases @@ -1465,7 +1465,8 @@ storing tensors safely.") (add-after 'unpack 'chdir (lambda _ (chdir "python")))))) - (native-inputs (list pkg-config protobuf)) + (native-inputs + (list pkg-config protobuf python-pytest python-setuptools-next)) (propagated-inputs (list sentencepiece)) (synopsis "SentencePiece python wrapper") (description "This package provides a Python wrapper for the SentencePiece