From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mss/
Date: Sun, 7 Jul 2024 15:36:55 +0000 (UTC) [thread overview]
Message-ID: <1720366608.eafec4aab91bf738cf197ad4fe5635c32195cf9a.mgorny@gentoo> (raw)
commit: eafec4aab91bf738cf197ad4fe5635c32195cf9a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 7 15:12:56 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 7 15:36:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eafec4aa
dev-python/mss: Enable py3.13
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/mss/mss-9.0.1.ebuild | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/dev-python/mss/mss-9.0.1.ebuild b/dev-python/mss/mss-9.0.1.ebuild
index 7a2737d549c2..619ed560bba8 100644
--- a/dev-python/mss/mss-9.0.1.ebuild
+++ b/dev-python/mss/mss-9.0.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi virtualx
@@ -28,17 +28,6 @@ BDEPEND="
distutils_enable_tests pytest
distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme
-EPYTEST_IGNORE=(
- # upstream tests for self-build, apparently broken by setuptools
- # issuing deprecation warnings
- src/tests/test_setup.py
-)
-
-EPYTEST_DESELECT=(
- # unreliable `lsof -U | grep ...` tests
- src/tests/test_leaks.py
-)
-
src_prepare() {
sed -i -e '/--cov/d' setup.cfg || die
distutils-r1_src_prepare
@@ -47,3 +36,19 @@ src_prepare() {
src_test() {
virtx distutils-r1_src_test
}
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # upstream tests for self-build, apparently broken by setuptools
+ # issuing deprecation warnings
+ src/tests/test_setup.py
+ )
+
+ local EPYTEST_DESELECT=(
+ # unreliable `lsof -U | grep ...` tests
+ src/tests/test_leaks.py
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p rerunfailures
+}
next reply other threads:[~2024-07-07 15:36 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-07 15:36 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-15 4:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/mss/ Michał Górny
2024-09-21 12:02 Michał Górny
2024-09-21 11:56 Arthur Zamarin
2024-09-03 5:23 Michał Górny
2023-11-24 16:43 Arthur Zamarin
2023-07-24 12:49 Michał Górny
2023-07-23 8:03 Michał Górny
2023-07-18 16:32 Sam James
2023-04-21 4:34 Michał Górny
2023-04-19 5:56 Michał Górny
2023-04-15 8:23 Michał Górny
2023-04-10 16:11 Michał Górny
2023-04-10 5:30 Michał Górny
2023-04-09 20:40 Andrew Ammerlaan
2023-02-17 11:06 Sam James
2022-11-30 2:55 Michał Górny
2022-11-29 22:22 Jakov Smolić
2022-10-29 19:43 Sam James
2022-10-28 7:09 Michał Górny
2022-10-27 4:49 Michał Górny
2022-10-27 4:49 Michał Górny
2022-09-09 22:38 Jakov Smolić
2021-12-13 15:42 Andrew Ammerlaan
2021-10-19 0:12 Sam James
2021-06-05 11:56 Andrew Ammerlaan
2021-01-19 8:02 Michał Górny
2021-01-19 2:45 Sam James
2021-01-18 12:09 Michał Górny
2020-12-17 0:18 Matt Turner
2020-10-19 12:16 Joonas Niilola
2020-10-18 18:51 Thomas Deutschmann
2020-09-15 18:27 Joonas Niilola
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=1720366608.eafec4aab91bf738cf197ad4fe5635c32195cf9a.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