./devel/py-ipython, Interactive computing environment for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 9.9.0, Package name: py313-ipython-9.9.0, Maintainer: pkgsrc-users

The goal of IPython is to create a comprehensive environment for interactive and
exploratory computing. To support this goal, IPython has two main components:

* An enhanced interactive Python shell.
* An architecture for interactive parallel computing.


Required to run:
[devel/py-pexpect] [devel/py-setuptools] [textproc/py-pygments] [databases/py-sqlite3] [devel/py-decorator] [devel/py-traitlets] [databases/py-pickleshare] [editors/py-jedi] [devel/py-backcall] [lang/python37] [devel/py-prompt_toolkit2]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 4321.331 KB

Version history: (Expand)


CVS history: (Expand)


   2026-01-06 13:04:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ipython: updated to 9.9.0

IPython 9.9

This release includes several bug fixes and improvements across completions, \ 
type annotations, and developer experience.

- :ghpull:`15092` Fix formatting for completion suggestions section
- :ghpull:`15057` Reduce types in splitinput.py
- :ghpull:`15096` Use Any type in traceback tuple
- :ghpull:`15099` Fix filename of CVE test
- :ghpull:`15091` Skip downstream CI if only docs changes
- :ghpull:`15093` Replace sphinxext/github with extlink configuration
- :ghpull:`15103` Tips and docs about argcomplete
- :ghpull:`15105` Add prompt_toolkit's unix_word_rubout to assignable commands \ 
for shortcuts
- :ghpull:`15095` Enable pretty-printing for PEP-649 annotated functions
- :ghpull:`15106` Fix completions for methods starting with ``_``
- :ghpull:`15111` Stop assuming that memory addresses are signed
- :ghpull:`15102` Bump macOS runner version in GitHub Actions
- :ghpull:`15101` Fix crash on literal with surrogate
   2025-12-05 12:25:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ipython: updated to 9.8.0

IPython 9.8

This release brings improvements to concurrent execution, history commands, tab \ 
completion, and debugger performance.

- :ghpull:`15037` Fix some ruff issues with import
- :ghpull:`15060` Stricter typing for many utils files
- :ghpull:`15066` Strict typing of a few more files
- :ghpull:`15067` Fix self import of deprecated items
- :ghpull:`15069` Document :magic:`history` usage with all lines of a session
- :ghpull:`15070` Allow session number without trailing slash in \ 
:magic:`history` magic
- :ghpull:`15074` Use values for tab completion of variables created using \ 
annotated assignment
- :ghpull:`15076` Fix error on tab completions
- :ghpull:`15078` Show completions for annotated union types
- :ghpull:`15079` Fallback to type annotations for attribute completions
- :ghpull:`15081` Strictly suppress file completions in attribute completion context
- :ghpull:`15083` Minor performance improvements in debugger
- :ghpull:`15084` Documentation updates
- :ghpull:`15088` Make :any:`run_cell_async` reenterable for concurrent cell \ 
execution
   2025-11-12 14:58:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ipython: updated to 9.7.0

IPython 9.7
===========

As ususal this new version of IPython brings a number of bugfixes:

- :ghpull:`1512` Fix ``Exception.text`` may be None
- :ghpull:`15007` Start Testign on free-threaded Python
- :ghpull:`14784` Update min dependencies

Gruvbox Dark Theme
------------------

Gruvbox Dark is now available as a terminal syntax theme for IPython.

Respect PYTHONSAFEPATH
----------------------

IPython now respects the value of Python's flag ``sys.flags.safe_path``, a flag \ 
which is most often set by the ``PYTHONSAFEPATH`` environment variable. Setting \ 
this causes Python not to automatically include the current working directory in \ 
the sys.path.

IPython can already be configured to do this via the ``--ignore_cwd`` \ 
command-line flag or by setting ``c.InteractiveShellApp.ignore_cwd=True``. Now, \ 
IPython can also be configured by setting ``PYTHONSAFEPATH=1`` or by calling \ 
python with ``-P``.

The behavior of ``safe_path`` was described in `what's new in 3.11`_ and in \ 
`PyConfig docs`_.
   2025-10-09 09:58:14 by Thomas Klausner | Files touched by this commit (442)
Log message:
*: remove reference to (removed) Python 3.9
   2025-10-06 10:49:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ipython: updated to 9.6.0

IPython 9.6

This version brings improvements to tab completion, ``%notebook`` magic, module \ 
ignoring functionality to debugger.

- :ghpull:`14973` Add module ignoring functionality to debugger
- :ghpull:`14982` Extract code from line magics for attribute completion
- :ghpull:`14998` Fix matplotlib plots displaying in wrong cells during \ 
``%notebook`` export
- :ghpull:`14996` Respect ``DisplayFormatter.active_types`` trait configuration
- :ghpull:`15001` Fix ``%notebook`` magic creating multiple display_data outputs \ 
for single widgets
- :ghpull:`14997` Make ``%notebook`` magic notarise exported notebooks (mark as \ 
trusted)
- :ghpull:`14993` Type-guided partial evaluation for completion of uninitialized \ 
variables
- :ghpull:`14978` deduperreload: patch NULL for empty closure rather than None
- :ghpull:`14994` Bump minimum version (spec-0) and whitespace update

The ``%notebook`` magic can now reliably export plots generated by \ 
``matplotlib``, whether with the default ``inline`` or the interactive \ 
``ipympl`` backend.
For the plots to display when using the ``inline`` backend the \ 
``c.DisplayFormatter.active_types`` needs to include ``image/png`` (or another \ 
image media type, depending on the backend configuration).

Tab completion now works on multi-line buffers with unevaluated code even when \ 
jedi is disabled.
Additionally, completion works when writing code as an argument to ``%timeit`` \ 
and ``%debug``.
   2025-08-29 14:39:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ipython: updated to 9.5.0

IPython 9.5

Featuring improvements for numerous magics (``%autoreload``, ``%whos``, \ 
``%%script``, ``%%notebook``), a streaming performance regression fix, completer \ 
policy overrides improvements, and initial support for Python 3.14.

- :ghpull:`14938` Fix printing long strings in ``%whos`` magic command
- :ghpull:`14941` Fix performance of streaming long text
- :ghpull:`14943` Simplify overriding selective evaluation policy settings for \ 
modules
- :ghpull:`14955` Populate notebook metadata when exporting with ``%notebook`` magic
- :ghpull:`14960` Better handling in deduperreload for patching functions with \ 
freevars
- :ghpull:`14964` Fix traceback logic for non-SyntaxError exceptions in plain mode
- :ghpull:`14966` Do not warn repeatedly if policy overrides are not applicable
- :ghpull:`14967` Support Python 3.14.0rc2, test on CI
- :ghpull:`14969` Fix truncated output in ``%script`` magic
- :ghpull:`14970` Fix exceptions in ``%whos`` magic command
   2025-07-17 10:16:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
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.
   2025-06-01 07:55:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-ipython: updated to 9.3.0

IPython 9.3

This release includes improvements to the tab and LLM completer, along with \ 
typing improvements:

- :ghpull:`14911` Implement auto-import and evaluation policy overrides
- :ghpull:`14910` Eliminate startup delay when LLM completion provider is configured
- :ghpull:`14898` Fix attribute completion for expressions with comparison operators
- :ghpull:`14908` Fix typing of `error_before_exec`, enhance ``mypy`` coverage