GNU bug report logs -
#55084
[PATCH] gnu: python-numpy-next: Update to 1.22.3.
Previous Next
Reported by: Felix Gruber <felgru <at> posteo.net>
Date: Sat, 23 Apr 2022 16:49:02 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 55084 in the body.
You can then email your comments to 55084 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#55084
; Package
guix-patches
.
(Sat, 23 Apr 2022 16:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Felix Gruber <felgru <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 23 Apr 2022 16:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-xyz.scm (python-numpy-next): Update to 1.22.3.
[native-inputs]: Replace python-hypothesis with python-hypothesis-6.23.
* gnu/packages/python-xyz.scm (python-numpy-1.20)[native-inputs]:
Explicitly set native-inputs to prevent it to inherit the modified
native-inputs from python-numpy-next, which would result in > 2000
package rebuilds.
---
gnu/packages/python-xyz.scm | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9a5d311680..3f984c03e2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5667,7 +5667,7 @@ writing C extensions for Python as easy as Python itself.")
(define-public python-numpy-next
(package
(name "python-numpy-next")
- (version "1.21.3")
+ (version "1.22.3")
(source
(origin
(method url-fetch)
@@ -5676,12 +5676,12 @@ writing C extensions for Python as easy as Python itself.")
version "/numpy-" version ".tar.gz"))
(sha256
(base32
- "0s6hy8828yr7fcjiwnym4l8lrknr21gqfkaiawsf86n0hd0a5fyh"))))
+ "19dw91pqbqcniw2z57kiyqs1qp56g7kqy1bdyv664g8s62sc01m9"))))
(build-system python-build-system)
(inputs
(list openblas))
(native-inputs
- (list python-cython python-hypothesis python-pytest
+ (list python-cython python-hypothesis-6.23 python-pytest
python-pytest-xdist gfortran))
(arguments
`(#:phases
@@ -5773,6 +5773,12 @@ capabilities.")
(sha256
(base32
"140zq9snx0di4id4g97vaw9zz8x2rfla5lp3a70j666f5030yd5p"))))
+ ;; python-numpy-next replaced python-hypothesis with
+ ;; python-hypothesis-6.23. We switch it back here, to prevent
+ ;; python-numpy-1.20 and its numerous dependents from being rebuilt.
+ (native-inputs
+ (list python-cython python-hypothesis python-pytest
+ python-pytest-xdist gfortran))
;; 92 tests fail, many of them because parts of the temp file name
;; accidentally ends up in a comparison.
(arguments
--
2.30.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55084
; Package
guix-patches
.
(Tue, 26 Apr 2022 09:23:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 55084 <at> debbugs.gnu.org (full text, mbox):
Hello Felix,
> + (native-inputs
> + (list python-cython python-hypothesis python-pytest
> + python-pytest-xdist gfortran))
What about using something like:
--8<---------------cut here---------------start------------->8---
(native-inputs
(modify-inputs (package-inputs python-numpy-next)
(delete "python-hypothesis")
(prepend python-hypothesis)))
--8<---------------cut here---------------end--------------->8---
not to duplicate the native-inputs list?
Thanks,
Mathieu
Information forwarded
to
guix-patches <at> gnu.org
:
bug#55084
; Package
guix-patches
.
(Tue, 26 Apr 2022 11:00:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 55084 <at> debbugs.gnu.org (full text, mbox):
Hi Mathieu,
On Tue, 26 Apr 2022 at 11:23, Mathieu Othacehe <othacehe <at> gnu.org> wrote:
> > + (native-inputs
> > + (list python-cython python-hypothesis python-pytest
> > + python-pytest-xdist gfortran))
>
> What about using something like:
>
> --8<---------------cut here---------------start------------->8---
> (native-inputs
> (modify-inputs (package-inputs python-numpy-next)
> (delete "python-hypothesis")
> (prepend python-hypothesis)))
> --8<---------------cut here---------------end--------------->8---
>
> not to duplicate the native-inputs list?
I do not think it is possible because, whereas this 'modify-inputs' is
better for readibility, it implies a rebuild of the package, IMHO; the
very thing we would like to avoid since touching to python-numpy is a
core-update modification.
However, maybe python-numpy-next could inherit from python-numpy
instead of the contrary. Well, I do not know if it is better...
Cheers,
simon
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Mon, 09 May 2022 10:27:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Felix Gruber <felgru <at> posteo.net>
:
bug acknowledged by developer.
(Mon, 09 May 2022 10:27:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 55084-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Felix Gruber <felgru <at> posteo.net> skribis:
> * gnu/packages/python-xyz.scm (python-numpy-next): Update to 1.22.3.
> [native-inputs]: Replace python-hypothesis with python-hypothesis-6.23.
> * gnu/packages/python-xyz.scm (python-numpy-1.20)[native-inputs]:
> Explicitly set native-inputs to prevent it to inherit the modified
> native-inputs from python-numpy-next, which would result in > 2000
> package rebuilds.
Applied, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 06 Jun 2022 11:24:14 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 10 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.