public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyhamcrest/
Date: Tue, 18 Feb 2025 12:50:10 +0000 (UTC)	[thread overview]
Message-ID: <1739882994.c4abfd878d8080d0247fb5ad1220bfd5868d94d3.mgorny@gentoo> (raw)

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


             reply	other threads:[~2025-02-18 12:50 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-18 12:50 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18 12:50 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyhamcrest/ Michał Górny
2024-05-12 16:30 Michał Górny
2023-11-22 11:59 Michał Górny
2023-11-22 11:11 Sam James
2023-10-22 19:14 Michał Górny
2023-05-29 12:26 Michał Górny
2022-09-11  5:29 Michał Górny
2022-09-10 22:37 Jakov Smolić
2022-08-11  9:59 Michał Górny
2022-06-13  8:25 Michał Górny
2022-06-13  7:07 Agostino Sarubbo
2022-05-12 13:36 Michał Górny
2022-05-12 13:36 Michał Górny
2022-01-27 22:56 James Le Cuirot
2022-01-26 21:31 Michał Górny
2022-01-13 21:53 Michał Górny
2022-01-13 19:26 Arthur Zamarin
2021-12-13  8:09 Michał Górny
2021-05-10 21:56 Michał Górny
2020-11-28 11:39 Sam James
2020-08-04 12:01 Michał Górny
2020-07-30 20:46 Michał Górny
2020-07-13 16:18 Sam James
2020-07-13 16:16 Sam James
2020-07-09 13:42 Michał Górny
2020-07-09 13:42 Michał Górny
2020-05-27 12:26 Michał Górny
2020-05-27 12:26 Michał Górny
2020-05-27 12:26 Michał Górny
2020-05-27  9:18 Michał Górny
2020-05-06 18:45 Mikle Kolyada
2020-05-06 18:43 Mikle Kolyada
2020-05-06 14:28 Mikle Kolyada
2020-05-03 21:55 Sergei Trofimovich
2020-04-06 17:54 Sergei Trofimovich
2020-04-05 21:53 Sergei Trofimovich
2020-03-25  6:08 Georgy Yakovlev
2020-03-25  5:40 Michał Górny
2020-03-18  7:27 Michał Górny
2020-02-24 12:00 Agostino Sarubbo
2020-02-23 12:12 Mikle Kolyada
2020-02-22 20:22 Andreas Sturmlechner
2020-01-22 23:40 Thomas Deutschmann
2020-01-02  9:58 Sergei Trofimovich
2019-12-07 23:07 Matt Turner
2019-12-03  3:02 Aaron Bauman
2019-11-29 23:33 David Seifert
2019-11-29 21:43 Aaron Bauman
2019-11-29 20:58 Aaron Bauman
2019-11-29 20:35 Aaron Bauman
2019-06-25 12:09 Michael Haubenwallner
2019-05-02 22:02 Mikle Kolyada
2019-03-20 10:31 Fabian Groffen
2019-01-17 20:45 Mikle Kolyada
2018-12-03 14:12 Mikle Kolyada
2018-07-16 20:38 Michał Górny
2018-07-16 19:57 Michał Górny
2018-07-16 14:05 Michał Górny
2018-03-30 18:35 Aaron Bauman
2017-05-11  3:17 Zac Medico
2016-09-09 13:05 Tiziano Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739882994.c4abfd878d8080d0247fb5ad1220bfd5868d94d3.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox