[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: gnu: python-numba: Update to 0.54.1.
From: |
guix-commits |
Subject: |
11/11: gnu: python-numba: Update to 0.54.1. |
Date: |
Sat, 20 Nov 2021 06:05:02 -0500 (EST) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit 83580b949d31a48139167f1fac9f4d9bdd7a0175
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Nov 20 01:02:06 2021 +0100
gnu: python-numba: Update to 0.54.1.
* gnu/packages/python-xyz.scm (python-numba): Update to 0.54.1.
[propagated-inputs]: Replace python-numpy with python-numpy-1.20.
[arguments]: Add phase 'disable-failing-tests.
---
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 43cee47..f3d9dd0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21991,14 +21991,14 @@ validation testing and application logic.")
(define-public python-numba
(package
(name "python-numba")
- (version "0.51.2")
+ (version "0.54.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "numba" version))
(sha256
(base32
- "0s0777m8kq4l96i88zj78np7283v1n4878qfc1gvzb8l45bmkg8n"))))
+ "0gzl2hz9azav9mny4mga19096rrnpw5816r1h4iwrvb4r01wipzr"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -22007,6 +22007,12 @@ validation testing and application logic.")
(lambda _
(setenv "NUMBA_DISABLE_HSA" "1")
(setenv "NUMBA_DISABLE_CUDA" "1")))
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ ;; This one test fails because a deprecation warning is printed.
+ (substitute* "numba/tests/test_import.py"
+ (("def test_no_accidental_warnings")
+ "def disabled_test_no_accidental_warnings"))))
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?
@@ -22019,7 +22025,7 @@ validation testing and application logic.")
(invoke "python3" "-m" "numba.runtests" "-v" "-m"))))))))
(propagated-inputs
`(("python-llvmlite" ,python-llvmlite)
- ("python-numpy" ,python-numpy)
+ ("python-numpy" ,python-numpy-1.20)
("python-singledispatch" ,python-singledispatch)))
(native-inputs ;for tests
`(("python-jinja2" ,python-jinja2)
- 02/11: gnu: python-pytorch: Use ADD-INSTALLED-PYTHONPATH., (continued)
- 02/11: gnu: python-pytorch: Use ADD-INSTALLED-PYTHONPATH., guix-commits, 2021/11/20
- 03/11: gnu: python-pytorch: Add missing input., guix-commits, 2021/11/20
- 04/11: gnu: python-pytorch: Warn of missing test inputs., guix-commits, 2021/11/20
- 01/11: gnu: opendht: Use GUIX_PYTHONPATH., guix-commits, 2021/11/20
- 07/11: gnu: repo2docker: Use GUIX_PYTHONPATH., guix-commits, 2021/11/20
- 05/11: gnu: python-llvmlite: Remove trailing #T., guix-commits, 2021/11/20
- 06/11: gnu: python-llvmlite: Update to 0.37.0., guix-commits, 2021/11/20
- 08/11: gnu: Add python-numpy-1.20., guix-commits, 2021/11/20
- 09/11: gnu: python-numba: Remove trailing #T., guix-commits, 2021/11/20
- 10/11: gnu: python-numba: Run tests conditionally., guix-commits, 2021/11/20
- 11/11: gnu: python-numba: Update to 0.54.1.,
guix-commits <=