From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qtconsole/
Date: Sat, 2 Sep 2023 19:03:33 +0000 (UTC) [thread overview]
Message-ID: <1693681409.340db7d8a06cb02fa0ecb39cef6386fac167d196.mgorny@gentoo> (raw)
commit: 340db7d8a06cb02fa0ecb39cef6386fac167d196
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 2 17:43:57 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 2 19:03:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=340db7d8
dev-python/qtconsole: Test against available QtPy backends
Run the test suite against all the backends that are supported by
the installed QtPy version rather than incidentally forcing pyside.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/qtconsole/qtconsole-5.4.3.ebuild | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/dev-python/qtconsole/qtconsole-5.4.3.ebuild b/dev-python/qtconsole/qtconsole-5.4.3.ebuild
index 6ec82c52c0bf..3cd57fe34ba3 100644
--- a/dev-python/qtconsole/qtconsole-5.4.3.ebuild
+++ b/dev-python/qtconsole/qtconsole-5.4.3.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 pypi
@@ -31,10 +31,9 @@ RDEPEND="
>=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}]
>=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},gui,printsupport,svg]
"
-# The test suite tests both against pyqt5 *and* pyside2
BDEPEND="
test? (
- dev-python/QtPy[pyqt5,pyside2,${PYTHON_USEDEP},svg,testlib]
+ dev-python/QtPy[${PYTHON_USEDEP},svg,testlib]
)
"
# required by the tests that are removed:
@@ -51,9 +50,16 @@ distutils_enable_tests pytest
python_test() {
# TODO: these tests require virtx; however, running under virtx
# causes pytest to segv on exit (even though tests pass)
- EPYTEST_IGNORE=(
+ local EPYTEST_IGNORE=(
qtconsole/tests/test_00_console_widget.py
qtconsole/tests/test_jupyter_widget.py
)
- epytest
+ local -x QT_API
+ for QT_API in pyqt5 pyqt6 pyside2 pyside6; do
+ if has_version "dev-python/QtPy[${QT_API}]"; then
+ local -x PYTEST_QT_API=${QT_API}
+ einfo "Testing with ${QT_API}"
+ epytest
+ fi
+ done
}
next reply other threads:[~2023-09-02 19:03 UTC|newest]
Thread overview: 104+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-02 19:03 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-16 9:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/qtconsole/ Michał Górny
2024-11-16 8:47 Arthur Zamarin
2024-10-29 6:51 Michał Górny
2024-09-14 13:38 Arthur Zamarin
2024-08-29 4:52 Michał Górny
2024-07-12 10:36 Michał Górny
2024-05-22 9:10 Michał Górny
2024-05-22 9:05 Michał Górny
2024-05-06 15:29 Michał Górny
2024-03-06 9:52 Jakov Smolić
2023-12-16 13:47 Michał Górny
2023-12-16 10:59 Arthur Zamarin
2023-11-16 4:09 Michał Górny
2023-11-06 6:22 Michał Górny
2023-10-24 17:51 Michał Górny
2023-09-10 5:27 WANG Xuerui
2023-09-02 19:19 Michał Górny
2023-09-02 19:03 Michał Górny
2023-06-06 5:57 Michał Górny
2023-06-06 1:03 Sam James
2023-05-06 4:37 Michał Górny
2023-04-22 10:10 Michał Górny
2023-04-22 9:25 Arthur Zamarin
2023-04-03 2:50 Michał Górny
2023-03-12 13:27 Michał Górny
2023-02-03 15:08 Michał Górny
2023-02-03 12:47 Arthur Zamarin
2022-12-05 17:24 WANG Xuerui
2022-11-02 7:37 Michał Górny
2022-10-27 9:48 Andrew Ammerlaan
2022-10-04 6:54 Michał Górny
2022-10-03 21:41 Sam James
2022-08-30 5:45 Michał Górny
2022-07-10 19:16 Michał Górny
2022-07-10 19:08 Arthur Zamarin
2022-06-14 8:13 Michał Górny
2022-06-14 7:10 Agostino Sarubbo
2022-06-06 5:26 Michał Górny
2022-05-27 7:32 Michał Górny
2022-04-02 7:33 Arthur Zamarin
2022-03-31 14:31 Andrew Ammerlaan
2022-02-13 15:13 Sam James
2021-12-14 13:33 Andrew Ammerlaan
2021-12-14 10:21 Michał Górny
2021-11-24 23:31 Andrew Ammerlaan
2021-11-16 6:19 Sam James
2021-08-02 5:44 Michał Górny
2021-08-01 23:49 Sam James
2021-07-01 14:45 Michał Górny
2021-06-29 18:17 Michał Górny
2021-06-05 21:20 Michał Górny
2021-06-05 20:35 Sam James
2021-05-03 9:16 Michał Górny
2021-04-18 7:05 Michał Górny
2021-04-18 1:41 Sam James
2021-03-17 7:48 Michał Górny
2021-02-25 19:36 Michał Górny
2021-02-25 19:00 Sam James
2021-01-22 9:55 Michał Górny
2020-12-27 19:48 Michał Górny
2020-12-27 19:01 Sam James
2020-11-25 8:37 Michał Górny
2020-11-24 7:43 Michał Górny
2020-10-18 23:55 Sam James
2020-09-05 15:25 Sam James
2020-09-05 3:08 Sam James
2020-09-04 3:30 Michał Górny
2020-09-02 9:12 Michał Górny
2020-08-21 15:36 Agostino Sarubbo
2020-08-18 8:50 Michał Górny
2020-08-18 8:17 Michał Górny
2020-08-03 3:11 Sam James
2020-07-31 22:33 Aaron Bauman
2020-07-31 0:50 Sam James
2020-07-07 20:01 Michał Górny
2020-07-07 20:01 Michał Górny
2020-06-23 6:03 Michał Górny
2020-06-23 6:03 Michał Górny
2020-06-10 8:11 Michał Górny
2020-06-10 7:32 Michał Górny
2020-06-10 7:31 Michał Górny
2020-06-09 12:42 Michał Górny
2020-05-03 2:51 Mike Gilbert
2020-03-17 8:08 Michał Górny
2019-12-23 8:13 Benda XU
2019-12-04 17:15 Michał Górny
2019-12-04 17:15 Michał Górny
2019-05-05 7:15 Michał Górny
2018-05-16 15:58 Andreas Sturmlechner
2018-05-16 12:28 Agostino Sarubbo
2018-04-22 1:35 Thomas Deutschmann
2017-12-12 21:49 Patrice Clement
2017-12-12 20:55 Patrice Clement
2017-09-13 12:07 Michael Palimaka
2017-09-13 12:07 Michael Palimaka
2017-07-10 13:15 Alexis Ballier
2017-04-18 19:25 Kacper Kowalik
2017-04-16 19:05 David Seifert
2016-11-12 13:18 Patrice Clement
2016-11-03 17:37 David Seifert
2016-04-02 8:24 David Seifert
2016-02-23 9:22 Justin Lecher
2015-11-28 17:33 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=1693681409.340db7d8a06cb02fa0ecb39cef6386fac167d196.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