From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flaky/
Date: Tue, 10 May 2022 10:07:00 +0000 (UTC) [thread overview]
Message-ID: <1652177214.1ff14a8839e351ec88f03f61fb155e4fd697ecd0.mgorny@gentoo> (raw)
commit: 1ff14a8839e351ec88f03f61fb155e4fd697ecd0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 10 09:44:55 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 10 10:06:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff14a88
dev-python/flaky: Enable py3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/flaky/flaky-3.7.0-r2.ebuild | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/dev-python/flaky/flaky-3.7.0-r2.ebuild b/dev-python/flaky/flaky-3.7.0-r2.ebuild
index 0fc2e88f1e60..b5f07b9b77d0 100644
--- a/dev-python/flaky/flaky-3.7.0-r2.ebuild
+++ b/dev-python/flaky/flaky-3.7.0-r2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1
@@ -22,15 +22,21 @@ DEPEND="
test? (
dev-python/genty[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/nose[${PYTHON_USEDEP}]
+ ' python3_{8..10} pypy3)
)
"
python_test() {
- nosetests --with-flaky --exclude="test_nose_options_example" test/test_nose/ || die
epytest -k 'example and not options' --doctest-modules test/test_pytest/ || die
epytest -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py || die
- nosetests --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py || die
epytest --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py || die
+
+ # please keep this in sync with python_gen_cond_dep!
+ if has "${EPYTHON}" python3_{8..10} pypy3; then
+ "${EPYTHON}" -m nose --with-flaky --exclude="test_nose_options_example" test/test_nose/ || die
+ "${EPYTHON}" -m nose --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py || die
+ fi
}
next reply other threads:[~2022-05-10 10:07 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-10 10:07 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-09 13:12 [gentoo-commits] repo/gentoo:master commit in: dev-python/flaky/ Michał Górny
2024-05-09 13:12 Michał Górny
2024-03-30 14:14 Michał Górny
2024-03-30 13:59 Michał Górny
2024-03-13 6:51 Michał Górny
2024-03-11 4:10 Michał Górny
2024-03-05 5:18 Michał Górny
2023-05-23 15:42 Michał Górny
2023-03-03 17:48 Michał Górny
2023-03-03 17:48 Michał Górny
2023-03-03 17:37 Arthur Zamarin
2023-02-01 13:18 Michał Górny
2022-12-25 9:43 Michał Górny
2022-06-10 6:54 Michał Górny
2022-06-10 3:09 Sam James
2022-05-10 10:07 Michał Górny
2021-05-06 18:45 Michał Górny
2020-11-28 15:26 Sam James
2020-10-16 18:22 Michał Górny
2020-09-20 15:38 Michał Górny
2020-09-18 14:48 Michał Górny
2020-09-08 22:46 Sam James
2020-09-08 19:11 Michał Górny
2020-07-10 6:30 Michał Górny
2020-05-25 19:48 Michał Górny
2020-01-26 17:21 Michał Górny
2019-12-24 14:21 Mikle Kolyada
2019-12-19 18:35 Sergei Trofimovich
2019-12-15 13:53 Agostino Sarubbo
2019-12-15 13:36 Sergei Trofimovich
2019-12-15 13:24 Sergei Trofimovich
2019-12-15 11:38 Agostino Sarubbo
2019-12-02 21:13 Aaron Bauman
2019-11-15 23:51 Michał Górny
2019-11-15 23:51 Michał Górny
2019-04-09 1:32 Aaron Bauman
2019-02-27 4:39 Aaron Bauman
2018-11-19 21:15 Fabian Groffen
2018-08-18 3:03 Mikle Kolyada
2018-02-21 22:11 Michał Górny
2017-10-08 16:53 Tim Harder
2017-08-02 4:06 Sebastien Fabbro
2017-08-01 20:06 Michał Górny
2017-05-02 11:58 Michał Górny
2017-01-21 11:48 Jeroen Roovers
2016-12-06 19:35 Markus Meier
2016-11-27 15:09 Tobias Klausmann
2016-11-27 13:51 Tobias Klausmann
2016-11-25 18:54 Agostino Sarubbo
2016-11-25 18:27 Agostino Sarubbo
2016-07-18 9:56 Patrick Lauer
2016-02-18 18:14 Patrick Lauer
2016-01-20 8:20 Justin Lecher
2016-01-07 8:56 Justin Lecher
2015-11-06 10:44 Justin Lecher
2015-11-04 14:15 Justin Lecher
2015-11-04 14:15 Justin Lecher
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=1652177214.1ff14a8839e351ec88f03f61fb155e4fd697ecd0.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