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/qtconsole/
Date: Sat,  2 Sep 2023 19:03:33 +0000 (UTC)	[thread overview]
Message-ID: <1693681410.c5ab8e36259f43b67b6c47467c1539147a0b16a8.mgorny@gentoo> (raw)

commit:     c5ab8e36259f43b67b6c47467c1539147a0b16a8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  2 17:54:12 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 19:03:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ab8e36

dev-python/qtconsole: Reenable virtualx

I can no longer reproduce the segfaults when using virtualx, so let's
reenable full testing.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/qtconsole/qtconsole-5.4.3-r1.ebuild | 67 ++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/dev-python/qtconsole/qtconsole-5.4.3-r1.ebuild b/dev-python/qtconsole/qtconsole-5.4.3-r1.ebuild
new file mode 100644
index 000000000000..2dd67dae4c33
--- /dev/null
+++ b/dev-python/qtconsole/qtconsole-5.4.3-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi virtualx
+
+DESCRIPTION="Qt-based console for Jupyter with support for rich media output"
+HOMEPAGE="
+	https://jupyter.org/
+	https://github.com/jupyter/qtconsole/
+	https://pypi.org/project/qtconsole/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+	>=dev-python/ipykernel-4.1[${PYTHON_USEDEP}]
+	dev-python/ipython_genutils[${PYTHON_USEDEP}]
+	dev-python/jupyter-core[${PYTHON_USEDEP}]
+	>=dev-python/jupyter-client-4.1.1[${PYTHON_USEDEP}]
+	dev-python/packaging[${PYTHON_USEDEP}]
+	dev-python/pygments[${PYTHON_USEDEP}]
+	>=dev-python/pyzmq-17.1[${PYTHON_USEDEP}]
+	>=dev-python/traitlets-5.2.2_p1[${PYTHON_USEDEP}]
+	>=dev-python/QtPy-2.0.1[${PYTHON_USEDEP},gui,printsupport,svg]
+"
+BDEPEND="
+	test? (
+		dev-python/flaky[${PYTHON_USEDEP}]
+		dev-python/pytest-qt[${PYTHON_USEDEP}]
+		dev-python/QtPy[${PYTHON_USEDEP},svg,testlib]
+	)
+"
+
+PDEPEND="
+	dev-python/ipython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+src_test() {
+	virtx distutils-r1_src_test
+}
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# TODO; expects exact HTML, so perhaps fragile
+		qtconsole/tests/test_jupyter_widget.py::TestJupyterWidget::test_other_output
+	)
+	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}"
+			nonfatal epytest ||
+				die "Tests failed with ${EPYTHON} / ${QT_API}"
+		fi
+	done
+}


             reply	other threads:[~2023-09-02 19:03 UTC|newest]

Thread overview: 101+ 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-09-14 13:38 [gentoo-commits] repo/gentoo:master commit in: dev-python/qtconsole/ 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=1693681410.c5ab8e36259f43b67b6c47467c1539147a0b16a8.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