guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 605e06c72828db4703120ee12d0527d02a0d16d7
Author: Cayetano Santos <[email protected]>
AuthorDate: Sun Sep 7 22:54:54 2025 +0200
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 <[email protected]>
---
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 9c962e2ffe..9346d2386a 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