From 22379e12e1efd0d8cc38d1aae714e75955da04aa Mon Sep 17 00:00:00 2001 From: dkwo Date: Fri, 14 May 2021 17:42:25 +0200 Subject: [PATCH] python3-jupyter_client: update to 6.1.12 --- .../patches/test_session.patch | 15 ----------- srcpkgs/python3-jupyter_client/template | 25 ++++++------------- 2 files changed, 8 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python3-jupyter_client/patches/test_session.patch diff --git a/srcpkgs/python3-jupyter_client/patches/test_session.patch b/srcpkgs/python3-jupyter_client/patches/test_session.patch deleted file mode 100644 index 2febffe28cf..00000000000 --- a/srcpkgs/python3-jupyter_client/patches/test_session.patch +++ /dev/null @@ -1,15 +0,0 @@ -encoding option is removed from msgpack.unpackb -See: https://pypi.org/project/msgpack/ -diff --git jupyter_client/tests/test_session.py jupyter_client/tests/test_session.py -index 82d63df..d8636ff 100644 ---- jupyter_client/tests/test_session.py -+++ jupyter_client/tests/test_session.py -@@ -311,7 +311,7 @@ class TestSession(SessionTestCase): - - session = ss.Session( - pack=msgpack.packb, -- unpack=lambda buf: msgpack.unpackb(buf, encoding='utf8'), -+ unpack=lambda buf: msgpack.unpackb(buf), - ) - self._datetime_test(session) - diff --git a/srcpkgs/python3-jupyter_client/template b/srcpkgs/python3-jupyter_client/template index 9dc13b8a261..6c27403e678 100644 --- a/srcpkgs/python3-jupyter_client/template +++ b/srcpkgs/python3-jupyter_client/template @@ -1,31 +1,22 @@ # Template file for 'python3-jupyter_client' pkgname=python3-jupyter_client -version=6.1.0 -revision=2 +# delay 6.2 until jupyter/jupyter_console#241 is fixed +version=6.1.12 +revision=1 wrksrc="jupyter_client-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0 - python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5 - python3-simplejson" -checkdepends="python3-pytest python3-ipython_ipykernel - python3-setuptools python3-traitlets python3-jupyter_core - python3-pyzmq python3-dateutil python3-tornado - python3-simplejson python3-msgpack python3-Sphinx" +depends="python3-traitlets python3-jupyter_core python3-pyzmq + python3-dateutil python3-tornado python3-nest_asyncio" short_desc="Jupyter protocol client APIs" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://github.com/jupyter/jupyter_client" distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz" -checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5 +checksum=c4bca1d0846186ca8be97f4d2fa6d2bae889cce4892a167ffa1ba6bd1f73e782 conflicts="python-jupyter_client<=5.2.4_2" - -do_check() { - # test_install_kernel_spec_prefix is problematic - # The test is fine when run in-tree, - # but it's failing in ./xbps-src check - pytest -k 'not test_install_kernel_spec_prefix' -} +# checks create a cycle with python3-jupyter_core and python3-ipython_ipykernel +make_check=no post_install() { vlicense COPYING.md LICENSE