GNU bug report logs - #62900
[PATCH] gnu: python-anyio: Update to 3.6.2

Previous Next

Package: guix-patches;

Reported by: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>

Date: Mon, 17 Apr 2023 13:06:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 62900 in the body.
You can then email your comments to 62900 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#62900; Package guix-patches. (Mon, 17 Apr 2023 13:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 17 Apr 2023 13:06:02 GMT) Full text and rfc822 format available.

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

From: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>
To: guix-patches <at> gnu.org
Cc: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>
Subject: [PATCH] gnu: python-anyio: Update to 3.6.2
Date: Mon, 17 Apr 2023 15:04:37 +0200
python-anyio 3.5.0 does not work with trio 0.22, which was added on 2023/04/01.

It fails with

E   trio.TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0 [...]

python-anyio 3.6.2 works fine.

* gnu/packages/python-xyz.scm (python-anyio): Update to 3.6.2


---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0147870b06..4f936164ba 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25711,14 +25711,14 @@ (define-public python-iocapture
 (define-public python-anyio
   (package
     (name "python-anyio")
-    (version "3.5.0")
+    (version "3.6.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "anyio" version))
        (sha256
         (base32
-         "19m58805wir4i2s45dd5ynwlzb7ky1218isbir53gpqzzgigzbm0"))))
+         "8bljjq5xq0l9id36q3vvjgygirq7g7q2bs41hdg82p379khvsi5x"))))
     (build-system python-build-system)
     (arguments
      `(#:phases

base-commit: 9a5e1dc1f16f5f8c056e64f2077b035784003673
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#62900; Package guix-patches. (Tue, 18 Apr 2023 20:38:02 GMT) Full text and rfc822 format available.

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

From: Greg Hogan <code <at> greghogan.com>
To: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>
Cc: 62900 <at> debbugs.gnu.org
Subject: Re: [bug#62900] [PATCH] gnu: python-anyio: Update to 3.6.2
Date: Tue, 18 Apr 2023 16:37:03 -0400
On Mon, Apr 17, 2023 at 9:06 AM Hugo Buddelmeijer <hugo <at> buddelmeijer.nl> wrote:
>
> python-anyio 3.6.2 works fine.
>
> * gnu/packages/python-xyz.scm (python-anyio): Update to 3.6.2
>
> ---
>  gnu/packages/python-xyz.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 0147870b06..4f936164ba 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -25711,14 +25711,14 @@ (define-public python-iocapture
>  (define-public python-anyio
>    (package
>      (name "python-anyio")
> -    (version "3.5.0")
> +    (version "3.6.2")
>      (source
>       (origin
>         (method url-fetch)
>         (uri (pypi-uri "anyio" version))
>         (sha256
>          (base32
> -         "19m58805wir4i2s45dd5ynwlzb7ky1218isbir53gpqzzgigzbm0"))))
> +         "8bljjq5xq0l9id36q3vvjgygirq7g7q2bs41hdg82p379khvsi5x"))))
>      (build-system python-build-system)
>      (arguments
>       `(#:phases
>
> base-commit: 9a5e1dc1f16f5f8c056e64f2077b035784003673
> --
> 2.39.2

I see that this is still scheduled on qa.guix.gnu.org, with
python-pillow the only attempted package, even though that package is
a (4th-level) dependency of python-anyio, so why would this be a
derivation change?

I also see a slightly different hash, with a leading zero replacing
the trailing 'x'. I find this puzzling.

$ guix describe
Generation 43   Apr 18 2023 20:30:44    (current)
  guix bb721d8
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: bb721d88618d93d38aa5dfc33629e223c8b1c884

$ guix graph --path python-anyio python-pillow
python-anyio <at> 3.5.0
python-trio <at> 0.22.0
python-ipython <at> 8.2.0
python-matplotlib <at> 3.5.2
python-pillow <at> 9.2.0

$ wget --quiet -O -
https://files.pythonhosted.org/packages/8b/94/6928d4345f2bc1beecbff03325cad43d320717f51ab74ab5a571324f4f5a/anyio-3.6.2.tar.gz
| guix hash -
08bljjq5xq0l9id36q3vvjgygirq7g7q2bs41hdg82p379khvsi5




Information forwarded to guix-patches <at> gnu.org:
bug#62900; Package guix-patches. (Thu, 20 Apr 2023 08:34:01 GMT) Full text and rfc822 format available.

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

From: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>
To: 62900 <at> debbugs.gnu.org
Cc: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>
Subject: [PATCH v2] Upgrade python-anyio to 3.6.2
Date: Thu, 20 Apr 2023 10:32:20 +0200
---

Thank you Greg. I'm a bit puzzled too (and embarashed).

Attached is the patch with the corrected hash. However, it has the same
problems as 3.5.0 so it is perhaps not worth it to merge this patch.

The mismatching hash is due to me trying to learn everything at the same
time: guix, scheme, emacs. I'm used to copy pasting with ctrl-insert
shift-insert and removing text with ctrl-backspace (IBM Common User
Access). With my muscle memory failing me, I botched changing the hash.

However, I believed I fixed the hash, and built the package, also with
 --rounds=2, otherwise I would not have submitted the patch. At least,
that's what I thought, but apparently I did not and wasted your time.
My apologies for that; I'll be more careful in the future.

Now that I've submitted a broken patch, would that be noticed somewhere
automatically? The linter on qa.guix.gnu.org seems to be fine with it.
Or are patched packages not build automatically?

As about why the derivation changed, perhaps that is because
python-trio has been updated to 0.22? I don't yet fully understand how
these derivation work.

Once again my apologies, I feel bad for messing this patch up.

Hugo


 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0147870b06..0c2ec44db3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25711,14 +25711,14 @@ (define-public python-iocapture
 (define-public python-anyio
   (package
     (name "python-anyio")
-    (version "3.5.0")
+    (version "3.6.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "anyio" version))
        (sha256
         (base32
-         "19m58805wir4i2s45dd5ynwlzb7ky1218isbir53gpqzzgigzbm0"))))
+         "08bljjq5xq0l9id36q3vvjgygirq7g7q2bs41hdg82p379khvsi5"))))
     (build-system python-build-system)
     (arguments
      `(#:phases

base-commit: 9a5e1dc1f16f5f8c056e64f2077b035784003673
-- 
2.39.2





bug closed, send any further explanations to 62900 <at> debbugs.gnu.org and Hugo Buddelmeijer <hugo <at> buddelmeijer.nl> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 15 Aug 2023 21:11:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Sep 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 226 days ago.

Previous Next


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