From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2BDAB1581D3 for ; Sun, 26 May 2024 16:26:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64A75E29C2; Sun, 26 May 2024 16:26:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D64FE29C2 for ; Sun, 26 May 2024 16:26:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2BE1333BEBE for ; Sun, 26 May 2024 16:26:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 827171736 for ; Sun, 26 May 2024 16:26:45 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1716740785.572f53a2e79787a5266a63f9ad3b98eed1fd37e4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/numpy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/numpy/numpy-2.0.0_rc2-r1.ebuild X-VCS-Directories: dev-python/numpy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 572f53a2e79787a5266a63f9ad3b98eed1fd37e4 X-VCS-Branch: master Date: Sun, 26 May 2024 16:26:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fd1b7da3-c67b-4f25-92d6-e83b087aa535 X-Archives-Hash: 1edb6275716d5b3e460da85380a7ba05 commit: 572f53a2e79787a5266a63f9ad3b98eed1fd37e4 Author: Michał Górny gentoo org> AuthorDate: Sun May 26 16:25:46 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 26 16:26:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=572f53a2 dev-python/numpy: Clean deselects up for 2.x Signed-off-by: Michał Górny gentoo.org> dev-python/numpy/numpy-2.0.0_rc2-r1.ebuild | 59 +----------------------------- 1 file changed, 1 insertion(+), 58 deletions(-) diff --git a/dev-python/numpy/numpy-2.0.0_rc2-r1.ebuild b/dev-python/numpy/numpy-2.0.0_rc2-r1.ebuild index 7cd370900a32..7d3724a3aaa3 100644 --- a/dev-python/numpy/numpy-2.0.0_rc2-r1.ebuild +++ b/dev-python/numpy/numpy-2.0.0_rc2-r1.ebuild @@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{10..13} pypy3 ) PYTHON_REQ_USE="threads(+)" FORTRAN_NEEDED=lapack -inherit distutils-r1 flag-o-matic fortran-2 pypi toolchain-funcs +inherit distutils-r1 flag-o-matic fortran-2 pypi DESCRIPTION="Fast array and numerical python library" HOMEPAGE=" @@ -88,17 +88,6 @@ python_test() { # Uses huge amount of memory core/tests/test_mem_overlap.py 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' - - # TODO: crashes - lib/tests/test_histograms.py::TestHistogram::test_big_arrays - - # likely a test problem - # https://github.com/numpy/numpy/issues/25135 - core/tests/test_cython.py::test_conv_intp - - # flaky - f2py/tests/test_crackfortran.py - f2py/tests/test_data.py::TestData{,F77}::test_crackedlines ) if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then @@ -108,52 +97,6 @@ python_test() { ) fi - if use x86 ; then - EPYTEST_DESELECT+=( - # https://github.com/numpy/numpy/issues/18388 - core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow - # https://github.com/numpy/numpy/issues/18387 - random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto - # more precision problems - core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 - ) - fi - - if use hppa ; then - EPYTEST_DESELECT+=( - # TODO: Get selectedrealkind updated! - # bug #907228 - # https://github.com/numpy/numpy/issues/3424 (https://github.com/numpy/numpy/issues/3424#issuecomment-412369029) - # https://github.com/numpy/numpy/pull/21785 - f2py/tests/test_kind.py::TestKind::test_real - f2py/tests/test_kind.py::TestKind::test_quad_precision - ) - fi - - if [[ $(tc-endian) == "big" ]] ; then - # https://github.com/numpy/numpy/issues/11831 and bug #707116 - EPYTEST_DESELECT+=( - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' - 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' - f2py/tests/test_kind.py::TestKind::test_int - ) - fi - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' - 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' - ) - ;; - *) - ;; - esac - case ${EPYTHON} in python3.13) EPYTEST_DESELECT+=(