pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-ipykernel



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov  3 08:39:42 UTC 2025

Modified Files:
        pkgsrc/devel/py-ipykernel: Makefile PLIST distinfo

Log Message:
py-ipykernel: updated to 7.1.0

7.1.0

IPykernel 7.1.0 fixes an issue where display outputs such as Matplotlib plots were not included when using `%notebook` magic to save sessions as `.ipynb` files. This is enabled using the traitlet 
`ZMQDisplayPublisher.store_display_history` which defaults to the previous behaviour of False. This is a minor release rather than a patch release due to the addition of the new traitlet.

Output from threads is restored to the pre-6.29 behavior by default (route to latest cell, unless `get_ipython().set_parent()` is called explicitly from the thread. If it is called, output from that 
thread will continue to be routed to the same cell). This behavior is now opt-in, instead of unconditional.

This release also fixes bugs that were introduced into the 7.x branch relating to Matplotlib plots in separate windows not being displayed correctly, kernels launched in new threads failing asserts, 
and `ContextVar`s persisting between cells. There is also a fix for keyboard interrupts on Windows.

Enhancements made

- Store display outputs in history for `%notebook` magic

Bugs fixed

- fix ContextVar persistence across cells
- Fix matplotlib eventloops
- Refer to kernel launching thread instead of assuming the main thread
- Fix routing of background thread output when no parent is set explicitly
- Fix KeyboardInterrupt on Windows by manually resetting interrupt event


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/devel/py-ipykernel/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-ipykernel/PLIST
cvs rdiff -u -r1.57 -r1.58 pkgsrc/devel/py-ipykernel/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-ipykernel/Makefile
diff -u pkgsrc/devel/py-ipykernel/Makefile:1.69 pkgsrc/devel/py-ipykernel/Makefile:1.70
--- pkgsrc/devel/py-ipykernel/Makefile:1.69     Thu Oct  9 07:57:32 2025
+++ pkgsrc/devel/py-ipykernel/Makefile  Mon Nov  3 08:39:42 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.69 2025/10/09 07:57:32 wiz Exp $
+# $NetBSD: Makefile,v 1.70 2025/11/03 08:39:42 adam Exp $
 
-DISTNAME=      ipykernel-6.30.1
+DISTNAME=      ipykernel-7.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ipykernel/}
@@ -10,12 +10,12 @@ HOMEPAGE=   https://ipython.org/
 COMMENT=       IPython Kernel for Jupyter
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.4:../../devel/py-hatchling
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.22:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-comm>=0.1.1:../../net/py-comm
 DEPENDS+=      ${PYPKGPREFIX}-debugpy>=1.6.5:../../devel/py-debugpy
 DEPENDS+=      ${PYPKGPREFIX}-ipython>=7.23.1:../../devel/py-ipython
 DEPENDS+=      ${PYPKGPREFIX}-jupyter_client>=8.0.0:../../devel/py-jupyter_client
-DEPENDS+=      ${PYPKGPREFIX}-jupyter_core>=4.12:../../devel/py-jupyter_core
+DEPENDS+=      ${PYPKGPREFIX}-jupyter_core>=5.1:../../devel/py-jupyter_core
 DEPENDS+=      ${PYPKGPREFIX}-matplotlib-inline>=0.1:../../graphics/py-matplotlib-inline
 DEPENDS+=      ${PYPKGPREFIX}-nest-asyncio>=1.4:../../devel/py-nest-asyncio
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=22:../../devel/py-packaging

Index: pkgsrc/devel/py-ipykernel/PLIST
diff -u pkgsrc/devel/py-ipykernel/PLIST:1.20 pkgsrc/devel/py-ipykernel/PLIST:1.21
--- pkgsrc/devel/py-ipykernel/PLIST:1.20        Sat Oct 28 19:57:02 2023
+++ pkgsrc/devel/py-ipykernel/PLIST     Mon Nov  3 08:39:42 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2023/10/28 19:57:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.21 2025/11/03 08:39:42 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -33,9 +33,6 @@ ${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
@@ -108,9 +105,6 @@ ${PYSITELIB}/ipykernel/log.pyo
 ${PYSITELIB}/ipykernel/parentpoller.py
 ${PYSITELIB}/ipykernel/parentpoller.pyc
 ${PYSITELIB}/ipykernel/parentpoller.pyo
-${PYSITELIB}/ipykernel/pickleutil.py
-${PYSITELIB}/ipykernel/pickleutil.pyc
-${PYSITELIB}/ipykernel/pickleutil.pyo
 ${PYSITELIB}/ipykernel/py.typed
 ${PYSITELIB}/ipykernel/pylab/__init__.py
 ${PYSITELIB}/ipykernel/pylab/__init__.pyc
@@ -124,12 +118,27 @@ ${PYSITELIB}/ipykernel/pylab/config.pyo
 ${PYSITELIB}/ipykernel/resources/logo-32x32.png
 ${PYSITELIB}/ipykernel/resources/logo-64x64.png
 ${PYSITELIB}/ipykernel/resources/logo-svg.svg
-${PYSITELIB}/ipykernel/serialize.py
-${PYSITELIB}/ipykernel/serialize.pyc
-${PYSITELIB}/ipykernel/serialize.pyo
+${PYSITELIB}/ipykernel/shellchannel.py
+${PYSITELIB}/ipykernel/shellchannel.pyc
+${PYSITELIB}/ipykernel/shellchannel.pyo
+${PYSITELIB}/ipykernel/socket_pair.py
+${PYSITELIB}/ipykernel/socket_pair.pyc
+${PYSITELIB}/ipykernel/socket_pair.pyo
+${PYSITELIB}/ipykernel/subshell.py
+${PYSITELIB}/ipykernel/subshell.pyc
+${PYSITELIB}/ipykernel/subshell.pyo
+${PYSITELIB}/ipykernel/subshell_manager.py
+${PYSITELIB}/ipykernel/subshell_manager.pyc
+${PYSITELIB}/ipykernel/subshell_manager.pyo
+${PYSITELIB}/ipykernel/thread.py
+${PYSITELIB}/ipykernel/thread.pyc
+${PYSITELIB}/ipykernel/thread.pyo
 ${PYSITELIB}/ipykernel/trio_runner.py
 ${PYSITELIB}/ipykernel/trio_runner.pyc
 ${PYSITELIB}/ipykernel/trio_runner.pyo
+${PYSITELIB}/ipykernel/utils.py
+${PYSITELIB}/ipykernel/utils.pyc
+${PYSITELIB}/ipykernel/utils.pyo
 ${PYSITELIB}/ipykernel/zmqshell.py
 ${PYSITELIB}/ipykernel/zmqshell.pyc
 ${PYSITELIB}/ipykernel/zmqshell.pyo

Index: pkgsrc/devel/py-ipykernel/distinfo
diff -u pkgsrc/devel/py-ipykernel/distinfo:1.57 pkgsrc/devel/py-ipykernel/distinfo:1.58
--- pkgsrc/devel/py-ipykernel/distinfo:1.57     Tue Aug 12 18:55:18 2025
+++ pkgsrc/devel/py-ipykernel/distinfo  Mon Nov  3 08:39:42 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.57 2025/08/12 18:55:18 adam Exp $
+$NetBSD: distinfo,v 1.58 2025/11/03 08:39:42 adam Exp $
 
-BLAKE2s (ipykernel-6.30.1.tar.gz) = e4a518a222fa9cf949790efdf965eefebe899d29e94b400a4b3355feedab18f1
-SHA512 (ipykernel-6.30.1.tar.gz) = 45bd9e79f3a74d3694034de3f367b913171b027e913e9f7cd1fdcfb17db09927e0ee300253ad9061d668559c5bf353bddbaf01ea52bcf5a9624a0a4a21050759
-Size (ipykernel-6.30.1.tar.gz) = 166260 bytes
+BLAKE2s (ipykernel-7.1.0.tar.gz) = c7ec0ae183bab021cdab7fb5974288cadeb03a77d5f07a22684ec2a725773882
+SHA512 (ipykernel-7.1.0.tar.gz) = 5b7c7960c46a761af0d0407d66832bd78ef304c6ee7b0e2aaffd1a99fb0a32cee21480d5f436759328688d4ff2a1f0c24df0716da13260d22734b5acc41dbcb7
+Size (ipykernel-7.1.0.tar.gz) = 174579 bytes



Home | Main Index | Thread Index | Old Index