From patchwork Sat Feb 19 21:29:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "vasilii.smirnov--- via Guix-patches\" via" X-Patchwork-Id: 37360 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D165827BBEA; Sat, 19 Feb 2022 21:30:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 94A2227BBE9 for ; Sat, 19 Feb 2022 21:30:15 +0000 (GMT) Received: from localhost ([::1]:39958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLXJ0-00051i-OR for patchwork@mira.cbaines.net; Sat, 19 Feb 2022 16:30:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLXIp-00051a-9x for guix-patches@gnu.org; Sat, 19 Feb 2022 16:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36709) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLXIo-0004L8-UT for guix-patches@gnu.org; Sat, 19 Feb 2022 16:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLXIo-0000wd-S3 for guix-patches@gnu.org; Sat, 19 Feb 2022 16:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54067] [PATCH] gnu: Add python-gym. Resent-From: kiasoc5@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Feb 2022 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54067@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.16453061823576 (code B ref -1); Sat, 19 Feb 2022 21:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2022 21:29:42 +0000 Received: from localhost ([127.0.0.1]:58839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLXIU-0000vc-Ii for submit@debbugs.gnu.org; Sat, 19 Feb 2022 16:29:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:47096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLXIT-0000vU-6Z for submit@debbugs.gnu.org; Sat, 19 Feb 2022 16:29:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLXIS-0004vI-1S for guix-patches@gnu.org; Sat, 19 Feb 2022 16:29:41 -0500 Received: from w1.tutanota.de ([81.3.6.162]:33254) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLXIP-0004HW-3O for guix-patches@gnu.org; Sat, 19 Feb 2022 16:29:39 -0500 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 908F8FBF517 for ; Sat, 19 Feb 2022 21:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1645306173; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=WWhl2orUD6er4P51m4V3KTWZagk+a7deWnHyDdPOpkY=; b=Dbh4qndYZLcr2RQEXUaGMWuDVST5JBmvm9VIDqwroSgzPFSatAOnJOJrdZCnPoha GHxVGHMDOH5xatv+Nv24sxKhbV/dgYpYr2zFPV+l8LpzJgR/LWwdQWTardLfiV5WLmP YGjryjk51PllT9a6xJBSVMxmdUPRi9Naq9Evz5NOMf/K7RhT9hiUoqyDwjHhEAwFVOX u8u/xW9soH2Q5sCe6NyX2yi39SJIuhIKHkdLdRucgo31CPywsQ4okVkp4UPl2Capmkh nAcgHC12Vi6XY1T9cPuDjxqxXDgcAdVF8Vq7A+e0OsfaGwWuRZ1xuWjVRjnR0xJ6Ooq crg86fN60w== Date: Sat, 19 Feb 2022 22:29:33 +0100 (CET) Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=81.3.6.162; envelope-from=kiasoc5@tutanota.com; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: kiasoc5@tutanota.com X-ACL-Warn: , kiasoc5--- via Guix-patches X-Patchwork-Original-From: kiasoc5--- via Guix-patches via From: "vasilii.smirnov--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches Importing this module in python fails because python-importlib-metadata is too old. At least it builds successfully when sanity check is disabled. From 2fd8ce0ccab54cc94269f6d03be755d5e145027f Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Sat, 19 Feb 2022 16:25:01 -0500 Subject: [PATCH] gnu: Add python-gym. * gnu/packages/python-science.scm (python-gym): New variable. --- gnu/packages/python-science.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index d9af3352b9..baf621870d 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1074,3 +1074,28 @@ (define-public python-modin libraries, Modin provides seamless integration and compatibility with existing pandas code.") (license license:asl2.0))) + +(define-public python-gym + (package + (name "python-gym") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "gym" version)) + (sha256 + (base32 "138lk1irl9qr7yg6kng9z6aicbqfphcij4bqqf3q2xaik744949k")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'check) ; tests require nonfree library + (delete 'sanity-check)))) ; requires python-importlib-metadata>4.10 + (propagated-inputs + (list python-cloudpickle python-numpy python-importlib-metadata)) + (home-page "https://github.com/openai/gym") + (synopsis "Gym: A universal API for reinforcement learning environments.") + (description + "Gym: A universal API for reinforcement learning environments.") + (license license:expat))) + base-commit: f8aa8899e265a46fd3dff6c717ec484057ba2b68 -- 2.35.1