mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/numba: skip memory-intensive test on 32-bit systems
Closes: https://bugs.gentoo.org/659804 Package-Manager: Portage-2.3.40_p15, Repoman-2.3.9_p247
This commit is contained in:
14
dev-python/numba/files/numba-skip-tests.patch
Normal file
14
dev-python/numba/files/numba-skip-tests.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
https://bugs.gentoo.org/659804
|
||||
|
||||
diff --git a/numba/tests/test_linalg.py b/numba/tests/test_linalg.py
|
||||
index 46bff63e8..53056ab23 100644
|
||||
--- a/numba/tests/test_linalg.py
|
||||
+++ b/numba/tests/test_linalg.py
|
||||
@@ -1282,6 +1282,7 @@ class TestLinalgLstsq(TestLinalgSystems):
|
||||
# Suggestions for improvements are welcomed!
|
||||
|
||||
@needs_lapack
|
||||
+ @unittest.skipIf(sys.maxsize < 2 ** 31, "errors with 32-bit address space")
|
||||
def test_linalg_lstsq(self):
|
||||
"""
|
||||
Test np.linalg.lstsq
|
||||
@@ -28,6 +28,10 @@ DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/numba-skip-tests.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}/lib" || die
|
||||
${EPYTHON} -m numba.runtests -v || die
|
||||
|
||||
Reference in New Issue
Block a user