all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#62900] [PATCH] gnu: python-anyio: Update to 3.6.2
@ 2023-04-17 13:04 Hugo Buddelmeijer
  2023-04-18 20:37 ` Greg Hogan
  2023-04-20  8:32 ` [bug#62900] [PATCH v2] Upgrade python-anyio " Hugo Buddelmeijer
  0 siblings, 2 replies; 3+ messages in thread
From: Hugo Buddelmeijer @ 2023-04-17 13:04 UTC (permalink / raw)
  To: 62900; +Cc: Hugo Buddelmeijer

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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#62900] [PATCH] gnu: python-anyio: Update to 3.6.2
  2023-04-17 13:04 [bug#62900] [PATCH] gnu: python-anyio: Update to 3.6.2 Hugo Buddelmeijer
@ 2023-04-18 20:37 ` Greg Hogan
  2023-04-20  8:32 ` [bug#62900] [PATCH v2] Upgrade python-anyio " Hugo Buddelmeijer
  1 sibling, 0 replies; 3+ messages in thread
From: Greg Hogan @ 2023-04-18 20:37 UTC (permalink / raw)
  To: Hugo Buddelmeijer; +Cc: 62900

On Mon, Apr 17, 2023 at 9:06 AM Hugo Buddelmeijer <hugo@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@3.5.0
python-trio@0.22.0
python-ipython@8.2.0
python-matplotlib@3.5.2
python-pillow@9.2.0

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#62900] [PATCH v2] Upgrade python-anyio to 3.6.2
  2023-04-17 13:04 [bug#62900] [PATCH] gnu: python-anyio: Update to 3.6.2 Hugo Buddelmeijer
  2023-04-18 20:37 ` Greg Hogan
@ 2023-04-20  8:32 ` Hugo Buddelmeijer
  1 sibling, 0 replies; 3+ messages in thread
From: Hugo Buddelmeijer @ 2023-04-20  8:32 UTC (permalink / raw)
  To: 62900; +Cc: Hugo Buddelmeijer

---

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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-20  8:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-17 13:04 [bug#62900] [PATCH] gnu: python-anyio: Update to 3.6.2 Hugo Buddelmeijer
2023-04-18 20:37 ` Greg Hogan
2023-04-20  8:32 ` [bug#62900] [PATCH v2] Upgrade python-anyio " Hugo Buddelmeijer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.