summaryrefslogtreecommitdiff
path: root/dev-python/numpy/numpy-1.22.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/numpy/numpy-1.22.4.ebuild')
-rw-r--r--dev-python/numpy/numpy-1.22.4.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/numpy/numpy-1.22.4.ebuild b/dev-python/numpy/numpy-1.22.4.ebuild
index 838712e1df34..dc3876838f9e 100644
--- a/dev-python/numpy/numpy-1.22.4.ebuild
+++ b/dev-python/numpy/numpy-1.22.4.ebuild
@@ -46,7 +46,8 @@ BDEPEND="
"
PATCHES=(
- "${FILESDIR}"/${PN}-1.22.0-no-hardcode-blasv2.patch
+ "${FILESDIR}"/numpy-1.22.0-no-hardcode-blasv2.patch
+ "${FILESDIR}"/numpy-1.22.4-py311.patch
)
distutils_enable_tests pytest
@@ -152,6 +153,11 @@ python_test() {
)
fi
+ [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+ # known problem
+ 'numpy/typing/tests/test_generic_alias.py::TestGenericAlias::test_pass[__dir__-<lambda>]'
+ )
+
distutils_install_for_testing --single-version-externally-managed \
--record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}