From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F31BD1582EF for ; Tue, 18 Feb 2025 12:50:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E08D33430EE for ; Tue, 18 Feb 2025 12:50:44 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 29EF211047B; Tue, 18 Feb 2025 12:50:14 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1ED9A11047B for ; Tue, 18 Feb 2025 12:50:14 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6B1634315E for ; Tue, 18 Feb 2025 12:50:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A92692762 for ; Tue, 18 Feb 2025 12:50:10 +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: <1739882994.c4abfd878d8080d0247fb5ad1220bfd5868d94d3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyhamcrest/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild X-VCS-Directories: dev-python/pyhamcrest/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c4abfd878d8080d0247fb5ad1220bfd5868d94d3 X-VCS-Branch: master Date: Tue, 18 Feb 2025 12:50:10 +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: 8a6f3af2-0206-465c-b64b-a3946a866afa X-Archives-Hash: 4ac1a357e5929995a55a00169227c0db commit: c4abfd878d8080d0247fb5ad1220bfd5868d94d3 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 18 12:08:01 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 18 12:49:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4abfd87 dev-python/pyhamcrest: Deselect obsolete gentoo.org> dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild b/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild index 40ac59715027..ab34cf765e49 100644 --- a/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild +++ b/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild @@ -35,6 +35,17 @@ distutils_enable_tests pytest export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +python_test() { + local EPYTEST_DESELECT=( + # removed in numpy 2.0, https://github.com/hamcrest/PyHamcrest/pull/248 + tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_complex + tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_float + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + python_install_all() { use examples && dodoc -r examples distutils-r1_python_install_all