[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
334/474: gnu: python-numpy: Update to 1.24.4.
From: |
guix-commits |
Subject: |
334/474: gnu: python-numpy: Update to 1.24.4. |
Date: |
Sat, 30 Nov 2024 18:20:49 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 67cd0d87fe9c908a3858506fa7a5f04890a80116
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Nov 16 16:52:45 2024 +0000
gnu: python-numpy: Update to 1.24.4.
* gnu/packages/python-xyz.scm (python-numpy): Update to 1.24.4.
[native-inputs]: Add meson-python, pkg-config, python-mypy,
python-setuptools, and
python-wheel.
Change-Id: Icb2dfc04411d2eb87be25c336239c6f178fa5be2
---
gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3e3a1c7d90..883188b80e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8849,7 +8849,11 @@ writing C extensions for Python as easy as Python
itself.")
(define-public python-numpy
(package
(name "python-numpy")
- (version "1.23.2")
+ ;; XXX: Any other versions up to 1.26.4 failed to build with error similar
+ ;; to: 'fenv_t' has not been declared in '::' 58 | using ::fenv_t;
+ ;; See
<https://github.com/numpy/numpy/issues/21075#issuecomment-1047976197>,
+ ;; <https://github.com/numpy/numpy/issues/24318>.
+ (version "1.24.4")
(source
(origin
(method url-fetch)
@@ -8858,12 +8862,12 @@ writing C extensions for Python as easy as Python
itself.")
version "/numpy-" version ".tar.gz"))
(sha256
(base32
- "00bx3idjwhmzkdawg2dx1bp0316ig37jfx0dm82bvyv1hbj013dp"))))
- (build-system python-build-system)
+ "0qwldmkq5bns561ppkz7psphc4jqfj5j1x4dhq0i8r4qwjjf7xc0"))))
+ (build-system pyproject-build-system)
(arguments
(list
#:modules '((guix build utils)
- (guix build python-build-system)
+ (guix build pyproject-build-system)
(ice-9 format))
#:phases
#~(modify-phases %standard-phases
@@ -8903,6 +8907,11 @@ include_dirs = ~:*~a/include~%"
;; does *not* automatically provide -n when -j is used
;; (see: https://github.com/numpy/numpy/issues/21359).
"--" "-n" (number->string (parallel-job-count))
+ ;; Disable Pytest Warnings, they are resolved in the
+ ;; latest 1.x.x: pytest.PytestRemovedIn9Warning: Marks
+ ;; applied to fixtures have no effect,
+ ;; DeprecationWarning.
+ "-p" "no:warnings"
"-k" (string-append
;; These tests may fail on 32-bit systems (see:
;; https://github.com/numpy/numpy/issues/18387).
@@ -8912,6 +8921,14 @@ include_dirs = ~:*~a/include~%"
;; x86_64 CPUs such as the Core 2 Duo (see:
;; https://github.com/numpy/numpy/issues/22170).
"and not test_rint_big_int "
+ ;; They fail to detect compiler.
+ "and not test_compile1 "
+ "and not test_compile2 "
+ ;; Due to disabled warnings
+ "and not test_getattr_warning "
+ "and not test_integer_signs "
+ "and not test_implicit_cast_float_to_int_fails "
+ "and not test_integer_signs "
;; The huge_array test is too large for 32-bit
(see:
;; https://bugs.gentoo.org/843599 and
;; https://bugs.gentoo.org/846548).
@@ -8933,12 +8950,17 @@ include_dirs = ~:*~a/include~%"
" and not test_fpclass")
'())))))))))
(native-inputs
- (list python-cython
+ (list gfortran
+ meson-python
+ pkg-config
+ python-cython ;; overwrite Cython from meson-python
python-hypothesis
+ python-mypy
python-pytest
python-pytest-xdist
+ python-setuptools
python-typing-extensions
- gfortran))
+ python-wheel))
(inputs (list bash openblas))
(home-page "https://numpy.org")
(synopsis "Fundamental package for scientific computing with Python")
- 318/474: gnu: python-jedi: Update to 0.19.2., (continued)
- 318/474: gnu: python-jedi: Update to 0.19.2., guix-commits, 2024/11/30
- 323/474: gnu: python-tomli: Update to 2.1.0., guix-commits, 2024/11/30
- 322/474: gnu: python-flaky: Update to 3.8.1., guix-commits, 2024/11/30
- 328/474: gnu: python-cython-3: Update to 3.0.11., guix-commits, 2024/11/30
- 330/474: gnu: python-attrs: Update to 24.2.0., guix-commits, 2024/11/30
- 336/474: gnu: python-versioneer: Simplify tests., guix-commits, 2024/11/30
- 333/474: gnu: python-pytest-mypy: Update to 0.10.3., guix-commits, 2024/11/30
- 326/474: gnu: python-editables: Update to 0.5., guix-commits, 2024/11/30
- 364/474: gnu: Remove python-pytest-catchlog., guix-commits, 2024/11/30
- 337/474: gnu: python-watchdog: Update to 6.0.0., guix-commits, 2024/11/30
- 334/474: gnu: python-numpy: Update to 1.24.4.,
guix-commits <=
- 352/474: gnu: python-flask-restful: Update to 0.3.10., guix-commits, 2024/11/30
- 376/474: gnu: python-asttokens: Update to 2.4.1., guix-commits, 2024/11/30
- 335/474: gnu: python-isort: Update to 5.13.2., guix-commits, 2024/11/30
- 380/474: gnu: python-executing: Update to 2.1.0., guix-commits, 2024/11/30
- 378/474: gnu: python-typeguard: Update to 4.4.1., guix-commits, 2024/11/30
- 381/474: gnu: python-pure-eval: Update to 0.2.3., guix-commits, 2024/11/30
- 382/474: gnu: python-stack-data: Update to 0.6.3., guix-commits, 2024/11/30
- 342/474: gnu: python-xlsxwriter: Update to 3.2.0., guix-commits, 2024/11/30
- 374/474: gnu: python-astroid: Update to 3.3.4., guix-commits, 2024/11/30
- 371/474: gnu: python-pytest-random-order: Update to 1.1.1., guix-commits, 2024/11/30