* [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_client/files/, dev-python/jupyter_client/
@ 2020-03-27 20:22 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2020-03-27 20:22 UTC (permalink / raw
To: gentoo-commits
commit: ab55bf3c80228d7533b67e8b6cf5269570825721
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 27 20:15:31 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 27 20:22:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab55bf3c
dev-python/jupyter_client: Remove redundant versions
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/jupyter_client/Manifest | 2 --
.../files/jupyter_client-5.1.0-setuptools.patch | 39 ---------------------
.../jupyter_client/jupyter_client-5.1.0-r1.ebuild | 40 ----------------------
.../jupyter_client/jupyter_client-5.2.3.ebuild | 38 --------------------
.../jupyter_client/jupyter_client-5.2.4.ebuild | 38 --------------------
5 files changed, 157 deletions(-)
diff --git a/dev-python/jupyter_client/Manifest b/dev-python/jupyter_client/Manifest
index 18c6cb40c70..b6e486f6a93 100644
--- a/dev-python/jupyter_client/Manifest
+++ b/dev-python/jupyter_client/Manifest
@@ -1,4 +1,2 @@
-DIST jupyter_client-5.1.0.tar.gz 265233 BLAKE2B 1f4533e1c6578e61b1a7591889805d5e324a3cd368cb3998131f2047056c87984ae26d83c9de0277aa6f19b61db4c4d9b39083b795e0891ef7d5394949b5fa44 SHA512 eca7adab1f8aae05743c341a257d4ca4338b0838cc3441939dda48229cdfa13b267bdc338b951bc4e6e139d03d26b40a1294140218f84ab800d211f7e0d8bfc7
DIST jupyter_client-5.2.3.tar.gz 271787 BLAKE2B 36761e53050874c141c38f545f8f6fb53c144c30f686b3706594d124a65e410c205379b7ecbeed12f1520f0f568c7db3c802223f6fdb8f76407074beacc21918 SHA512 89b980ecc281bc1512e1fc4ba35862cc6e541f825ee07a1382d300c8088f24611225ab415d6a7c1e4209c47a74c113ec95f863e8fb0b33c6db9eb9c3521fc0ae
-DIST jupyter_client-5.2.4.tar.gz 273397 BLAKE2B a63e13fea7bf121cfe0191d702bf5398a72902e075d560ec235eec6c28492a89753a90efe642fc207ab23357e74aac566bbfbeeb7970b765bf53641caa7ac95f SHA512 a8bb322e4cbcfa5ab9ffbcfdbf2e2ea60e7923f415d7574a93866e99c03a8c5b0a11d7c82e9c4c1c69f4da1261563f419877dffd5347294a58a744c445271a53
DIST jupyter_client-5.3.4.tar.gz 275850 BLAKE2B a0884fb6cd2858b3ecf8353c6dc180370a53b4d59f77fdeb33c972c72857650e2e8b64ac5f6c9d223a99f30bb9ad9e06673cfe14b2d79abc0e4363104ffd15c3 SHA512 54b5206c08f5119feb50deb2d815d79a178799ad5c1231a0d03fc950ebbf6cb2f7c3a757024f788d416f808c57aa8476fcfa110f63182314bf2d5cdeb9a006cf
diff --git a/dev-python/jupyter_client/files/jupyter_client-5.1.0-setuptools.patch b/dev-python/jupyter_client/files/jupyter_client-5.1.0-setuptools.patch
deleted file mode 100644
index ff7dcb0f3d4..00000000000
--- a/dev-python/jupyter_client/files/jupyter_client-5.1.0-setuptools.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From f9bd2643d42b3354b27e64368d8c15cad18101d2 Mon Sep 17 00:00:00 2001
-From: Philipp A <flying-sheep@web.de>
-Date: Tue, 8 Aug 2017 17:38:52 +0200
-Subject: [PATCH] Always use setuptools if availabe
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-When running `python* setup.py install`, the `jupyter-run` script doesn’t get installed without this.
----
- setup.py | 8 +++++++-
- 1 file changed, 7 insertions(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 60fa17c..0831f7a 100644
---- a/setup.py
-+++ b/setup.py
-@@ -70,6 +70,7 @@
- ],
- )
-
-+# require setuptools for these cases
- if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
- import setuptools
-
-@@ -85,7 +86,12 @@
- 'test': ['ipykernel', 'ipython', 'mock', 'pytest'],
- }
-
--if 'setuptools' in sys.modules:
-+# always try to use setuptools if available
-+try:
-+ import setuptools
-+except ImportError:
-+ pass
-+else:
- setup_args.update(setuptools_args)
- setup_args['entry_points'] = {
- 'console_scripts': [
diff --git a/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild b/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild
deleted file mode 100644
index 88438e3011c..00000000000
--- a/dev-python/jupyter_client/jupyter_client-5.1.0-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{6,7} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter protocol implementation and client libraries"
-HOMEPAGE="https://jupyter.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/python-dateutil[${PYTHON_USEDEP}]
- dev-python/traitlets[${PYTHON_USEDEP}]
- dev-python/jupyter_core[${PYTHON_USEDEP}]
- >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-cov[${PYTHON_USEDEP}]
- dev-python/ipykernel[${PYTHON_USEDEP}]
- )
- "
-
-python_test() {
- pytest --cov jupyter_client jupyter_client || die
-}
-
-PATCHES=( "${FILESDIR}"/${PN}-5.1.0-setuptools.patch )
diff --git a/dev-python/jupyter_client/jupyter_client-5.2.3.ebuild b/dev-python/jupyter_client/jupyter_client-5.2.3.ebuild
deleted file mode 100644
index ab6c45328e0..00000000000
--- a/dev-python/jupyter_client/jupyter_client-5.2.3.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{6,7} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter protocol implementation and client libraries"
-HOMEPAGE="https://jupyter.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/python-dateutil[${PYTHON_USEDEP}]
- dev-python/traitlets[${PYTHON_USEDEP}]
- dev-python/jupyter_core[${PYTHON_USEDEP}]
- >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/pytest-cov[${PYTHON_USEDEP}]
- dev-python/ipykernel[${PYTHON_USEDEP}]
- )
- "
-
-python_test() {
- pytest --cov jupyter_client jupyter_client || die
-}
diff --git a/dev-python/jupyter_client/jupyter_client-5.2.4.ebuild b/dev-python/jupyter_client/jupyter_client-5.2.4.ebuild
deleted file mode 100644
index ce3429206f4..00000000000
--- a/dev-python/jupyter_client/jupyter_client-5.2.4.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter protocol implementation and client libraries"
-HOMEPAGE="https://jupyter.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-python/python-dateutil[${PYTHON_USEDEP}]
- dev-python/traitlets[${PYTHON_USEDEP}]
- dev-python/jupyter_core[${PYTHON_USEDEP}]
- >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
- www-servers/tornado[${PYTHON_USEDEP}]
- "
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/ipykernel[${PYTHON_USEDEP}]
- )
- "
-
-python_test() {
- pytest -vv jupyter_client || die
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_client/files/, dev-python/jupyter_client/
@ 2020-12-22 9:00 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2020-12-22 9:00 UTC (permalink / raw
To: gentoo-commits
commit: 54cec34b3cfbd07c43fcb4818febcb6477829cfb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 22 08:45:30 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 08:45:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54cec34b
dev-python/jupyter_client: Fix tests with dev-python/msgpack-1*
Closes: https://bugs.gentoo.org/761217
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../files/jupyter_client-6.1.6-msgpack-1.patch | 28 ++++++++++++++++++++++
.../jupyter_client/jupyter_client-6.1.6-r2.ebuild | 4 ++++
2 files changed, 32 insertions(+)
diff --git a/dev-python/jupyter_client/files/jupyter_client-6.1.6-msgpack-1.patch b/dev-python/jupyter_client/files/jupyter_client-6.1.6-msgpack-1.patch
new file mode 100644
index 00000000000..34a95d04ac7
--- /dev/null
+++ b/dev-python/jupyter_client/files/jupyter_client-6.1.6-msgpack-1.patch
@@ -0,0 +1,28 @@
+From bb973fa33952c1a803097852c031b3979dae607c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Tue, 22 Dec 2020 09:38:13 +0100
+Subject: [PATCH] Fix test_session with msgpack-1
+
+Replace the encoding parameter with raw=False to fix test_session
+with msgpack-1.0.0+. The encoding parameter was already deprecated
+in msgpack-0.6.2, and raw=False is compatible with that version too.
+---
+ jupyter_client/tests/test_session.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/jupyter_client/tests/test_session.py b/jupyter_client/tests/test_session.py
+index d0ec662..45be9a9 100644
+--- a/jupyter_client/tests/test_session.py
++++ b/jupyter_client/tests/test_session.py
+@@ -304,7 +304,7 @@ class TestSession(SessionTestCase):
+
+ session = ss.Session(
+ pack=msgpack.packb,
+- unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
++ unpack=lambda buf: msgpack.unpackb(buf, raw=False),
+ )
+ self._datetime_test(session)
+
+--
+2.29.2
+
diff --git a/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild b/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild
index 7f009cdea52..50c5df6246e 100644
--- a/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild
+++ b/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild
@@ -32,3 +32,7 @@ DEPEND="${RDEPEND}
)"
distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/${P}-msgpack-1.patch
+)
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_client/files/, dev-python/jupyter_client/
@ 2021-02-19 8:58 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2021-02-19 8:58 UTC (permalink / raw
To: gentoo-commits
commit: f1528904b9ad123f114b0233e4d22a7fe838bbff
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 08:56:37 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 08:57:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1528904
dev-python/jupyter_client: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/jupyter_client/Manifest | 2 --
.../files/jupyter_client-6.1.6-msgpack-1.patch | 28 ----------------
.../jupyter_client/jupyter_client-6.1.10.ebuild | 35 --------------------
.../jupyter_client/jupyter_client-6.1.6-r2.ebuild | 38 ----------------------
4 files changed, 103 deletions(-)
diff --git a/dev-python/jupyter_client/Manifest b/dev-python/jupyter_client/Manifest
index 4a81c337ade..05523cebb23 100644
--- a/dev-python/jupyter_client/Manifest
+++ b/dev-python/jupyter_client/Manifest
@@ -1,3 +1 @@
-DIST jupyter_client-6.1.10.tar.gz 293620 BLAKE2B 87052ae5b07195a6a51d6308b06d0543850e23a7494602c61811270b8eea619b9337ee0e9069f9d905f1397aa5fc48710b5a894b21fb0328d397168508d34dbc SHA512 8a6d63b95e95e3230882ea67892fe87a24b43d0e85aa910ff8056c2067bb2bc2640d1896f851d0441234f9db27c2a876925988d141b2ed35287ae3e0e5b1eacb
DIST jupyter_client-6.1.11.tar.gz 293651 BLAKE2B 73a8567927c452a6a6a591eed04d592c6bb52211214e6d27ae816a2ce07a61c3f80991a2209b42c1d679ff6d3ead564f6ac97e6500473e0e5bd86bad83db07c1 SHA512 3cd6c3d299ea7097b04ad88b08dad8c23d90c5feee18bf441434a6069151b85717c4d00d2c186c463995d26383442c4f63c86565b1606e60afb61426515f9a11
-DIST jupyter_client-6.1.6.tar.gz 292265 BLAKE2B 46f5b814577c8b1351ce42eb3de4a3032bb2917512f0c9cfc07fddc991698e192b628c03a9ce0d98817dfebcf4af0386fa4ee656b524f54c36de64781af3b8dd SHA512 9a443a2b4a86d823d1403a05d359b50ca95efb8e1dd992d331699e3fe2b46e5d4190cc55aa5d110a384fc0bb94abceaa4e36f67c0f7ce5a33f9ef3b11e682522
diff --git a/dev-python/jupyter_client/files/jupyter_client-6.1.6-msgpack-1.patch b/dev-python/jupyter_client/files/jupyter_client-6.1.6-msgpack-1.patch
deleted file mode 100644
index 34a95d04ac7..00000000000
--- a/dev-python/jupyter_client/files/jupyter_client-6.1.6-msgpack-1.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From bb973fa33952c1a803097852c031b3979dae607c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Tue, 22 Dec 2020 09:38:13 +0100
-Subject: [PATCH] Fix test_session with msgpack-1
-
-Replace the encoding parameter with raw=False to fix test_session
-with msgpack-1.0.0+. The encoding parameter was already deprecated
-in msgpack-0.6.2, and raw=False is compatible with that version too.
----
- jupyter_client/tests/test_session.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/jupyter_client/tests/test_session.py b/jupyter_client/tests/test_session.py
-index d0ec662..45be9a9 100644
---- a/jupyter_client/tests/test_session.py
-+++ b/jupyter_client/tests/test_session.py
-@@ -304,7 +304,7 @@ class TestSession(SessionTestCase):
-
- session = ss.Session(
- pack=msgpack.packb,
-- unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'),
-+ unpack=lambda buf: msgpack.unpackb(buf, raw=False),
- )
- self._datetime_test(session)
-
---
-2.29.2
-
diff --git a/dev-python/jupyter_client/jupyter_client-6.1.10.ebuild b/dev-python/jupyter_client/jupyter_client-6.1.10.ebuild
deleted file mode 100644
index 3b7ac8d7e06..00000000000
--- a/dev-python/jupyter_client/jupyter_client-6.1.10.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="threads(+)"
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter protocol implementation and client libraries"
-HOMEPAGE="https://jupyter.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-RDEPEND="
- dev-python/async_generator[${PYTHON_USEDEP}]
- <dev-python/jedi-0.17.3[${PYTHON_USEDEP}]
- dev-python/jupyter_core[${PYTHON_USEDEP}]
- dev-python/python-dateutil[${PYTHON_USEDEP}]
- >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
- dev-python/traitlets[${PYTHON_USEDEP}]
- www-servers/tornado[${PYTHON_USEDEP}]"
-DEPEND="
- test? (
- dev-python/ipykernel[${PYTHON_USEDEP}]
- dev-python/ipython[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- )"
-
-distutils_enable_tests pytest
diff --git a/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild b/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild
deleted file mode 100644
index 50c5df6246e..00000000000
--- a/dev-python/jupyter_client/jupyter_client-6.1.6-r2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE="threads(+)"
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter protocol implementation and client libraries"
-HOMEPAGE="https://jupyter.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm64 x86"
-
-RDEPEND="
- dev-python/async_generator[${PYTHON_USEDEP}]
- dev-python/python-dateutil[${PYTHON_USEDEP}]
- dev-python/traitlets[${PYTHON_USEDEP}]
- dev-python/jupyter_core[${PYTHON_USEDEP}]
- >=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
- www-servers/tornado[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- test? (
- dev-python/ipykernel[${PYTHON_USEDEP}]
- dev-python/ipython[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- )"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${P}-msgpack-1.patch
-)
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_client/files/, dev-python/jupyter_client/
@ 2021-11-15 2:12 Sam James
0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2021-11-15 2:12 UTC (permalink / raw
To: gentoo-commits
commit: c11eee0ca996a3ee245ba9faa659aff7851973fe
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 15 02:11:42 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 15 02:12:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c11eee0c
dev-python/jupyter_client: crank up test timeouts
Failed on ia64 b/c of these. Probably affects other arches too.
Bug: https://bugs.gentoo.org/823521
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/jupyter_client-7.0.6-test-timeout.patch | 38 ++++++++++++++++++++++
.../jupyter_client/jupyter_client-7.0.6.ebuild | 6 +++-
2 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/dev-python/jupyter_client/files/jupyter_client-7.0.6-test-timeout.patch b/dev-python/jupyter_client/files/jupyter_client-7.0.6-test-timeout.patch
new file mode 100644
index 000000000000..740677c13d00
--- /dev/null
+++ b/dev-python/jupyter_client/files/jupyter_client-7.0.6-test-timeout.patch
@@ -0,0 +1,38 @@
+Avoid test timeouts on slower hosts like e.g. ia64 (guppy):
+```
+FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[tcp] - Failed: Timeout >30.0s
+FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc] - Failed: Timeout >30.0s
+```
+--- a/jupyter_client/tests/test_client.py
++++ b/jupyter_client/tests/test_client.py
+@@ -13,7 +13,7 @@ from jupyter_client.kernelspec import KernelSpecManager
+ from jupyter_client.kernelspec import NATIVE_KERNEL_NAME
+ from jupyter_client.kernelspec import NoSuchKernel
+
+-TIMEOUT = 30
++TIMEOUT = 180
+
+ pjoin = os.path.join
+
+--- a/jupyter_client/tests/test_kernelmanager.py
++++ b/jupyter_client/tests/test_kernelmanager.py
+@@ -24,7 +24,7 @@ from jupyter_client import KernelManager
+
+ pjoin = os.path.join
+
+-TIMEOUT = 30
++TIMEOUT = 180
+
+
+ @pytest.fixture(params=["tcp", "ipc"])
+--- a/jupyter_client/tests/test_multikernelmanager.py
++++ b/jupyter_client/tests/test_multikernelmanager.py
+@@ -22,7 +22,7 @@ from jupyter_client import KernelManager
+ from jupyter_client.multikernelmanager import AsyncMultiKernelManager
+ from jupyter_client.multikernelmanager import MultiKernelManager
+
+-TIMEOUT = 30
++TIMEOUT = 180
+
+
+ class TestKernelManager(TestCase):
diff --git a/dev-python/jupyter_client/jupyter_client-7.0.6.ebuild b/dev-python/jupyter_client/jupyter_client-7.0.6.ebuild
index 210df0a135a0..b704bb49a001 100644
--- a/dev-python/jupyter_client/jupyter_client-7.0.6.ebuild
+++ b/dev-python/jupyter_client/jupyter_client-7.0.6.ebuild
@@ -32,9 +32,13 @@ BDEPEND="
dev-python/pytest-timeout[${PYTHON_USEDEP}]
)"
-distutils_enable_tests pytest
+PATCHES=(
+ "${FILESDIR}"/${PN}-7.0.6-test-timeout.patch
+)
EPYTEST_DESELECT=(
jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_signal_kernel_subprocesses
jupyter_client/tests/test_kernelmanager.py::TestKernelManagerShutDownGracefully::test_async_signal_kernel_subprocesses
)
+
+distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_client/files/, dev-python/jupyter_client/
@ 2023-04-14 13:28 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2023-04-14 13:28 UTC (permalink / raw
To: gentoo-commits
commit: 111e9cd84949719759d418928247244278a74926
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 14 13:17:51 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 14 13:17:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=111e9cd8
dev-python/jupyter_client: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/jupyter_client/Manifest | 1 -
.../files/jupyter_client-7.0.6-test-timeout.patch | 38 ------------------
.../jupyter_client/jupyter_client-7.4.9.ebuild | 46 ----------------------
3 files changed, 85 deletions(-)
diff --git a/dev-python/jupyter_client/Manifest b/dev-python/jupyter_client/Manifest
index dad45aeddbff..ba4e36dadfe1 100644
--- a/dev-python/jupyter_client/Manifest
+++ b/dev-python/jupyter_client/Manifest
@@ -1,4 +1,3 @@
-DIST jupyter_client-7.4.9.tar.gz 329115 BLAKE2B 8b43b237ac79bc51e40e403cf4a3ada18d03437094dc1dd9b9988adb1bcfbc56ba4b2373d3dd858df583b723723127f934c01544f3d6a576886b012364674f0f SHA512 0de91309ffddd2da50ae69bff4f7ecd741398171982f66488e6367d78388c6844b353bed1834684fa4af890364120ce09f2fa6b3ed7778c501058ae558439969
DIST jupyter_client-8.0.3.tar.gz 334366 BLAKE2B 04ea6e8206fe0b741da1ba0d17cb559657824c20f4fcff48fd0ce4287dce7da9a151000e7a0f08cbf3fa6b1868d8d7e424d49d70a258283466350946f4ce5220 SHA512 27eca49e44c13d819624c6ab596b24b9b469f82a788920eb4db02cee43c2efdf22ea68bf282f5f4ca28d38c9238d51d70d7aa214f2c3b8f6c2a7ebcaf12d567c
DIST jupyter_client-8.1.0.tar.gz 335241 BLAKE2B d9491f958b21ba09494bf42ff5a3bae786388a16c007f5756df8900fc53c6fdb4d67bff09b16290338d07fc3c3466483f20ab82482fb235e0e55481294eaeef1 SHA512 21317e5ca61b72408e94116f0be545753088d891742579fcf7a451be179a7783dc153d2898e0ff50ce06017f90cb48f907a5bb056090b13ec0da2af7287f6dcd
DIST jupyter_client-8.2.0.tar.gz 335567 BLAKE2B e02f8813d12ec8ba0e15291dad04cfaeeb98ea524050a10d142d74af203e43aa1c2e22e7fd7b071c05831b3dd644985a42e38f59fee65f4570e5eb88bbc9fbb1 SHA512 1337c4f2d93d9cd2ae5e3d8f30a8e4af69dad6e09c97e949d9300df0668be4da91134c73da06eb417c10ff2c09fd7beb28699e7a17502ceee3453cb9323b4363
diff --git a/dev-python/jupyter_client/files/jupyter_client-7.0.6-test-timeout.patch b/dev-python/jupyter_client/files/jupyter_client-7.0.6-test-timeout.patch
deleted file mode 100644
index 740677c13d00..000000000000
--- a/dev-python/jupyter_client/files/jupyter_client-7.0.6-test-timeout.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Avoid test timeouts on slower hosts like e.g. ia64 (guppy):
-```
-FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[tcp] - Failed: Timeout >30.0s
-FAILED jupyter_client/tests/test_kernelmanager.py::TestParallel::test_start_sequence_kernels[ipc] - Failed: Timeout >30.0s
-```
---- a/jupyter_client/tests/test_client.py
-+++ b/jupyter_client/tests/test_client.py
-@@ -13,7 +13,7 @@ from jupyter_client.kernelspec import KernelSpecManager
- from jupyter_client.kernelspec import NATIVE_KERNEL_NAME
- from jupyter_client.kernelspec import NoSuchKernel
-
--TIMEOUT = 30
-+TIMEOUT = 180
-
- pjoin = os.path.join
-
---- a/jupyter_client/tests/test_kernelmanager.py
-+++ b/jupyter_client/tests/test_kernelmanager.py
-@@ -24,7 +24,7 @@ from jupyter_client import KernelManager
-
- pjoin = os.path.join
-
--TIMEOUT = 30
-+TIMEOUT = 180
-
-
- @pytest.fixture(params=["tcp", "ipc"])
---- a/jupyter_client/tests/test_multikernelmanager.py
-+++ b/jupyter_client/tests/test_multikernelmanager.py
-@@ -22,7 +22,7 @@ from jupyter_client import KernelManager
- from jupyter_client.multikernelmanager import AsyncMultiKernelManager
- from jupyter_client.multikernelmanager import MultiKernelManager
-
--TIMEOUT = 30
-+TIMEOUT = 180
-
-
- class TestKernelManager(TestCase):
diff --git a/dev-python/jupyter_client/jupyter_client-7.4.9.ebuild b/dev-python/jupyter_client/jupyter_client-7.4.9.ebuild
deleted file mode 100644
index b02431ea8cf2..000000000000
--- a/dev-python/jupyter_client/jupyter_client-7.4.9.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Jupyter protocol implementation and client libraries"
-HOMEPAGE="
- https://jupyter.org/
- https://github.com/jupyter/jupyter_client/
- https://pypi.org/project/jupyter-client/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
- dev-python/entrypoints[${PYTHON_USEDEP}]
- >=dev-python/jupyter-core-4.9.2[${PYTHON_USEDEP}]
- >=dev-python/nest_asyncio-1.5.4[${PYTHON_USEDEP}]
- >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
- >=dev-python/pyzmq-23.0[${PYTHON_USEDEP}]
- >=dev-python/tornado-6.0[${PYTHON_USEDEP}]
- dev-python/traitlets[${PYTHON_USEDEP}]
-"
-BDEPEND="
- test? (
- >=dev-python/ipykernel-6.12[${PYTHON_USEDEP}]
- dev-python/ipython[${PYTHON_USEDEP}]
- >=dev-python/pytest-asyncio-0.18[${PYTHON_USEDEP}]
- dev-python/pytest-timeout[${PYTHON_USEDEP}]
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-7.0.6-test-timeout.patch
-)
-
-distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-04-14 13:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-14 13:28 [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_client/files/, dev-python/jupyter_client/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2021-11-15 2:12 Sam James
2021-02-19 8:58 Michał Górny
2020-12-22 9:00 Michał Górny
2020-03-27 20:22 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox