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 Mar 2 12:47:08 UTC 2023
Modified Files:
pkgsrc/devel/py-ipython: Makefile PLIST distinfo
Log Message:
py-ipython: updated to 8.11.0
IPython 8.11
------------
Back on almost regular monthly schedule for IPython with end-of-month
really-late-Friday release to make sure some bugs are properly fixed.
Small addition of with a few new features, bugfix and UX improvements.
This is a non-exhaustive list, but among other you will find:
Faster Traceback Highlighting
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Resurrection of pre-IPython-8 traceback highlighting code.
Really long and complicated files were slow to highlight in traceback with
IPython 8 despite upstream improvement that make many case better. Therefore
starting with IPython 8.11 when one of the highlighted file is more than 10 000
line long by default, we'll fallback to a faster path that does not have all the
features of highlighting failing AST nodes.
This can be configures by setting the value of
``IPython.code.ultratb.FAST_THRESHOLD`` to an arbitrary low or large value.
Autoreload verbosity
~~~~~~~~~~~~~~~~~~~~
We introduce more descriptive names for the ``%autoreload`` parameter:
- ``%autoreload now`` (also ``%autoreload``) - perform autoreload immediately.
- ``%autoreload off`` (also ``%autoreload 0``) - turn off autoreload.
- ``%autoreload explicit`` (also ``%autoreload 1``) - turn on autoreload only for modules
whitelisted by ``%aimport`` statements.
- ``%autoreload all`` (also ``%autoreload 2``) - turn on autoreload for all modules except those
blacklisted by ``%aimport`` statements.
- ``%autoreload complete`` (also ``%autoreload 3``) - all the fatures of ``all`` but also adding new
objects from the imported modules (see
IPython/extensions/tests/test_autoreload.py::test_autoload_newly_added_objects).
The original designations (e.g. "2") still work, and these new ones are case-insensitive.
Additionally, the option ``--print`` or ``-p`` can be added to the line to print the names of
modules being reloaded. Similarly, ``--log`` or ``-l`` will output the names to the logger at INFO
level. Both can be used simultaneously.
The parsing logic for ``%aimport`` is now improved such that modules can be whitelisted and
blacklisted in the same line, e.g. it's now possible to call ``%aimport os, -math`` to include
``os`` for ``%autoreload explicit`` and exclude ``math`` for modes ``all`` and ``complete``.
Terminal shortcuts customization
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Previously modifying shortcuts was only possible by hooking into startup files
and practically limited to adding new shortcuts or removing all shortcuts bound
to a specific key. This release enables users to override existing terminal
shortcuts, disable them or add new keybindings.
For example, to set the :kbd:`right` to accept a single character of auto-suggestion
you could use::
my_shortcuts = [
{
"command": "IPython:auto_suggest.accept_character",
"new_keys": ["right"]
}
]
%config TerminalInteractiveShell.shortcuts = my_shortcuts
You can learn more in :std:configtrait:`TerminalInteractiveShell.shortcuts`
configuration reference.
Miscellaneous
~~~~~~~~~~~~~
- ``%gui`` should now support PySide6. :ghpull:`13864`
- Cli shortcuts can now be configured :ghpull:`13928`, see above.
(note that there might be an issue with prompt_toolkit 3.0.37 and shortcut configuration).
- Capture output should now respect ``;`` semicolon to suppress output.
:ghpull:`13940`
- Base64 encoded images (in jupyter frontend), will not have trailing newlines.
:ghpull:`13941`
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/devel/py-ipython/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-ipython/PLIST
cvs rdiff -u -r1.58 -r1.59 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.85 pkgsrc/devel/py-ipython/Makefile:1.86
--- pkgsrc/devel/py-ipython/Makefile:1.85 Sat Feb 11 12:42:14 2023
+++ pkgsrc/devel/py-ipython/Makefile Thu Mar 2 12:47:08 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.85 2023/02/11 12:42:14 adam Exp $
+# $NetBSD: Makefile,v 1.86 2023/03/02 12:47:08 adam Exp $
-DISTNAME= ipython-8.10.0
+DISTNAME= ipython-8.11.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.21 pkgsrc/devel/py-ipython/PLIST:1.22
--- pkgsrc/devel/py-ipython/PLIST:1.21 Tue Jan 31 09:22:21 2023
+++ pkgsrc/devel/py-ipython/PLIST Thu Mar 2 12:47:08 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2023/01/31 09:22:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.22 2023/03/02 12:47:08 adam Exp $
bin/ipython-${PYVERSSUFFIX}
bin/ipython3-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -547,6 +547,9 @@ ${PYSITELIB}/IPython/terminal/shortcuts/
${PYSITELIB}/IPython/terminal/shortcuts/auto_suggest.py
${PYSITELIB}/IPython/terminal/shortcuts/auto_suggest.pyc
${PYSITELIB}/IPython/terminal/shortcuts/auto_suggest.pyo
+${PYSITELIB}/IPython/terminal/shortcuts/filters.py
+${PYSITELIB}/IPython/terminal/shortcuts/filters.pyc
+${PYSITELIB}/IPython/terminal/shortcuts/filters.pyo
${PYSITELIB}/IPython/terminal/tests/__init__.py
${PYSITELIB}/IPython/terminal/tests/__init__.pyc
${PYSITELIB}/IPython/terminal/tests/__init__.pyo
@@ -562,6 +565,9 @@ ${PYSITELIB}/IPython/terminal/tests/test
${PYSITELIB}/IPython/terminal/tests/test_interactivshell.py
${PYSITELIB}/IPython/terminal/tests/test_interactivshell.pyc
${PYSITELIB}/IPython/terminal/tests/test_interactivshell.pyo
+${PYSITELIB}/IPython/terminal/tests/test_pt_inputhooks.py
+${PYSITELIB}/IPython/terminal/tests/test_pt_inputhooks.pyc
+${PYSITELIB}/IPython/terminal/tests/test_pt_inputhooks.pyo
${PYSITELIB}/IPython/terminal/tests/test_shortcuts.py
${PYSITELIB}/IPython/terminal/tests/test_shortcuts.pyc
${PYSITELIB}/IPython/terminal/tests/test_shortcuts.pyo
Index: pkgsrc/devel/py-ipython/distinfo
diff -u pkgsrc/devel/py-ipython/distinfo:1.58 pkgsrc/devel/py-ipython/distinfo:1.59
--- pkgsrc/devel/py-ipython/distinfo:1.58 Sat Feb 11 12:42:14 2023
+++ pkgsrc/devel/py-ipython/distinfo Thu Mar 2 12:47:08 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.58 2023/02/11 12:42:14 adam Exp $
+$NetBSD: distinfo,v 1.59 2023/03/02 12:47:08 adam Exp $
-BLAKE2s (ipython-8.10.0.tar.gz) = 099f863ed742ff08b134c3fc7ae638540998deb918d4204ad7daf1899a475c2a
-SHA512 (ipython-8.10.0.tar.gz) = 5cfcdd49120d9ffc11d2f18501826b2f7094a51c439ac23e507f1027989ece4104d739a1905feba41f899d22a66e1345333f46e0f55d18925f166906f4992cfe
-Size (ipython-8.10.0.tar.gz) = 5456256 bytes
+BLAKE2s (ipython-8.11.0.tar.gz) = 46e7a9053469e8e234a527312854c0c0d232c3e213e0bb0e0ab7a306639e148a
+SHA512 (ipython-8.11.0.tar.gz) = 9b07da3fed304f6739396883d0219386bb08d4860853b30f308c2e9b9017f48d1228dedb511c872b706881ee80dc7bf03f541720ffb816c35b66f6f53ac289a3
+Size (ipython-8.11.0.tar.gz) = 5462176 bytes
SHA1 (patch-setupbase.py) = 241463d5368a4c80c8194244f5c3895196b44da5
Home |
Main Index |
Thread Index |
Old Index