Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-jupyter_client py-jupyter_client: updated to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4091eb2ede9b
branches:  trunk
changeset: 435394:4091eb2ede9b
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jul 07 08:19:10 2020 +0000

description:
py-jupyter_client: updated to 6.1.5

6.1.2
- Fixed a bug causing clients to sometimes hang after a stop call was made


6.1.1
- Subprocess kill action fix for async execution
- Doc fix for xeus kernel list


6.1.0
This release includes support for asyncio patterns! Downstream tools should soon have releases to additionally support async patterns.
- AsyncKernelManager and AsyncMultiKernelManager are now available for async jupyter_client interactions
- Removed unused sphinx dependency
- Added install instructions for pip to documentation
- Improved docs around version protocol and messaging


6.0.0
The git history had to be reworked heavily in merging 5.x and master, so a link to all the changes at once in github had been left out as it's just confusing.

An exciting change in this release is some async support (huge thanks to @davidbrochart for doing most of the work)! See linked PR below for more details, we're working on integrating this into 
nbclient as well in the near future.

New Features:
- Added async API

Changes:
- Python 3.8 testing and support added
- Session.msg_id optimization
- Only cache ports if the cache_ports flag is set to True
- Removed direct dependency on pywin32 as this is now in jupyter core

Fixes:
- Prevent two kernels to have the same ports

Docs:
- Document the handling of error in do_execute

Breaking changes:
- Dropped support for Python 2.7!

diffstat:

 devel/py-jupyter_client/Makefile |  23 +++++++++--------------
 devel/py-jupyter_client/PLIST    |  23 ++++++++++++++++++++++-
 devel/py-jupyter_client/distinfo |  10 +++++-----
 3 files changed, 36 insertions(+), 20 deletions(-)

diffs (121 lines):

diff -r 8f6bb364cbc9 -r 4091eb2ede9b devel/py-jupyter_client/Makefile
--- a/devel/py-jupyter_client/Makefile  Tue Jul 07 07:06:53 2020 +0000
+++ b/devel/py-jupyter_client/Makefile  Tue Jul 07 08:19:10 2020 +0000
@@ -1,26 +1,28 @@
-# $NetBSD: Makefile,v 1.14 2020/04/26 10:01:38 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2020/07/07 08:19:10 adam Exp $
 
-DISTNAME=      jupyter_client-5.3.4
+DISTNAME=      jupyter_client-6.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=j/jupyter_client/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://jupyter.org/
+HOMEPAGE=      https://jupyter-client.readthedocs.io/
 COMMENT=       Jupyter protocol implementation and client libraries
 LICENSE=       modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
-DEPENDS+=      ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
+DEPENDS+=      ${PYPKGPREFIX}-jupyter_core>=4.6.0:../../devel/py-jupyter_core
 DEPENDS+=      ${PYPKGPREFIX}-tornado>=4.1:../../www/py-tornado
 DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.1.0:../../devel/py-traitlets
 DEPENDS+=      ${PYPKGPREFIX}-zmq>=13.0.0:../../net/py-zmq
 TEST_DEPENDS+= ${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel
+TEST_DEPENDS+= ${PYPKGPREFIX}-ipython-[0-9]*:../../devel/py-ipython
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-PYTHON_VERSIONED_DEPENDENCIES= ipython:test
+USE_LANGUAGES= # none
 
-USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
@@ -28,15 +30,8 @@
        ${MV} jupyter-kernelspec jupyter-kernelspec-${PYVERSSUFFIX} && \
        ${MV} jupyter-run jupyter-run-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/pyversion.mk"
-.if ${PYPKGPREFIX} == py27
-TEST_DEPENDS=  # none; py-ipykernel is incompatible with py27
 do-test:
-.else
-do-test:
-       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
-.endif
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8f6bb364cbc9 -r 4091eb2ede9b devel/py-jupyter_client/PLIST
--- a/devel/py-jupyter_client/PLIST     Tue Jul 07 07:06:53 2020 +0000
+++ b/devel/py-jupyter_client/PLIST     Tue Jul 07 08:19:10 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2019/01/02 15:18:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/07/07 08:19:10 adam Exp $
 bin/jupyter-kernel-${PYVERSSUFFIX}
 bin/jupyter-kernelspec-${PYVERSSUFFIX}
 bin/jupyter-run-${PYVERSSUFFIX}
@@ -17,6 +17,15 @@
 ${PYSITELIB}/jupyter_client/adapter.py
 ${PYSITELIB}/jupyter_client/adapter.pyc
 ${PYSITELIB}/jupyter_client/adapter.pyo
+${PYSITELIB}/jupyter_client/asynchronous/__init__.py
+${PYSITELIB}/jupyter_client/asynchronous/__init__.pyc
+${PYSITELIB}/jupyter_client/asynchronous/__init__.pyo
+${PYSITELIB}/jupyter_client/asynchronous/channels.py
+${PYSITELIB}/jupyter_client/asynchronous/channels.pyc
+${PYSITELIB}/jupyter_client/asynchronous/channels.pyo
+${PYSITELIB}/jupyter_client/asynchronous/client.py
+${PYSITELIB}/jupyter_client/asynchronous/client.pyc
+${PYSITELIB}/jupyter_client/asynchronous/client.pyo
 ${PYSITELIB}/jupyter_client/blocking/__init__.py
 ${PYSITELIB}/jupyter_client/blocking/__init__.pyc
 ${PYSITELIB}/jupyter_client/blocking/__init__.pyo
@@ -89,6 +98,15 @@
 ${PYSITELIB}/jupyter_client/session.py
 ${PYSITELIB}/jupyter_client/session.pyc
 ${PYSITELIB}/jupyter_client/session.pyo
+${PYSITELIB}/jupyter_client/ssh/__init__.py
+${PYSITELIB}/jupyter_client/ssh/__init__.pyc
+${PYSITELIB}/jupyter_client/ssh/__init__.pyo
+${PYSITELIB}/jupyter_client/ssh/forward.py
+${PYSITELIB}/jupyter_client/ssh/forward.pyc
+${PYSITELIB}/jupyter_client/ssh/forward.pyo
+${PYSITELIB}/jupyter_client/ssh/tunnel.py
+${PYSITELIB}/jupyter_client/ssh/tunnel.pyc
+${PYSITELIB}/jupyter_client/ssh/tunnel.pyo
 ${PYSITELIB}/jupyter_client/tests/__init__.py
 ${PYSITELIB}/jupyter_client/tests/__init__.pyc
 ${PYSITELIB}/jupyter_client/tests/__init__.pyo
@@ -128,6 +146,9 @@
 ${PYSITELIB}/jupyter_client/tests/test_session.py
 ${PYSITELIB}/jupyter_client/tests/test_session.pyc
 ${PYSITELIB}/jupyter_client/tests/test_session.pyo
+${PYSITELIB}/jupyter_client/tests/test_ssh.py
+${PYSITELIB}/jupyter_client/tests/test_ssh.pyc
+${PYSITELIB}/jupyter_client/tests/test_ssh.pyo
 ${PYSITELIB}/jupyter_client/tests/utils.py
 ${PYSITELIB}/jupyter_client/tests/utils.pyc
 ${PYSITELIB}/jupyter_client/tests/utils.pyo
diff -r 8f6bb364cbc9 -r 4091eb2ede9b devel/py-jupyter_client/distinfo
--- a/devel/py-jupyter_client/distinfo  Tue Jul 07 07:06:53 2020 +0000
+++ b/devel/py-jupyter_client/distinfo  Tue Jul 07 08:19:10 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2019/10/09 10:41:02 adam Exp $
+$NetBSD: distinfo,v 1.12 2020/07/07 08:19:10 adam Exp $
 
-SHA1 (jupyter_client-5.3.4.tar.gz) = c7af604b64d3a496360826de48bf3d18ada9e672
-RMD160 (jupyter_client-5.3.4.tar.gz) = 8dc84b386f1d095f79da23e6953b7f793e71e7b3
-SHA512 (jupyter_client-5.3.4.tar.gz) = 54b5206c08f5119feb50deb2d815d79a178799ad5c1231a0d03fc950ebbf6cb2f7c3a757024f788d416f808c57aa8476fcfa110f63182314bf2d5cdeb9a006cf
-Size (jupyter_client-5.3.4.tar.gz) = 275850 bytes
+SHA1 (jupyter_client-6.1.2.tar.gz) = 2718c607fa1c4a08fa3d4139d1144fde181cb526
+RMD160 (jupyter_client-6.1.2.tar.gz) = 5981328b81ee8583a4efa59df9e0756c72d809c1
+SHA512 (jupyter_client-6.1.2.tar.gz) = 9143f440ec73462873d4ca4a99747429274a5dff93633fdaf8c44fd4b47abd38d7ad03ff97c45e30884cd5b182fb2d8ec00b7316757e1ecd9dd8443c4bb81f06
+Size (jupyter_client-6.1.2.tar.gz) = 290186 bytes



Home | Main Index | Thread Index | Old Index