From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_console/files/, dev-python/jupyter_console/
Date: Mon, 17 Aug 2020 20:36:45 +0000 (UTC) [thread overview]
Message-ID: <1597696587.3ceace4184d6cecb81c0ed7c4a9b6c246a6c6768.soap@gentoo> (raw)
commit: 3ceace4184d6cecb81c0ed7c4a9b6c246a6c6768
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 17 20:36:27 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Aug 17 20:36:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ceace41
dev-python/jupyter_console: Increase test timeout to 5 min
Closes: https://bugs.gentoo.org/734564
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../jupyter_console-6.1.0-increase-test-timeout.patch | 15 +++++++++++++++
.../jupyter_console/jupyter_console-6.1.0-r1.ebuild | 12 ++++++------
2 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/dev-python/jupyter_console/files/jupyter_console-6.1.0-increase-test-timeout.patch b/dev-python/jupyter_console/files/jupyter_console-6.1.0-increase-test-timeout.patch
new file mode 100644
index 00000000000..684ecfc0a84
--- /dev/null
+++ b/dev-python/jupyter_console/files/jupyter_console-6.1.0-increase-test-timeout.patch
@@ -0,0 +1,15 @@
+Very slow CIs take longer on this test
+
+--- a/jupyter_console/tests/test_console.py
++++ b/jupyter_console/tests/test_console.py
+@@ -65,8 +65,8 @@
+ except IOError:
+ raise SkipTest("Couldn't find command %s" % cmd)
+
+- # timeout after one minute
+- t = 60
++ # timeout after 5 minutes
++ t = 300
+ idx = p.expect(r'In \[\d+\]', timeout=t)
+ return p, pexpect, t
+
diff --git a/dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild b/dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild
index a17d1256538..f4844cb2c7c 100644
--- a/dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild
+++ b/dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild
@@ -20,27 +20,27 @@ RDEPEND="
dev-python/ipykernel[${PYTHON_USEDEP}]
dev-python/jupyter_client[${PYTHON_USEDEP}]
<dev-python/prompt_toolkit-3.1.0[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- "
+ dev-python/pygments[${PYTHON_USEDEP}]"
# util-linux provides script(1)
BDEPEND="
test? (
dev-python/pexpect[${PYTHON_USEDEP}]
sys-apps/util-linux
- )
- "
+ )"
distutils_enable_sphinx docs
distutils_enable_tests nose
PATCHES=(
"${FILESDIR}"/${P}-py39.patch
+ "${FILESDIR}"/${P}-increase-test-timeout.patch
)
-src_prepare() {
+python_prepare_all() {
# use setuptools unconditionally
sed -i -e 's:distutils\.core:setuptools:' setup.py || die
- distutils-r1_src_prepare
+
+ distutils-r1_python_prepare_all
}
python_test() {
reply other threads:[~2020-08-17 20:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1597696587.3ceace4184d6cecb81c0ed7c4a9b6c246a6c6768.soap@gentoo \
--to=soap@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