pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-ipython



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jul 17 08:16:48 UTC 2025

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

Log Message:
py-ipython: updated to 9.4.0

IPython 9.4

Featuring ``%autoreload``, ``%whos``, ``%%script``, ``%%time`` magic improvements, along with a fix for use of list comprehensions and generators in the interactive debugger (and ipdb).

- :ghpull:`14922` Improved reloading of decorated functions when using ``%autoreload``
- :ghpull:`14872` Do not always import all variables with ``%autoreload 3``
- :ghpull:`14906` Changed behaviour of ``%time`` magic to always interrupt execution on exception and always show execution time
- :ghpull:`14926` Support data frames, series, and objects with ``__len__`` in the ``%whos`` magic
- :ghpull:`14933` List comprehensions and generators now work reliably in debugger on all supported Python versions
- :ghpull:`14931` Fix streaming multi-byte Unicode characters in the ``%script`` magic and its derivatives

The ``%time`` magic no longer swallows exceptions raised by the measured code, and always prints the time of execution. If you wish the execution to continue after measuring time to execute code that 
is meant to raise an exception, pass the new ``--no-raise-error`` flag.
The ``--no-raise-error`` flag does not affect ``KeyboardInterrupt`` as this exception is used to signal intended interruption of execution flow.

Previously the debugger (ipdb) evaluation of list comprehensions and generators could fail with ``NameError`` due to generator implementation detail in CPython. This was recently fixed in Python 
3.13. Because IPython is often used for interactive debugging, this release includes a backport of that fix, providing users who cannot yet update from Python 3.11 or 3.12 with a smoother debugging 
experience.

The ``%autoreload`` magic is now more reliable. The behaviour around decorators has been improved and `%autoreload 3` no longer imports all symbols when reloading the module, however, the heuristic 
used to determine which symbols to reload can sometimes lead to addition of imports from non-evaluated code branches.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 pkgsrc/devel/py-ipython/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-ipython/PLIST
cvs rdiff -u -r1.80 -r1.81 pkgsrc/devel/py-ipython/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-ipython/Makefile
diff -u pkgsrc/devel/py-ipython/Makefile:1.112 pkgsrc/devel/py-ipython/Makefile:1.113
--- pkgsrc/devel/py-ipython/Makefile:1.112      Sun Jun  1 05:55:50 2025
+++ pkgsrc/devel/py-ipython/Makefile    Thu Jul 17 08:16:48 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.112 2025/06/01 05:55:50 adam Exp $
+# $NetBSD: Makefile,v 1.113 2025/07/17 08:16:48 adam Exp $
 
-DISTNAME=      ipython-9.3.0
+DISTNAME=      ipython-9.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ipython/}

Index: pkgsrc/devel/py-ipython/PLIST
diff -u pkgsrc/devel/py-ipython/PLIST:1.28 pkgsrc/devel/py-ipython/PLIST:1.29
--- pkgsrc/devel/py-ipython/PLIST:1.28  Sat Apr 12 19:03:36 2025
+++ pkgsrc/devel/py-ipython/PLIST       Thu Jul 17 08:16:48 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.28 2025/04/12 19:03:36 adam Exp $
+@comment $NetBSD: PLIST,v 1.29 2025/07/17 08:16:48 adam Exp $
 bin/ipython-${PYVERSSUFFIX}
 bin/ipython3-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -47,6 +47,9 @@ ${PYSITELIB}/IPython/core/crashhandler.p
 ${PYSITELIB}/IPython/core/debugger.py
 ${PYSITELIB}/IPython/core/debugger.pyc
 ${PYSITELIB}/IPython/core/debugger.pyo
+${PYSITELIB}/IPython/core/debugger_backport.py
+${PYSITELIB}/IPython/core/debugger_backport.pyc
+${PYSITELIB}/IPython/core/debugger_backport.pyo
 ${PYSITELIB}/IPython/core/display.py
 ${PYSITELIB}/IPython/core/display.pyc
 ${PYSITELIB}/IPython/core/display.pyo

Index: pkgsrc/devel/py-ipython/distinfo
diff -u pkgsrc/devel/py-ipython/distinfo:1.80 pkgsrc/devel/py-ipython/distinfo:1.81
--- pkgsrc/devel/py-ipython/distinfo:1.80       Sun Jun  1 05:55:50 2025
+++ pkgsrc/devel/py-ipython/distinfo    Thu Jul 17 08:16:48 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.80 2025/06/01 05:55:50 adam Exp $
+$NetBSD: distinfo,v 1.81 2025/07/17 08:16:48 adam Exp $
 
-BLAKE2s (ipython-9.3.0.tar.gz) = cfee8e9996d8465878ece7d9c9e5ef9f148d30d08f38938558c4c33d286a83fc
-SHA512 (ipython-9.3.0.tar.gz) = 21bd98e7f164bdbb799e0316c56620b0d086af943e28fa43f5d1f4c31064e496b01b47babcf0be4282d12d446362a7c0945a29580078279dc3038c66e8e75cf6
-Size (ipython-9.3.0.tar.gz) = 4426460 bytes
+BLAKE2s (ipython-9.4.0.tar.gz) = 004e211d2d0774dbc2bb97ccb57bbe7356c8417c392249a1a460e72bf4b6e665
+SHA512 (ipython-9.4.0.tar.gz) = 8e0bd35effa6b5d6d17b7903ae708f1db753717b2271c79b6662fc508e003a7b3b510604ed340e6e89a8c84abf7c3718f785eb39d0914b653c47adc999a1d2f4
+Size (ipython-9.4.0.tar.gz) = 4385338 bytes
 SHA1 (patch-setupbase.py) = 1de0975a186c250f03c996f7974750811de9607e



Home | Main Index | Thread Index | Old Index