pkgsrc/devel/py-jupyter_client/Makefile
adam d714f9e139 py-jupyter_client: updated to 7.1.2
7.1.2

Bugs fixed

- Await `kernel.ready` in `_async_shutdown_kernel`

7.1.1

Enhancements made

- Further improvements to pending kernels managment

Maintenance and upkeep improvements

- Test against all kernels in jupyter kernel test and clean up CI
- Replace master with main

Documentation improvements

- [DOC] improve kernel provisioner doc
- add changelog for message spec


7.1.0

Enhancements made

- Add support for pending kernels

Bugs fixed

- Improve restarter logic
- Set sticky bit only on the directory

Maintenance and upkeep improvements

- Enforce labels on PRs


7.0.6

Bugs fixed

- Fallback to the old ipykernel "json_clean" if we are not able to serialize a JSON message

Other merged PRs

- Add test for serializing bytes


7.0.5

Bugs fixed

- avoid use of deprecated zmq.utils.jsonapi

Maintenance and upkeep improvements

- Use logger.warning instead of deprecated warn method


7.0.4

Bugs fixed

- Fix json_default so that it's closer to what ipykernel had before
- Clean up the pending task
- fix kernel can only restart once issue
- Prevent failure if kernel is not found when shutting it down


7.0.3

Bugs fixed

- Address missing `local-provisioner` scenario
- use `load_connection_info(info)` when constructing a blocking client


7.0.2

Bugs fixed

- Don't set event loop policy on Windows at import time

Documentation improvements

- Improve migration guide


7.0.1

Merged PRs

- Use formal method names when called internally


7.0.0

Summary

The 7.0 release brings a major feature in [Kernel Provisioners](https://github.com/jupyter/jupyter_client/blob/master/docs/provisioning.rst), which enable the ability for third parties to manage the lifecycle of a kernel's runtime environment.

Being a major release, there are some backward incompatible changes. Please see the [migration guide](https://jupyter-client.readthedocs.io/en/latest/migration.html) for further details.

Enhancements made

- Kernel Provisioning - initial implementation

Bugs fixed

- Fix up some async method aliases in KernelManager
- Support `answer_yes` when removing kernel specs
- Include process ID in message ID
- Fix qtconsole issues

Maintenance and upkeep improvements

- Added debugger key in `kernel_info_reply`
- Prepare for use with Jupyter Releaser
- Force install `jupyter_client` master
- Fix project name
- Rename trait to `allowed_kernelspecs`
- Remove block parameter from `get_msg()`
- Only import `nest_asyncio` locally
- Use a default serializer that is not only for date types
- Updated `debug_info_response`
- Do not block on exit
- Update test kernel with native coroutine, remove `async_generator` dependency
- `setup.py` and CI improvements
- Test downstream projects
- Remove deprecations in kernel manager
- Add `block=True` back to `get_msg()`
- Pin `python>=3.6.1`
- Use `pre-commit`
- Attempt CI with `ipykernel` 6.0 prerelease
- Make `KernelManager` subclass tests DRY
- Add tests to ensure MultiKernelManager subclass methods are called
- Add type annotations, refactor sync/async

Documentation improvements

- Create migration guide
- Update changelog for 7.0.0rc0
- Added documentation for `richInspectVariables` request
- Change to `edit_magic` payload
- Added missing documentation for the inspectVariables request and resp…
- Add status field to other replies in documentation
2022-01-31 17:59:00 +00:00

43 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2022/01/31 17:59:00 adam Exp $
DISTNAME= jupyter_client-7.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jupyter_client/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://jupyter-client.readthedocs.io/
COMMENT= Jupyter protocol implementation and client libraries
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-entrypoints-[0-9]*:../../devel/py-entrypoints
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-jupyter_core>=4.6.0:../../devel/py-jupyter_core
DEPENDS+= ${PYPKGPREFIX}-nest-asyncio>=1.5:../../devel/py-nest-asyncio
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
TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} jupyter-kernel jupyter-kernel-${PYVERSSUFFIX} && \
${MV} jupyter-kernelspec jupyter-kernelspec-${PYVERSSUFFIX} && \
${MV} jupyter-run jupyter-run-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"