pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-ipykernel py-ipykernel: updated to 6.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b080d286fa6b
branches:  trunk
changeset: 373003:b080d286fa6b
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Feb 04 13:13:52 2022 +0000

description:
py-ipykernel: updated to 6.8.0

6.8.0

Enhancements made

- Add support for the debug modules request

Bugs fixed

- Handle all threads stopped correctly
- Fix the debug modules model
- Handled AllThreadsContinued and workaround for wrong threadId in cont…

Maintenance and upkeep improvements

- Cancel duplicate runs


6.7.0

Enhancements made

- Add usage_request and usage_reply based on psutil

Bugs fixed

- Removed DebugStdLib from arguments of attach
- Normalize debugger temp file paths on Windows
- Breakpoint in cell with leading empty lines may be ignored

Maintenance and upkeep improvements

- Skip on PyPy, seem to fail.
- Remove pipx to fix conflicts
- Remove impossible skipif.


6.6.1

Bugs fixed

- PR: do_one_iteration is a coroutine

Maintenance and upkeep improvements

- Clean python 2 artifacts.

Documentation improvements

- Fix title position in  changelog


6.6.0

Enhancements made

- Set `debugOptions` for breakpoints in python standard library source
- Send `omit_sections` to IPython to choose which sections of documentation you do not want

Bugs fixed

- Added missing `exceptionPaths` field to `debugInfo` reply

Maintenance and upkeep improvements

- Test `jupyter_kernel_test` as downstream
- Remove `nose` dependency
- Add explicit encoding to open calls in debugger


6.5.1

Bugs fixed

- Fix the temp file name created by the debugger

Maintenance and upkeep improvements

- Enforce labels on PRs
- Unpin `IPython`, and remove some dependencies on it.


6.5.0

Bugs fixed

- Fix rich variables inspection
- Do not call `setQuitOnLastWindowClosed()` on a `QCoreApplication`

Maintenance and upkeep improvements

- Drop `ipython_genutils` requirement


6.4.2

Enhancements made

- Enabled rich rendering of variables in the debugger

Bugs fixed

- Remove setting of the eventloop function in the InProcessKernel

Maintenance and upkeep improvements

- Add python version classifiers


6.4.1

Merged PRs

- debugpy is now a build requirement


6.4.0

Enhancements made

- Make `json_clean` a no-op for `jupyter-client` >= 7

Bugs fixed

- Do not assume kernels have loops
- Fix undefined variable

Maintenance and upkeep improvements

- Make `ipykernel` work without `debugpy`
- Stop using deprecated `recv_multipart` when using in-process socket.
- Update some warnings with instructions and version number.


6.3.1

Merged PRs

- Add dependency on IPython genutils.


6.3.0

Enhancements made

- Add deep variable inspection
- Add `IPKernelApp.capture_fd_output` config to disable FD-level capture

Maintenance and upkeep improvements

- Remove more `nose` test references
- Remove `nose` `skipIf` in favor of `pytest`
- Remove more `nose`
- Set up release helper plumbing
- Test downstream projects


6.2.0

Enhancements made

- Add Support for Message Based Interrupt

Maintenance and upkeep improvements

- Remove some more dependency on nose/iptest
- Remove block param from get_msg()


6.1.0

Enhancements made

- Implemented `richInspectVariable` request handler

Maintenance and upkeep improvements

- Bump `importlib-metadata` limit for `python<3.8`

Bug Fixes

- Fix exception raised by `OutStream.write`


6.0.3

- `KernelApp`: rename ports variable to avoid override

6.0.2

Bugs fixed

- Add watchfd keyword to InProcessKernel OutStream initialization
- Fix typo in eventloops.py
- [bugfix] fix in setup.py (comma before appnope)

Maintenance and upkeep improvements

- Add upper bound to dependency versions.
- Replace non-existing function.
- Remove unused variables
- Do not use bare except
- misc whitespace and line too long
- Formatting: remove semicolon
- Clean most flake8 unused import warnings.
- Minimal flake8 config
- Remove CachingCompiler's filename_mapper

6.0.1

- Fix Tk and asyncio event loops
- Stringify variables that are not json serializable in inspectVariable

6.0.0

IPykernel 6.0 is the first major release in about two years, that brings a number of improvements, code cleanup, and new
features to IPython.

You should be able to view all closed issues and merged Pull Request for this
milestone [on
GitHub](https://github.com/ipython/ipykernel/issues?q=milestone%3A6.0+is%3Aclosed+),
as for any major releases, we advise greater care when updating that for minor
release and welcome any feedback (~50 Pull-requests).

IPykernel 6 should contain all changes of the 5.x series, in addition to the
following non-exhaustive changes.

 - Support for the debugger protocol, when using `JupyterLab`, `RetroLab` or any
   frontend supporting the debugger protocol you should have access to the
   debugger functionalities.

 - The control channel on IPykernel 6.0 is run in a separate thread, this may
   change the order in which messages are processed, though this change was necessary
   to accommodate the debugger.

 - We now have a new dependency: `matplotlib-inline`, this helps to separate the
   circular dependency between IPython/IPykernel and  matplotlib.

 - All outputs to stdout/stderr should now be captured, including subprocesses
   and output of compiled libraries (blas, lapack....). In notebook
   server, some outputs that would previously go to the notebooks logs will now
   both head to notebook logs and in notebooks outputs. In terminal frontend
   like Jupyter Console, Emacs or other, this may ends up as duplicated outputs.

 - coroutines are now native (async-def) , instead of using tornado's
   `@gen.coroutine`

 - OutStreams can now be configured to report `istty() == True`, while this
   should make some output nicer (for example colored), it is likely to break
   others. Use with care.

New features added

- Implementation of the debugger

Enhancements made

- Make the `isatty` method of `OutStream` return `true`
- Allow setting cell name
- Try to capture all file descriptor output and err
- Implemented `inspectVariables` request
- Specify `ipykernel` in kernelspec
- Use `matplotlib-inline`
- Run control channel in separate thread

Bugs fixed

- Remove references to deprecated `ipyparallel`
- Return len of item written to `OutStream`
- Call metadata methods on abort replies
- Fix keyboard interrupt issue in `dispatch_shell`
- Update `Trio` mode for compatibility with `Trio >= 0.18.0`
- Follow up `DeprecationWarning` Fix
- Flush control stream upon shutdown
- Fix Handling of `shell.should_run_async`
- Deacrease lag time for eventloop
- Fix "Socket operation on nonsocket" in downstream `nbclient` test.
- Stop control thread before closing sockets on it
- Fix debugging with native coroutines
- Fixup master build
- Fix parent header retrieval
- Add missing self
- Backwards compat with older versions of zmq

Maintenance and upkeep improvements

- Remove pin on Jedi because that was already fixed in IPython
- Remove deprecated source parameter since 4.0.1 (2015)
- Remove deprecated `SocketABC` since 4.5.0
- Remove deprecated profile options of `connect.py`
- Remove `ipykernel.codeutil` deprecated since IPykernel 4.3.1 (Feb 2016)
- Keep preferring `SelectorEventLoop` on Windows
- Add `Kernel.get_parent` to match `set_parent`
- Flush control queue prior to handling shell messages
- Add `Kernel.get_parent_header`
- Build docs only on Ubuntu: add jobs to check docstring formatting.
- Make deprecated `shell_streams` writable
- Use channel `get_msg` helper method
- Use native coroutines instead of tornado coroutines
- Make less use of `ipython_genutils`
- Run GitHub Actions on all branches
- Move Python-specific bits to ipkernel
- Update Python Requirement to 3.7
- Replace import item from `ipython_genutils` to traitlets.
- Some removal of `ipython_genutils.py3compat`.
- Fixup `get_parent_header` call
- Update of `ZMQInteractiveshell`.
- Removed filtering of stack frames for testing
- Added 'type' field to variables returned by `inspectVariables` request
- Changed default timeout to 0.0 seconds for `stop_on_error_timeout`
- Attempt longer timeout
- Clean up release process and add tests
- Kernelspec: ensure path is writable before writing `kernel.json`.
- Add `configure_inline_support` and call it in the shell

Documentation improvements

- Misc Updates to changelog for 6.0
- Add 5.5.x Changelog entries
- Build docs only on ubuntu: add jobs to check docstring formatting.
- DOC: Autoreformat all docstrings.
- Bump Python to 3.8 in `readthedocs.yml`
- Fix typo
- Add release note to 5.5.0 about `stop_on_error_timeout`
- Move changelog to standard location
- Add changelog for 5.5
- Change to markdown for changelog

Deprecations in 6.0

- `Kernel`s now support only a single shell stream, multiple streams will now be ignored. The attribute
   `Kernel.shell_streams` (plural) is deprecated in ipykernel 6.0. Use `Kernel.shell_stream` (singular)
- `Kernel._parent_header` is deprecated, even though it was private. Use `.get_parent()` now.

Removal in 6.0

- `ipykernel.codeutils` was deprecated since 4.x series (2016) and has been removed, please import similar
   functionalities from `ipyparallel`
- remove `find_connection_file` and `profile` argument of `connect_qtconsole` and `get_connection_info`, deprecated since IPykernel 4.2.2 (2016).

diffstat:

 devel/py-ipykernel/Makefile |  20 ++++++++++----------
 devel/py-ipykernel/PLIST    |  20 +++++++++++++-------
 devel/py-ipykernel/distinfo |   8 ++++----
 3 files changed, 27 insertions(+), 21 deletions(-)

diffs (120 lines):

diff -r 1c1f1d10e58f -r b080d286fa6b devel/py-ipykernel/Makefile
--- a/devel/py-ipykernel/Makefile       Fri Feb 04 13:09:41 2022 +0000
+++ b/devel/py-ipykernel/Makefile       Fri Feb 04 13:13:52 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2022/01/04 20:53:11 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2022/02/04 13:13:52 adam Exp $
 
-DISTNAME=      ipykernel-5.5.5
+DISTNAME=      ipykernel-6.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ipykernel/}
 
@@ -11,15 +10,16 @@
 COMMENT=       IPython Kernel for Jupyter
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-ipython>=6.0.0:../../devel/py-ipython
+DEPENDS+=      ${PYPKGPREFIX}-debugpy>=1.0.0:../../devel/py-debugpy
+DEPENDS+=      ${PYPKGPREFIX}-ipython>=7.23.1:../../devel/py-ipython
 DEPENDS+=      ${PYPKGPREFIX}-jupyter_client-[0-9]*:../../devel/py-jupyter_client
+DEPENDS+=      ${PYPKGPREFIX}-matplotlib-inline>=0.1.0:../../graphics/py-matplotlib-inline
+DEPENDS+=      ${PYPKGPREFIX}-nest-asyncio-[0-9]*:../../devel/py-nest-asyncio
 DEPENDS+=      ${PYPKGPREFIX}-tornado>=4.2:../../www/py-tornado
-DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.1.0:../../devel/py-traitlets
-DEPENDS+=      ${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
-
+DEPENDS+=      ${PYPKGPREFIX}-traitlets>=5.1.0:../../devel/py-traitlets
 TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-ipyparallel-[0-9]*:../../parallel/py-ipyparallel
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.3.5:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 .include "../../mk/bsd.prefs.mk"
@@ -29,7 +29,7 @@
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37
 
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
diff -r 1c1f1d10e58f -r b080d286fa6b devel/py-ipykernel/PLIST
--- a/devel/py-ipykernel/PLIST  Fri Feb 04 13:09:41 2022 +0000
+++ b/devel/py-ipykernel/PLIST  Fri Feb 04 13:13:52 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2020/12/14 05:58:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2022/02/04 13:13:52 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -16,9 +16,6 @@
 ${PYSITELIB}/ipykernel/_version.py
 ${PYSITELIB}/ipykernel/_version.pyc
 ${PYSITELIB}/ipykernel/_version.pyo
-${PYSITELIB}/ipykernel/codeutil.py
-${PYSITELIB}/ipykernel/codeutil.pyc
-${PYSITELIB}/ipykernel/codeutil.pyo
 ${PYSITELIB}/ipykernel/comm/__init__.py
 ${PYSITELIB}/ipykernel/comm/__init__.pyc
 ${PYSITELIB}/ipykernel/comm/__init__.pyo
@@ -28,12 +25,21 @@
 ${PYSITELIB}/ipykernel/comm/manager.py
 ${PYSITELIB}/ipykernel/comm/manager.pyc
 ${PYSITELIB}/ipykernel/comm/manager.pyo
+${PYSITELIB}/ipykernel/compiler.py
+${PYSITELIB}/ipykernel/compiler.pyc
+${PYSITELIB}/ipykernel/compiler.pyo
 ${PYSITELIB}/ipykernel/connect.py
 ${PYSITELIB}/ipykernel/connect.pyc
 ${PYSITELIB}/ipykernel/connect.pyo
+${PYSITELIB}/ipykernel/control.py
+${PYSITELIB}/ipykernel/control.pyc
+${PYSITELIB}/ipykernel/control.pyo
 ${PYSITELIB}/ipykernel/datapub.py
 ${PYSITELIB}/ipykernel/datapub.pyc
 ${PYSITELIB}/ipykernel/datapub.pyo
+${PYSITELIB}/ipykernel/debugger.py
+${PYSITELIB}/ipykernel/debugger.pyc
+${PYSITELIB}/ipykernel/debugger.pyo
 ${PYSITELIB}/ipykernel/displayhook.py
 ${PYSITELIB}/ipykernel/displayhook.pyc
 ${PYSITELIB}/ipykernel/displayhook.pyo
@@ -141,6 +147,9 @@
 ${PYSITELIB}/ipykernel/tests/test_connect.py
 ${PYSITELIB}/ipykernel/tests/test_connect.pyc
 ${PYSITELIB}/ipykernel/tests/test_connect.pyo
+${PYSITELIB}/ipykernel/tests/test_debugger.py
+${PYSITELIB}/ipykernel/tests/test_debugger.pyc
+${PYSITELIB}/ipykernel/tests/test_debugger.pyo
 ${PYSITELIB}/ipykernel/tests/test_embed_kernel.py
 ${PYSITELIB}/ipykernel/tests/test_embed_kernel.pyc
 ${PYSITELIB}/ipykernel/tests/test_embed_kernel.pyo
@@ -168,9 +177,6 @@
 ${PYSITELIB}/ipykernel/tests/test_pickleutil.py
 ${PYSITELIB}/ipykernel/tests/test_pickleutil.pyc
 ${PYSITELIB}/ipykernel/tests/test_pickleutil.pyo
-${PYSITELIB}/ipykernel/tests/test_serialize.py
-${PYSITELIB}/ipykernel/tests/test_serialize.pyc
-${PYSITELIB}/ipykernel/tests/test_serialize.pyo
 ${PYSITELIB}/ipykernel/tests/test_start_kernel.py
 ${PYSITELIB}/ipykernel/tests/test_start_kernel.pyc
 ${PYSITELIB}/ipykernel/tests/test_start_kernel.pyo
diff -r 1c1f1d10e58f -r b080d286fa6b devel/py-ipykernel/distinfo
--- a/devel/py-ipykernel/distinfo       Fri Feb 04 13:09:41 2022 +0000
+++ b/devel/py-ipykernel/distinfo       Fri Feb 04 13:13:52 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2021/10/26 10:18:35 nia Exp $
+$NetBSD: distinfo,v 1.24 2022/02/04 13:13:52 adam Exp $
 
-BLAKE2s (ipykernel-5.5.5.tar.gz) = 9fe72e9689f8b497fdab9b6d9476c33de1c79538a16e5ad4b15ca73a7bb04c4b
-SHA512 (ipykernel-5.5.5.tar.gz) = 580c3a3d5d10c325524287c091a885955981bedb8c7bd8eac569ee19393b258dbfbc7ea8700137071c2c55bfa94b5a7bfae1c687bc5e2d532525c6fc3e043835
-Size (ipykernel-5.5.5.tar.gz) = 112909 bytes
+BLAKE2s (ipykernel-6.8.0.tar.gz) = c4708f1075c3886005b759a746458f2ff39ed3c7bba37f062dd6221e1bf0220c
+SHA512 (ipykernel-6.8.0.tar.gz) = 71f08e082a49050407bdd1085b34a3dc26c99f18e4b4d27d04615e666073d03e57c95f40b56e9927abeac53b323ed9a9fde8401ec61d23d1ad2605e741bedc4e
+Size (ipykernel-6.8.0.tar.gz) = 126419 bytes


Home | Main Index | Thread Index | Old Index