GNU bug report logs - #49303
[PATCH] gnu: Add python-cmaes.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Wed, 30 Jun 2021 21:42:01 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49303: closed ([PATCH] gnu: Add python-cmaes.)
Date: Thu, 08 Jul 2021 14:51:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 08 Jul 2021 16:50:30 +0200
with message-id <87lf6gvozt.fsf <at> gnu.org>
and subject line Re: bug#49303: [PATCH] gnu: Add python-cmaes.
has caused the debbugs.gnu.org bug report #49303,
regarding [PATCH] gnu: Add python-cmaes.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
49303: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49303
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH] gnu: Add python-cmaes.
Date: Wed, 30 Jun 2021 21:40:26 +0000
* gnu/packages/machine-learning.scm (python-cmaes): New variable.
---
 gnu/packages/machine-learning.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 837ebbba67..504cabc11d 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1012,6 +1012,31 @@ good at identifying feature interactions that are normally overlooked by
 standard feature selection algorithms.")
     (license license:expat)))
 
+(define-public python-cmaes
+  (package
+    (name "python-cmaes")
+    (version "0.8.2")
+    (source
+     (origin
+       (method git-fetch) ;no tests in PyPI
+       (uri (git-reference
+             (url "https://github.com/CyberAgent/cmaes")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "1jyckaifir528dz6m95nvky8hvqmz5gz6dlp65baahhbca0danzb"))
+       (file-name (git-file-name name version))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-setuptools" ,python-setuptools) ;build fails without this
+       ("python-wheel" ,python-wheel)))
+    (propagated-inputs
+     `(("python-numpy" ,python-numpy)))
+    (home-page "https://github.com/CyberAgent/cmaes")
+    (synopsis "CMA-ES implementation for Python")
+    (description "This package provides provides an implementation of the
+Covariance Matrix Adaptation Evolution Strategy (CMA-ES) for Python.")
+    (license license:expat)))
+
 (define-public python-autograd
   (let* ((commit "442205dfefe407beffb33550846434baa90c4de7")
          (revision "0")
-- 
2.32.0



[Message part 3 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Vinicius Monego <monego <at> posteo.net>
Cc: 49303-done <at> debbugs.gnu.org
Subject: Re: bug#49303: [PATCH] gnu: Add python-cmaes.
Date: Thu, 08 Jul 2021 16:50:30 +0200
Hey,

> * gnu/packages/machine-learning.scm (python-cmaes): New variable.

Pushed as 57a747e15a9071e7e41bb1871a8f2d1938b03889.

Thanks,

Mathieu


This bug report was last modified 3 years and 321 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.