From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8GvpHvcmymW4RAAA62LTzQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 15:11:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8GvpHvcmymW4RAAA62LTzQ (envelope-from ) for ; Mon, 12 Feb 2024 15:11:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707747063; a=rsa-sha256; cv=none; b=kZ0kieD3TEGre4On9hJP/N3XnYMf/U2vWFegZ5mdXDZiQVE/cqweR3CwJpdOC0SwYrMybb 8nya8kObTElNwDflNV+QlPrGSK98DM1giEj98WmaviMvcldJxjlJXtcdZghGSruuMcFtD/ 4EzxBbl3bHb06oFrUMO+ZQN8PeG7i68bbrhT7rZcSw0H/Rv1LF+tKDYuQ+uSwHHtddiVMi /dr1PgBeZpDmQlBWCo4KPh9/Tul8kWMENtnCH+yfJiHOx0UHOvNTxTS2K3qhYe39E/BFmm NYxgMO/xmWFIF6qGV6Kacg6Eoi3U8n0vtvEbo0hqM3L6CbC/6T3W7rbObxZWIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707747063; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=YMaWSWWbZ4qw2Vkr67IdHh1B9FrgamrGdMuXjoGkH5U=; b=lgtbAwAxvSvYd3Dz9D9zDXTRp0P4h1dkiKuGLaHoW3dEE1yADtmnrVcZM/qnp0fsW891RH ZIsJYZq9TDBBJutMMrtmDKhohIDkviGZU8ufILmwpj11rJsdxxyfbDyPC6ZJfsJKNllFH/ i0/PrJoOueH9IGTfl8bppnLLLJG8bZAbhsGVsReh4YK0jGogLj4sPb27vhL67ST1pYAxWX ZxsCM6zXPFzlLgMbBGuhH/ybNT8eKF9WIG9zmi/dUHbdkJV3a3HE5rrrHBmwmIAAu3vm22 pY0ub8adblsyPdV9Iu6o7nN+y8abSOjL+a/IG1gnq0Zk1Zcb3XxNn3EF7G8h6w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3A92A69AED for ; Mon, 12 Feb 2024 15:11:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZX1C-0001VG-K4; Mon, 12 Feb 2024 09:10:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZX1B-0001V3-HH for guix-patches@gnu.org; Mon, 12 Feb 2024 09:10:45 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZX1B-0002PT-7R for guix-patches@gnu.org; Mon, 12 Feb 2024 09:10:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZX1R-0008QZ-Oo for guix-patches@gnu.org; Mon, 12 Feb 2024 09:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69073] [PATCH] gnu: Add python-gymnasium. Resent-From: Timothee Mathieu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Feb 2024 14:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69073 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69073@debbugs.gnu.org Cc: Timothee Mathieu X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170774705432363 (code B ref -1); Mon, 12 Feb 2024 14:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2024 14:10:54 +0000 Received: from localhost ([127.0.0.1]:59008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZX1H-0008Po-VY for submit@debbugs.gnu.org; Mon, 12 Feb 2024 09:10:54 -0500 Received: from lists.gnu.org ([2001:470:142::17]:40978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZX1E-0008P6-Uu for submit@debbugs.gnu.org; Mon, 12 Feb 2024 09:10:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZX0r-0001U5-IR for guix-patches@gnu.org; Mon, 12 Feb 2024 09:10:25 -0500 Received: from msg-4.mailo.com ([213.182.54.15] helo=mailo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZX0n-0002Nf-8a for guix-patches@gnu.org; Mon, 12 Feb 2024 09:10:25 -0500 Received: by b221-3.in.mailobj.net [192.168.90.23] with ESMTP via ip-20.mailobj.net [213.182.54.20] Mon, 12 Feb 2024 15:10:13 +0100 (CET) X-EA-Auth: syrh4qDnGJ2MBY+3O4icvYKNSNrHr3GY1zT9/98xpzuHCh2tU2WOu3lhuDIQn952QqQ3wQIYjNTf+E/42Humr0fTp+kjfC0B2ooTNlgG2jXrN65hhfLHww== From: Timothee Mathieu Date: Mon, 12 Feb 2024 15:10:07 +0100 Message-ID: <2187e1c4674f989b876d4de0bfbf805fdd4ae81b.1707747007.git.timothee.mathieu@inria.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: softfail client-ip=213.182.54.15; envelope-from=timothee.mathieu@inria.fr; helo=mailo.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, FORGED_SPF_HELO=1, KHOP_HELO_FCRDNS=0.256, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -5.08 X-Migadu-Queue-Id: 3A92A69AED X-Migadu-Spam-Score: -5.08 X-TUID: tdX1Yb42OGeM * 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