guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 46c10b5d30a4fc87653bf8edd80e14a8f72415b1
Author: Vinicius Monego <[email protected]>
AuthorDate: Tue Dec 23 23:53:36 2025 -0300
gnu: python-cma: Update to 4.4.1.
* gnu/packages/machine-learning.scm (python-cma): Update to 4.4.1.
[arguments]: Add '#:test-backend', '#:test-flags'.
<#:phases>: Do not override the 'check' phase.
Change-Id: I277fe650c6906323ca0dee820355faee72a4ab40
---
gnu/packages/machine-learning.scm | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 929820e14a..29c9a572c8 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2543,20 +2543,17 @@ data by providing clean labels during training.")
(define-public python-cma
(package
(name "python-cma")
- (version "4.2.0")
+ (version "4.4.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "cma" version))
(sha256
(base32
- "17wv4r80av3cpr3dqad7jf7bwnjahk4bgagqlkqxjp8zfmg60s0q"))))
+ "1n17shbcmy7h7k105ar9yhj2zmgykx1wv9fhwd5kbwrcypa221mz"))))
(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")))))))
+ (list #:test-backend #~'custom
+ #:test-flags #~'("cma/test.py")))
(native-inputs (list python-pytest python-setuptools))
(propagated-inputs (list python-numpy))
(home-page "https://github.com/CMA-ES/pycma")