python3-jupyter_client: update to 6.1.12

This commit is contained in:
dkwo 2021-05-14 17:42:25 +02:00 committed by Andrew J. Hesford
parent 28e342c07a
commit 22379e12e1
2 changed files with 8 additions and 32 deletions

View File

@ -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)

View File

@ -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 <al3hex@gmail.com>"
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