GNU bug report logs - #45698
[PATCH] gnu: python-numpy: Update to 1.19.4.

Previous Next

Package: guix-patches;

Reported by: Greg Hogan <code <at> greghogan.com>

Date: Wed, 6 Jan 2021 18:48:01 UTC

Severity: normal

Tags: patch

Done: zimoun <zimon.toutoune <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 45698 in the body.
You can then email your comments to 45698 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#45698; Package guix-patches. (Wed, 06 Jan 2021 18:48:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Greg Hogan <code <at> greghogan.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 06 Jan 2021 18:48:01 GMT) Full text and rfc822 format available.

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

From: Greg Hogan <code <at> greghogan.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Wed, 6 Jan 2021 13:46:59 -0500
[Message part 1 (text/plain, inline)]
From f5f390689908f065fd12abaeba8fa4e19e5e96c8 Mon Sep 17 00:00:00 2001
From: Greg Hogan <code <at> greghogan.com>
Date: Tue, 5 Jan 2021 16:23:24 +0000
Subject: [PATCH] gnu: python-numpy: Update to 1.19.4.

* gnu/packages/python-xyz.scm (python-numpy): Update to 1.19.4.
[native-inputs]: Add python-hypothesis.
---
 gnu/packages/python-xyz.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ab10668a01..a049f257cb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -94,6 +94,7 @@
 ;;; Copyright © 2020 Leo Prikler <leo.prikler <at> student.tugraz.at>
 ;;; Copyright © 2019 Kristian Trandem <kristian <at> devup.no>
 ;;; Copyright © 2020 Zheng Junjie <873216071 <at> qq.com>
+;;; Copyright © 2021 Greg Hogan <code <at> greghogan.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4515,7 +4516,7 @@ between language specification and implementation
aspects.")
 (define-public python-numpy
   (package
     (name "python-numpy")
-    (version "1.17.3")
+    (version "1.19.4")
     (source
      (origin
        (method url-fetch)
@@ -4524,13 +4525,14 @@ between language specification and implementation
aspects.")
              version "/numpy-" version ".tar.gz"))
        (sha256
         (base32
-         "1ak9dmjja0q90a7fsxli51ypcwssh8c4pb6f8wkrsnf2xgdk6dy9"))))
+         "04w46xsllj7al9bfjk5zzs48xa9y300yzjh3ysrxnf38bml6m0zy"))))
     (build-system python-build-system)
     (inputs
      `(("openblas" ,openblas)
        ("lapack" ,lapack)))
     (native-inputs
      `(("python-cython" ,python-cython)
+       ("python-hypothesis" ,python-hypothesis)
        ("python-pytest" ,python-pytest)
        ("gfortran" ,gfortran)))
     (arguments
-- 
2.30.0
[Message part 2 (text/html, inline)]
[0001-gnu-python-numpy-Update-to-1.19.4.patch (application/octet-stream, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#45698; Package guix-patches. (Sun, 14 Mar 2021 16:04:02 GMT) Full text and rfc822 format available.

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

From: Greg Hogan <code <at> greghogan.com>
To: guix-patches <at> gnu.org
Subject: Re: [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Sun, 14 Mar 2021 12:03:11 -0400
[Message part 1 (text/plain, inline)]
Replacement patch for more recent version.

From bc7e702f26a7f1e9ff22cd9c3cd3f6c12dc72bdf Mon Sep 17 00:00:00 2001
From: Greg Hogan <code <at> greghogan.com>
Date: Sun, 14 Mar 2021 15:40:41 +0000
Subject: [PATCH] gnu: python-numpy: Update to 1.20.1.

* gnu/packages/python-xyz.scm (python-numpy): Update to 1.20.1.
[native-inputs]: Add python-hypothesis.
---
 gnu/packages/python-xyz.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index dadf08f03d..f4e742b4fe 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -99,6 +99,7 @@
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;; Copyright © 2021 Ellis Kenyő <me <at> elken.dev>
 ;;; Copyright © 2021 LibreMiami <packaging-guix <at> libremiami.org>
+;;; Copyright © 2021 Greg Hogan <code <at> greghogan.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4542,7 +4543,7 @@ between language specification and implementation
aspects.")
 (define-public python-numpy
   (package
     (name "python-numpy")
-    (version "1.17.3")
+    (version "1.20.1")
     (source
      (origin
        (method url-fetch)
@@ -4551,13 +4552,14 @@ between language specification and implementation
aspects.")
              version "/numpy-" version ".tar.gz"))
        (sha256
         (base32
-         "1ak9dmjja0q90a7fsxli51ypcwssh8c4pb6f8wkrsnf2xgdk6dy9"))))
+         "0vc4fr3429a1rrzfxbd05lifrh72bwcc5vavwlwr5jmlxdlivxcv"))))
     (build-system python-build-system)
     (inputs
      `(("openblas" ,openblas)
        ("lapack" ,lapack)))
     (native-inputs
      `(("python-cython" ,python-cython)
+       ("python-hypothesis" ,python-hypothesis)
        ("python-pytest" ,python-pytest)
        ("gfortran" ,gfortran)))
     (arguments
--
2.30.2

On Wed, Jan 6, 2021 at 1:46 PM Greg Hogan <code <at> greghogan.com> wrote:

> From f5f390689908f065fd12abaeba8fa4e19e5e96c8 Mon Sep 17 00:00:00 2001
> From: Greg Hogan <code <at> greghogan.com>
> Date: Tue, 5 Jan 2021 16:23:24 +0000
> Subject: [PATCH] gnu: python-numpy: Update to 1.19.4.
>
> * gnu/packages/python-xyz.scm (python-numpy): Update to 1.19.4.
> [native-inputs]: Add python-hypothesis.
> ---
>  gnu/packages/python-xyz.scm | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index ab10668a01..a049f257cb 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -94,6 +94,7 @@
>  ;;; Copyright © 2020 Leo Prikler <leo.prikler <at> student.tugraz.at>
>  ;;; Copyright © 2019 Kristian Trandem <kristian <at> devup.no>
>  ;;; Copyright © 2020 Zheng Junjie <873216071 <at> qq.com>
> +;;; Copyright © 2021 Greg Hogan <code <at> greghogan.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -4515,7 +4516,7 @@ between language specification and implementation
> aspects.")
>  (define-public python-numpy
>    (package
>      (name "python-numpy")
> -    (version "1.17.3")
> +    (version "1.19.4")
>      (source
>       (origin
>         (method url-fetch)
> @@ -4524,13 +4525,14 @@ between language specification and implementation
> aspects.")
>               version "/numpy-" version ".tar.gz"))
>         (sha256
>          (base32
> -         "1ak9dmjja0q90a7fsxli51ypcwssh8c4pb6f8wkrsnf2xgdk6dy9"))))
> +         "04w46xsllj7al9bfjk5zzs48xa9y300yzjh3ysrxnf38bml6m0zy"))))
>      (build-system python-build-system)
>      (inputs
>       `(("openblas" ,openblas)
>         ("lapack" ,lapack)))
>      (native-inputs
>       `(("python-cython" ,python-cython)
> +       ("python-hypothesis" ,python-hypothesis)
>         ("python-pytest" ,python-pytest)
>         ("gfortran" ,gfortran)))
>      (arguments
> --
> 2.30.0
>
[Message part 2 (text/html, inline)]
[0001-gnu-python-numpy-Update-to-1.20.1.patch (application/octet-stream, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#45698; Package guix-patches. (Sun, 14 Mar 2021 21:05:01 GMT) Full text and rfc822 format available.

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

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Greg Hogan <code <at> greghogan.com>, 45698 <at> debbugs.gnu.org
Subject: Re: [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Sun, 14 Mar 2021 22:04:25 +0100
On Sun, Mar 14 2021, Greg Hogan wrote:

> * gnu/packages/python-xyz.scm (python-numpy): Update to 1.20.1.
> [native-inputs]: Add python-hypothesis.

Great, Numpy builds for me, but when I try to build Scipy which is often
used with Numpy, one test for Matplolib is failing.  Any ideas?

--8<---------------cut here---------------start------------->8---
=================================== FAILURES ===================================
___________________________________ test_gca ___________________________________

    def test_gca():
        fig = plt.figure()
    
        ax1 = fig.add_axes([0, 0, 1, 1])
        assert fig.gca(projection='rectilinear') is ax1
        assert fig.gca() is ax1
    
        ax2 = fig.add_subplot(121, projection='polar')
        assert fig.gca() is ax2
        assert fig.gca(polar=True) is ax2
    
        ax3 = fig.add_subplot(122)
        assert fig.gca() is ax3
    
        # the final request for a polar axes will end up creating one
        # with a spec of 111.
        with warnings.catch_warnings(record=True) as w:
            warnings.simplefilter('always')
            # Changing the projection will throw a warning
            assert fig.gca(polar=True) is not ax3
>           assert len(w) == 1
E           assert 2 == 1
E             -2
E             +1

/gnu/store/s3i6ps5fmyb5ld0rx37g23s7w8rzghl7-python-matplotlib-3.1.2/lib/python3.8/site-packages/matplotlib/tests/test_figure.py:168: AssertionError

[...]

-- Docs: https://docs.pytest.org/en/latest/warnings.html
= 1 failed, 5014 passed, 2139 skipped, 2 deselected, 9 xfailed, 8 xpassed, 36 warnings in 107.78s (0:01:47) =
command "python" "tests.py" "-v" "-m" "not network and not webagg" failed with status 1
builder for `/gnu/store/6kmizr8498mxiv7spsavznirva76yphh-python-matplotlib-3.1.2.drv' failed with exit code 1
build of /gnu/store/6kmizr8498mxiv7spsavznirva76yphh-python-matplotlib-3.1.2.drv failed
View build log at '/var/log/guix/drvs/6k/mizr8498mxiv7spsavznirva76yphh-python-matplotlib-3.1.2.drv.bz2'.
cannot build derivation `/gnu/store/hd6zbcgdf7sa9bj63rsw5ayyhrrlfndw-python-scipy-1.6.0.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/hd6zbcgdf7sa9bj63rsw5ayyhrrlfndw-python-scipy-1.6.0.drv' failed
--8<---------------cut here---------------end--------------->8---




Information forwarded to guix-patches <at> gnu.org:
bug#45698; Package guix-patches. (Mon, 15 Mar 2021 08:39:01 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Xinglu Chen <public <at> yoctocell.xyz>, Greg Hogan <code <at> greghogan.com>,
 45698 <at> debbugs.gnu.org
Subject: Re: [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Mon, 15 Mar 2021 09:34:18 +0100
Hi,

On Sun, 14 Mar 2021 at 22:04, Xinglu Chen <public <at> yoctocell.xyz> wrote:
> On Sun, Mar 14 2021, Greg Hogan wrote:
>
>> * gnu/packages/python-xyz.scm (python-numpy): Update to 1.20.1.
>> [native-inputs]: Add python-hypothesis.
>
> Great, Numpy builds for me, but when I try to build Scipy which is often
> used with Numpy, one test for Matplolib is failing.  Any ideas?

On my side, the update of numpy breaks other dependant packages too.

All the best,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#45698; Package guix-patches. (Fri, 26 Mar 2021 09:19:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Greg Hogan <code <at> greghogan.com>
Cc: 45698 <at> debbugs.gnu.org
Subject: Re: [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Fri, 26 Mar 2021 10:17:16 +0100
Hi,

Since this update breaks many dependants, I am in favour to update Numpy
accordingly with the dependants or close this.  WDYT?

All the best,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#45698; Package guix-patches. (Fri, 26 Mar 2021 13:32:02 GMT) Full text and rfc822 format available.

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

From: Greg Hogan <code <at> greghogan.com>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 45698 <at> debbugs.gnu.org
Subject: Re: [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Fri, 26 Mar 2021 13:30:44 +0000
[Message part 1 (text/plain, inline)]
Hi Simon,

I have not had time to look further into the matplotlib build failure,
though I would like to. I did see the second patch also looking to update
numpy. I don't mind if you want to close this to reduce the outstanding
"bugs", or leave it open for another week and see if we can update the
dependencies.

Greg

On Fri, Mar 26, 2021 at 9:17 AM zimoun <zimon.toutoune <at> gmail.com> wrote:

> Hi,
>
> Since this update breaks many dependants, I am in favour to update Numpy
> accordingly with the dependants or close this.  WDYT?
>
> All the best,
> simon
>
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#45698; Package guix-patches. (Sat, 27 Mar 2021 00:54:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Greg Hogan <code <at> greghogan.com>
Cc: 45698 <at> debbugs.gnu.org
Subject: Re: [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Sat, 27 Mar 2021 01:44:25 +0100
Hi Greg,

On Fri, 26 Mar 2021 at 13:30, Greg Hogan <code <at> greghogan.com> wrote:

> I have not had time to look further into the matplotlib build failure,

I guess Panda is probably also failing.  Well, you can try:

  $ ./pre-inst-env guix build -q \
        $(./pre-inst-env guix refresh -l | cut -d':' -f2-)

if you have enough CPU power at hand.

> though I would like to. I did see the second patch also looking to update
> numpy. I don't mind if you want to close this to reduce the outstanding
> "bugs", or leave it open for another week and see if we can update the
> dependencies.

For sure, the bug can still be open more than one week. :-) If you are
working on updating numpy with the dependants, neat!  Thanks!

I was just scrolling Debbugs, I noticed that and I preferred to ask the
status now instead of 2 or more years later (as it happens when patches
are not included).

Thanks,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#45698; Package guix-patches. (Wed, 09 Jun 2021 21:55:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Greg Hogan <code <at> greghogan.com>
Cc: 45698 <at> debbugs.gnu.org
Subject: Re: [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Wed, 09 Jun 2021 23:50:35 +0200
Hi,


On Sat, 27 Mar 2021 at 01:44, zimoun <zimon.toutoune <at> gmail.com> wrote:
> On Fri, 26 Mar 2021 at 13:30, Greg Hogan <code <at> greghogan.com> wrote:
>
>> I have not had time to look further into the matplotlib build failure,
>
> I guess Panda is probably also failing.  Well, you can try:
>
>   $ ./pre-inst-env guix build -q \
>         $(./pre-inst-env guix refresh -l | cut -d':' -f2-)
>
> if you have enough CPU power at hand.
>
>> though I would like to. I did see the second patch also looking to update
>> numpy. I don't mind if you want to close this to reduce the outstanding
>> "bugs", or leave it open for another week and see if we can update the
>> dependencies.
>
> For sure, the bug can still be open more than one week. :-) If you are
> working on updating numpy with the dependants, neat!  Thanks!
>
> I was just scrolling Debbugs, I noticed that and I preferred to ask the
> status now instead of 2 or more years later (as it happens when patches
> are not included).

Maybe this patch could go to core-updated.  WDYT?

All the best,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#45698; Package guix-patches. (Thu, 10 Jun 2021 07:32:01 GMT) Full text and rfc822 format available.

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

From: Xinglu Chen <public <at> yoctocell.xyz>
To: zimoun <zimon.toutoune <at> gmail.com>, Greg Hogan <code <at> greghogan.com>
Cc: 45698 <at> debbugs.gnu.org
Subject: Re: [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Thu, 10 Jun 2021 09:31:19 +0200
[Message part 1 (text/plain, inline)]
On Wed, Jun 09 2021, zimoun wrote:

> Hi,
>
>
> On Sat, 27 Mar 2021 at 01:44, zimoun <zimon.toutoune <at> gmail.com> wrote:
>> On Fri, 26 Mar 2021 at 13:30, Greg Hogan <code <at> greghogan.com> wrote:
>>
>>> I have not had time to look further into the matplotlib build failure,
>>
>> I guess Panda is probably also failing.  Well, you can try:
>>
>>   $ ./pre-inst-env guix build -q \
>>         $(./pre-inst-env guix refresh -l | cut -d':' -f2-)
>>
>> if you have enough CPU power at hand.
>>
>>> though I would like to. I did see the second patch also looking to update
>>> numpy. I don't mind if you want to close this to reduce the outstanding
>>> "bugs", or leave it open for another week and see if we can update the
>>> dependencies.
>>
>> For sure, the bug can still be open more than one week. :-) If you are
>> working on updating numpy with the dependants, neat!  Thanks!
>>
>> I was just scrolling Debbugs, I noticed that and I preferred to ask the
>> status now instead of 2 or more years later (as it happens when patches
>> are not included).
>
> Maybe this patch could go to core-updated.  WDYT?

FYI he sent an updated patch a few weeks ago.

  https://issues.guix.gnu.org/48703


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

Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Thu, 10 Jun 2021 08:44:03 GMT) Full text and rfc822 format available.

Notification sent to Greg Hogan <code <at> greghogan.com>:
bug acknowledged by developer. (Thu, 10 Jun 2021 08:44:03 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Xinglu Chen <public <at> yoctocell.xyz>, Greg Hogan <code <at> greghogan.com>
Cc: 45698-done <at> debbugs.gnu.org
Subject: Re: [bug#45698] [PATCH] gnu: python-numpy: Update to 1.19.4.
Date: Thu, 10 Jun 2021 10:32:52 +0200
Hi,

On Thu, 10 Jun 2021 at 09:31, Xinglu Chen <public <at> yoctocell.xyz> wrote:

> FYI he sent an updated patch a few weeks ago.
>
>   https://issues.guix.gnu.org/48703

Thanks.  So closing in favor of patch#48703 which updates to 1.20.3.

All the best,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Jul 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 291 days ago.

Previous Next


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