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

Previous Next

Package: guix-patches;

Reported by: kiasoc5 <at> tutanota.com

Date: Sat, 19 Feb 2022 21:30:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54067 in the body.
You can then email your comments to 54067 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#54067; Package guix-patches. (Sat, 19 Feb 2022 21:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to kiasoc5 <at> tutanota.com:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 19 Feb 2022 21:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: kiasoc5 <at> tutanota.com
To: Guix Patches <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add python-gym.
Date: Sat, 19 Feb 2022 22:29:33 +0100 (CET)
[Message part 1 (text/plain, inline)]
Importing this module in python fails because python-importlib-metadata is too old. At least it builds successfully when sanity check is disabled.
[0001-gnu-Add-python-gym.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#54067; Package guix-patches. (Sun, 20 Feb 2022 10:36:01 GMT) Full text and rfc822 format available.

Message #8 received at 54067 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: kiasoc5 <at> tutanota.com, 54067 <at> debbugs.gnu.org
Subject: Re: [bug#54067] [PATCH] gnu: Add python-gym.
Date: Sun, 20 Feb 2022 11:35:08 +0100
[Message part 1 (text/plain, inline)]
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-metadata>4.10

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

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#54067; Package guix-patches. (Sun, 20 Feb 2022 10:37:02 GMT) Full text and rfc822 format available.

Message #11 received at 54067 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: kiasoc5 <at> tutanota.com, 54067 <at> debbugs.gnu.org
Subject: Re: [bug#54067] [PATCH] gnu: Add python-gym.
Date: Sun, 20 Feb 2022 11:36:33 +0100
[Message part 1 (text/plain, inline)]
kiasoc5--- via Guix-patches via schreef op za 19-02-2022 om 22:29
[+0100]:
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (delete 'check)   ; tests require nonfree library

How about setting the #:tests? argument instead?

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

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#54067; Package guix-patches. (Sun, 20 Feb 2022 19:14:01 GMT) Full text and rfc822 format available.

Message #14 received at 54067 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: kiasoc5 <at> tutanota.com
Cc: 54067 <at> debbugs.gnu.org
Subject: Re: [bug#54067] [PATCH] gnu: Add python-gym.
Date: Sun, 20 Feb 2022 20:12:53 +0100
[Message part 1 (text/plain, inline)]
[Please keep 54067 <at> debbugs.gnu.org in CC, such that other people
can comment]

kiasoc5 <at> tutanota.com 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 <at> 0.4.5 vorta <at> 0.8.3 komikku <at> 0.36.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; ‘guix refresh
     --list-dependent PACKAGE’ will help you do that (*note Invoking
     guix refresh::).

[...]

     All these branches are tracked by our build farm
     (https://ci.guix.gnu.org) and merged into ‘master’ once 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.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Mon, 29 Jan 2024 21:59:02 GMT) Full text and rfc822 format available.

Notification sent to kiasoc5 <at> tutanota.com:
bug acknowledged by developer. (Mon, 29 Jan 2024 21:59:02 GMT) Full text and rfc822 format available.

Message #19 received at 54067-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 54067-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-gym.
Date: Mon, 29 Jan 2024 21:58:35 +0000
[Message part 1 (text/plain, inline)]
From the project's page https://github.com/openai/gym:

> The team that has been maintaining Gym since 2021 has moved all future
> development to Gymnasium, a drop in replacement for Gym (import
> gymnasium as gym), and Gym will not be receiving any future updates.
> Please switch over to Gymnasium as soon as you're able to do so. If
> you'd like to read more about the story behind this switch, please check
> out this blog post.

Gymnasium is successor of Gym.
Closing as not actual. 

Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Feb 2024 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 59 days ago.

Previous Next


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