From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1719055-garchives=archives.gentoo.org@lists.gentoo.org>
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 <garchives@archives.gentoo.org>; 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 <garchives@archives.gentoo.org>; 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 <gentoo-commits@lists.gentoo.org>; 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 <gentoo-commits@lists.gentoo.org>; 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 <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 12:50:10 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
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" <mgorny@gentoo.org>
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: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
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 <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 12:08:01 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <dev-python/numpy-2 tests

Signed-off-by: Michał Górny <mgorny <AT> 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