GNU bug report logs - #54067
[PATCH] gnu: Add python-gym.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: kiasoc5@HIDDEN; Keywords: patch; dated Sat, 19 Feb 2022 21:30:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 54067 <at> debbugs.gnu.org:


Received: (at 54067) by debbugs.gnu.org; 20 Feb 2022 19:13:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 20 14:13:09 2022
Received: from localhost ([127.0.0.1]:33778 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLrds-0005D6-O7
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 14:13:09 -0500
Received: from andre.telenet-ops.be ([195.130.132.53]:46998)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nLrdn-0005Cu-PA
 for 54067 <at> debbugs.gnu.org; Sun, 20 Feb 2022 14:13:07 -0500
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by andre.telenet-ops.be with bizsmtp
 id xXD12600G4UW6Th01XD1q9; Sun, 20 Feb 2022 20:13:02 +0100
Message-ID: <2b303c132c84ede022018837a29147e9d2fb7075.camel@HIDDEN>
Subject: Re: [bug#54067] [PATCH] gnu: Add python-gym.
From: Maxime Devos <maximedevos@HIDDEN>
To: kiasoc5@HIDDEN
Date: Sun, 20 Feb 2022 20:12:53 +0100
In-Reply-To: <MwNSU61--3-2@HIDDEN>
References: <MwIsxM4--3-2@HIDDEN>
 <5e78604c1d9d92f57b76d3a97a1a38fa37439e88.camel@HIDDEN>
 <MwNSU61--3-2@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-JpyucVNLPVizQISc3iEd"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1645384382; bh=ogkwOlggd5MHni3FdaWzpdLUUhOM+XCWnrhAYlWQCfE=;
 h=Subject:From:To:Cc:Date:In-Reply-To:References;
 b=IZ6yvpLSnq/Oxb7IkRWfHw4vm0Nu4YNHzKOWM3XDYT9BeJ07MUuVl8kv4u5qI/XyI
 6Ad/nDNRee2bh6bOjsDf91uzmy+7KH4hvHJ/tiO5aJS8H3fLQROuzujHZ5ahB9PFfV
 lSy+BKXrreCWzF4nPThfUyat0ET7LxTKoJJSX56CCtLGs0aL05mlKwNgWaY7h83gEz
 O+8fC+h6fWH8L1xt8Le1IEWMO5MpuE+ypspkFIY7dGaU7+uIoW/+M9ZdvGPOA3i0IA
 aPJKG6lg2OwWgI9DSsVVO4cALNKNfNUTB+MCnClkaxi2+6VgaSa5TnWuhRkT99pXqm
 +pd2Rc3jfVQ0A==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 54067
Cc: 54067 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--=-JpyucVNLPVizQISc3iEd
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

[Please keep 54067 <at> debbugs.gnu.org in CC, such that other people
can comment]

kiasoc5@HIDDEN schreef op zo 20-02-2022 om 19:50 [+0100]:
Of course updating python-importlib-metadata is the natural option,
> I don't intend to submit broken patches. But I'm not sure whether
> updating python-importlib-metadata will be smooth, if I run guix
> refresh -l python-importlib-metadata, it says `Building the following
> 74 packages would ensure 131 dependent packages are rebuilt`. It's a
> lot of packages to comb through.

What I'd usually do for testing is

$ ./pre-inst-env guix build python-astroquery@HIDDEN vorta@HIDDEN komikku@HIDDEN=
6.1 [...]

and verify that the builds succeeded.

If their test suites are good, this should catch most issues.
Python packages are typically relatively cheap to build I think, so this
shouldn't take overly long.

We'll have to update python-importlib-metadata anyway eventually,
and it's not realistic to test each individual dependent manually.

> Is there any policy on testing packages for breakage when upgrading?
> Apologies, I should have asked this earlier.

There's (guix)Submitting patches:

  10. For important changes, check that dependent packages (if
     applicable) are not affected by the change; =E2=80=98guix refresh
     --list-dependent PACKAGE=E2=80=99 will help you do that (*note Invokin=
g
     guix refresh::).

[...]

     All these branches are tracked by our build farm
     (https://ci.guix.gnu.org) and merged into =E2=80=98master=E2=80=99 onc=
e everything
     has been successfully built.  This allows us to fix issues before
     they hit users, and to reduce the window during which pre-built
     binaries are not available.

(so if building the python packages locally takes too long,
perhaps a temporary branch can be set up to let the build farm
take care of building).

Greetings,
Maxime.

--=-JpyucVNLPVizQISc3iEd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhKStRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vq8AQDCyKM9fDj5K/hkwRRy5GsFXPhz
8uwLShKrok6K4dK9fwD/ebtV97Brg9YwT5C8CnCQdjLcsyRjMXC646GYeDh8rw0=
=LoWD
-----END PGP SIGNATURE-----

--=-JpyucVNLPVizQISc3iEd--





Information forwarded to guix-patches@HIDDEN:
bug#54067; Package guix-patches. Full text available.

Message received at 54067 <at> debbugs.gnu.org:


Received: (at 54067) by debbugs.gnu.org; 20 Feb 2022 10:36:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 20 05:36:38 2022
Received: from localhost ([127.0.0.1]:59424 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLja1-0000U6-V2
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 05:36:38 -0500
Received: from albert.telenet-ops.be ([195.130.137.90]:41660)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nLjZz-0000Ts-Uz
 for 54067 <at> debbugs.gnu.org; Sun, 20 Feb 2022 05:36:36 -0500
Received: from [172.20.10.9] ([188.188.224.245])
 by albert.telenet-ops.be with bizsmtp
 id xNcZ2600P5JHtyL06Ncaig; Sun, 20 Feb 2022 11:36:34 +0100
Message-ID: <93bbe0ce19a4c82a61fa8003f59b29541c2f8031.camel@HIDDEN>
Subject: Re: [bug#54067] [PATCH] gnu: Add python-gym.
From: Maxime Devos <maximedevos@HIDDEN>
To: kiasoc5@HIDDEN, 54067 <at> debbugs.gnu.org
Date: Sun, 20 Feb 2022 11:36:33 +0100
In-Reply-To: <MwIsxM4--3-2@HIDDEN>
References: <MwIsxM4--3-2@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-Lq3tvzp/gn8sbhLWsbYy"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1645353394; bh=sRPfeJ3E/WlhVXBgONe+sGmOah3+9X9hJ9M4Wa+mi6s=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=QcloPauC/ma8mtg9vRGyAYEllpWBKGL0Xcl0wKUOmdComcwov44/M04YPhQZzBWPQ
 2PK6xfsjOooH3EEz0XJd/4TKLG3EUCh3iq04+Q4k/uIUNtpXkZzBPqnHUgRD6amgYt
 NCTeQu9pn3b5kJFWH6s1UL963CDlBER6h266cMVKi2je1vBTKfszD5C9FuAFwy7eI0
 pqe4hwRYZ0IcU5aKUz+QrwbY5iohy8eOrMbGTNqeMVtFzcXGNEmQbalE2q6il+70Tl
 puW8ncL/udj5UWt7K5twXe7aAFAUnEviyXwFBC09xGBBDxtcr3DzfWjlyaNkGLfW+c
 htEFxgA0oFvoA==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 54067
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--=-Lq3tvzp/gn8sbhLWsbYy
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

kiasoc5--- via Guix-patches via schreef op za 19-02-2022 om 22:29
[+0100]:
> +=C2=A0=C2=A0=C2=A0=C2=A0 `(#:phases
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-phases %standard-phases
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (delete 'check)=C2=A0=
=C2=A0 ; tests require nonfree library

How about setting the #:tests? argument instead?

  (arguments
    (list
      #:tests? #false ; tests require nonfree library
      #:phases
      #~(modify-phases ...)))

Greetings,
Maxime.

--=-Lq3tvzp/gn8sbhLWsbYy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhIZsRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iqHAQDQ6u9cfJjUtRFLQaUgVUjneBnT
3lGYDis05iURXCJwlQEAz2rLhJMJBz7kTL4SrNtgYulxJKAbGnYRpWHfeMXoSwo=
=lJZN
-----END PGP SIGNATURE-----

--=-Lq3tvzp/gn8sbhLWsbYy--





Information forwarded to guix-patches@HIDDEN:
bug#54067; Package guix-patches. Full text available.

Message received at 54067 <at> debbugs.gnu.org:


Received: (at 54067) by debbugs.gnu.org; 20 Feb 2022 10:35:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 20 05:35:12 2022
Received: from localhost ([127.0.0.1]:59419 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLjYe-0000PL-L8
	for submit <at> debbugs.gnu.org; Sun, 20 Feb 2022 05:35:12 -0500
Received: from laurent.telenet-ops.be ([195.130.137.89]:39738)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nLjYc-0000P7-EL
 for 54067 <at> debbugs.gnu.org; Sun, 20 Feb 2022 05:35:11 -0500
Received: from [172.20.10.9] ([188.188.224.245])
 by laurent.telenet-ops.be with bizsmtp
 id xNb82600H5JHtyL01Nb97A; Sun, 20 Feb 2022 11:35:09 +0100
Message-ID: <5e78604c1d9d92f57b76d3a97a1a38fa37439e88.camel@HIDDEN>
Subject: Re: [bug#54067] [PATCH] gnu: Add python-gym.
From: Maxime Devos <maximedevos@HIDDEN>
To: kiasoc5@HIDDEN, 54067 <at> debbugs.gnu.org
Date: Sun, 20 Feb 2022 11:35:08 +0100
In-Reply-To: <MwIsxM4--3-2@HIDDEN>
References: <MwIsxM4--3-2@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-TANpUxs3RXDianTzUGOI"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1645353309; bh=x+VoVL/ycuYfNh+afVTYPNlyOfNzO5TqnMZixV/paw4=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=fLm6t/moOCltDpVeGBgtLeI94PDYY79S6r8GlB8Jd1rwp1bGHUqsg8TidjUW6pbWg
 AoaGsSABp8r4hVgWv6wndkCmxmVu++3A+/R3uS3bRL5mQdtkGLZ9NinpxJNB29P+JL
 zblZ6gL+hEWOn8vh2DQh9IrcoA9rv6SEasr+bggMTLexHzUKc9WlqO+urF8hbLaCY0
 zlu3Iq0ZoavgL7Z9jUbAwShjKgOXXbl36XbBMzLeR+ffSCfD/tXIiBfxucXFAGCWmf
 TGqTDBX11+TcEFLFgQocGdyIYm1uNafBeh3s3cOzk/O8Xx6et/A92ADghEoMaxwWd7
 xVLchxzE2xXhw==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 54067
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--=-TANpUxs3RXDianTzUGOI
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

kiasoc5--- via Guix-patches via schreef op za 19-02-2022 om 22:29 [+0100]:
Importing this module in python fails because python-importlib-
metadata is too old.
> +         (delete 'sanity-check))))   ; requires python-importlib-metadat=
a>4.10

In that case, could python-importlib-metadata be updated?

Greetings,
Maxime.

--=-TANpUxs3RXDianTzUGOI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYhIZXBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7u2aAP41F93KPJupxydaDqSXrhI8RID6
3sOBHRpWtkIhJvTzBAD+MtBqMaW0OEJzJCXgt5KayUCEgf84cG5PHXAEni5LUQA=
=IMLH
-----END PGP SIGNATURE-----

--=-TANpUxs3RXDianTzUGOI--





Information forwarded to guix-patches@HIDDEN:
bug#54067; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Feb 2022 21:29:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 19 16:29:42 2022
Received: from localhost ([127.0.0.1]:58839 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nLXIU-0000vc-Ii
	for submit <at> 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 <kiasoc5@HIDDEN>) id 1nLXIT-0000vU-6Z
 for submit <at> 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 <kiasoc5@HIDDEN>)
 id 1nLXIS-0004vI-1S
 for guix-patches@HIDDEN; 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 <kiasoc5@HIDDEN>)
 id 1nLXIP-0004HW-3O
 for guix-patches@HIDDEN; 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 <guix-patches@HIDDEN>; 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)
From: kiasoc5@HIDDEN
To: Guix Patches <guix-patches@HIDDEN>
Message-ID: <MwIsxM4--3-2@HIDDEN>
Subject: [PATCH] gnu: Add python-gym.
MIME-Version: 1.0
Content-Type: multipart/mixed; 
 boundary="----=_Part_208098_1289915665.1645306173578"
Received-SPF: pass client-ip=81.3.6.162; envelope-from=kiasoc5@HIDDEN;
 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-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

------=_Part_208098_1289915665.1645306173578
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Importing this module in python fails because python-importlib-metadata is too old. At least it builds successfully when sanity check is disabled.

------=_Part_208098_1289915665.1645306173578
Content-Type: text/x-patch; charset=us-ascii; 
	name=0001-gnu-Add-python-gym.patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=0001-gnu-Add-python-gym.patch

From 2fd8ce0ccab54cc94269f6d03be755d5e145027f Mon Sep 17 00:00:00 2001
From: kiasoc5 <kiasoc5@HIDDEN>
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


------=_Part_208098_1289915665.1645306173578--




Acknowledgement sent to kiasoc5@HIDDEN:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#54067; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 20 Feb 2022 19:15:02 UTC

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