emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#69073: closed ([PATCH] gnu: Add python-gymnasium.)


From: GNU bug Tracking System
Subject: bug#69073: closed ([PATCH] gnu: Add python-gymnasium.)
Date: Fri, 16 Feb 2024 07:04:02 +0000

Your message dated Fri, 16 Feb 2024 08:01:58 +0100
with message-id <87wmr4q4bi.fsf@elephly.net>
and subject line [PATCH] gnu: Add python-gymnasium.
has caused the debbugs.gnu.org bug report #69073,
regarding [PATCH] gnu: Add python-gymnasium.
to be marked as done.

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


-- 
69073: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69073
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-gymnasium. Date: Mon, 12 Feb 2024 15:10:07 +0100
* gnu/packages/machine-learning.scm (python-gymnasium): New variable.

Change-Id: I22564c63b24ae98896f2e7b7da679463bd6b8496
---
 gnu/packages/machine-learning.scm | 53 +++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 7653608fd9..e052ff9054 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -5365,3 +5365,56 @@ (define-public oneapi-dnnl
      "OneAPI Deep Neural Network Library (oneDNN) is a cross-platform
 performance library of basic building blocks for deep learning applications.")
     (license license:asl2.0)))
+
+
+(define-public python-gymnasium
+  (package
+    (name "python-gymnasium")
+    (version "0.29.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "gymnasium" version))
+       (sha256
+        (base32 "1cab4wsnlsxn2z90qmymv8ppmsq8yq2amiqwid3r0xfbxx92flqs"))))
+
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (replace 'check
+                     (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+                       (when tests?
+                         (add-installed-pythonpath inputs outputs)
+                         (invoke "touch" "tests/__init__.py")
+                         (invoke "pytest")))))))
+
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-cloudpickle python-farama-notifications
+                             python-importlib-metadata python-numpy
+                             python-typing-extensions))
+    (native-inputs (list python-pytest python-scipy))
+    (home-page "https://gymnasium.farama.org/";)
+    (synopsis
+     "Standard API for reinforcement learning and a set of reference 
environments")
+    (description
+     "This package provides a standard API for reinforcement learning and a 
diverse
+set of reference environments (formerly Gym).")
+    (license license:expat)))
+
+
+(define-public python-farama-notifications
+  (package
+    (name "python-farama-notifications")
+    (version "0.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Farama-Notifications" version))
+       (sha256
+        (base32 "067xbra8xicgk7p6wcv5s73k6dxz5r36d0iwf20cy523s7rfzz0k"))))
+    (build-system pyproject-build-system)
+    (home-page "https://github.com/Farama-Foundation/Farama-Notifications";)
+    (synopsis "Notifications for all Farama Foundation maintained libraries")
+    (description
+     "Notifications for all Farama Foundation maintained libraries.")
+    (license license:expat)))

base-commit: 5d2302a1959d09e6d5a5f02ac199458095847a82
-- 
2.41.0






--- End Message ---
--- Begin Message --- Subject: [PATCH] gnu: Add python-gymnasium. Date: Fri, 16 Feb 2024 08:01:58 +0100 User-agent: mu4e 1.10.8; emacs 29.1
Thank you for your patch!  I split it into two commits, updated the
description, and made other minor changes.

Pushed to the master branch with commit
c83d67b8099c77a9c9afcf4b6960bf27e225cd66.

Thanks!

-- 
Ricardo


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]