guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 054c940384dfb16f078330988ec199d8d7517e3e
Author: Vinicius Monego <[email protected]>
AuthorDate: Tue Jun 3 07:32:18 2025 -0300
gnu: python-cma: Update to 4.2.0.
* gnu/packages/machine-learning.scm (python-cma): Update to 4.2.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools-next.
Change-Id: I9e2e913155da981c77f9d68875737056b1b9fd7e
---
gnu/packages/machine-learning.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index a674b4ba02..a9876bad4b 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2477,20 +2477,21 @@ data by providing clean labels during training.")
(define-public python-cma
(package
(name "python-cma")
- (version "4.0.0")
+ (version "4.2.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "cma" version))
(sha256
(base32
- "198kdy2lxslml0g0s1sgc2zq1fsf2dh9s60lwshgrwivk1bcwa7x"))))
- (build-system python-build-system)
+ "17wv4r80av3cpr3dqad7jf7bwnjahk4bgagqlkqxjp8zfmg60s0q"))))
+ (build-system pyproject-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "cma.test")))))))
+ (native-inputs (list python-pytest python-setuptools-next))
(propagated-inputs (list python-numpy))
(home-page "https://github.com/CMA-ES/pycma")
(synopsis "Python implementation of CMA-ES")