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:           Mon Jan 24 18:37:58 UTC 2022

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

Log Message:
py-ipython: updated to 8.0.1

IPython 8.0.1 (CVE-2022-21699)
------------------------------

IPython 8.0.1, 7.31.1 and 5.11 are security releases that change some default
values in order to prevent potential Execution with Unnecessary Privileges.

Almost all version of IPython looks for configuration and profiles in current
working directory. Since IPython was developed before pip and environments
existed it was used a convenient way to load code/packages in a project
dependant way.

In 2022, it is not necessary anymore, and can lead to confusing behavior where
for example cloning a repository and starting IPython or loading a notebook from
any Jupyter-Compatible interface that has ipython set as a kernel can lead to
code execution.

I did not find any standard way for packaged to advertise CVEs they fix, I'm
thus trying to add a ``__patched_cves__`` attribute to the IPython module that
list the CVEs that should have been fixed. This attribute is informational only
as if a executable has a flaw, this value can always be changed by an attacker.

.. code::

    In [1]: import IPython

    In [2]: IPython.__patched_cves__
    Out[2]: {'CVE-2022-21699'}

    In [3]: 'CVE-2022-21699' in IPython.__patched_cves__
    Out[3]: True

Thus starting with this version:

 - The current working directory is not searched anymore for profiles or
   configurations files.
 - Added a ``__patched_cves__`` attribute (set of strings) to IPython module that contain
   the list of fixed CVE. This is informational only.

Further details can be read on the `GitHub Advisory <https://github.com/ipython/ipython/security/advisories/GHSA-pq7m-3gw7-gq5x>`__

IPython 8.0
-----------

IPython 8.0 is still in alpha/beta stage. Please help us improve those release notes
by sending PRs that modify docs/source/whatsnew/version8.rst

IPython 8.0 is bringing a large number of new features and improvements to both the
user of the terminal and of the kernel via Jupyter. The removal of compatibility
with older version of Python is also the opportunity to do a couple of
performance improvement in particular with respect to startup time.
The 8.x branch started diverging from its predecessor around IPython 7.12
(January 2020).

This release contains 250+ Pull Requests, in addition to many of the features
and backports that have made it to the 7.x branch. All PRs that went into this
released are properly tagged with the 8.0 milestone if you wish to have a more
in depth look at the changes.

Please fell free to send pull-requests to updates those notes after release,
I have likely forgotten a few things reviewing 250+ PRs.

Dependencies changes/downstream packaging
-----------------------------------------

Note that most of our building step have been changes to be (mostly) declarative
and follow PEP 517, we are trying to completely remove ``setup.py`` (:ghpull:`13238`) and are
looking for help to do so.

 - Minimum supported ``traitlets`` version if now 5+
 - we now require ``stack_data``
 - Minimal Python is now 3.8
 - ``nose`` is not a testing requirement anymore
 - ``pytest`` replaces nose.
 - ``iptest``/``iptest3`` cli entrypoints do not exists anymore.
 - minimum officially support ``numpy`` version has been bumped, but this should
   not have much effect on packaging.

Deprecation and removal
-----------------------

We removed almost all features, arguments, functions, and modules that were
marked as deprecated between IPython 1.0 and 5.0. As reminder 5.0 was released
in 2016, and 1.0 in 2013. Last release of the 5 branch was 5.10.0, in may 2020.
The few remaining deprecated features we left have better deprecation warnings
or have been turned into explicit errors for better error messages.

I will use this occasion to add the following requests to anyone emitting a
deprecation warning:

 - Please at at least ``stacklevel=2`` so that the warning is emitted into the
   caller context, and not the callee one.
 - Please add **since which version** something is deprecated.

As a side note it is much easier to deal with conditional comparing to versions
numbers than ``try/except`` when a functionality change with version.

I won't list all the removed features here, but modules like ``IPython.kernel``,
which was just a shim module around ``ipykernel`` for the past 8 years have been
remove, and so many other similar things that pre-date the name **Jupyter**
itself.

We no longer need to add ``IPyhton.extensions`` to the PYTHONPATH because that is being
handled by ``load_extension``.

We are also removing ``Cythonmagic``, ``sympyprinting`` and ``rmagic`` as they are now in
other packages and no longer need to be inside IPython.

Documentation
-------------

Majority of our docstrings have now been reformatted and automatically fixed by
the experimental `Vélin <https://pypi.org/project/velin/>`_ project, to conform
to numpydoc.

Type annotations
----------------

While IPython itself is highly dynamic and can't be completely typed, many of
the function now have type annotation, and part of the codebase and now checked
by mypy.

Featured changes
----------------

Here is a features list of changes in IPython 8.0. This is of course non-exhaustive.
Please note as well that many features have been added in the 7.x branch as well
(and hence why you want to read the 7.x what's new notes), in particular
features contributed by QuantStack (with respect to debugger protocol, and Xeus
Python), as well as many debugger features that I was please to implement as
part of my work at QuanSight and Sponsored by DE Shaw.

Traceback improvements
~~~~~~~~~~~~~~~~~~~~~~

Previously, error tracebacks for errors happening in code cells were showing a
hash, the one used for compiling the Python AST::

    In [1]: def foo():
    ...:     return 3 / 0
    ...:

    In [2]: foo()
    ---------------------------------------------------------------------------
    ZeroDivisionError                         Traceback (most recent call last)
    <ipython-input-2-c19b6d9633cf> in <module>
    ----> 1 foo()

    <ipython-input-1-1595a74c32d5> in foo()
        1 def foo():
    ----> 2     return 3 / 0
        3

    ZeroDivisionError: division by zero

The error traceback is now correctly formatted, showing the cell number in which the error happened::

    In [1]: def foo():
    ...:     return 3 / 0
    ...:

    Input In [2]: foo()
    ---------------------------------------------------------------------------
    ZeroDivisionError                         Traceback (most recent call last)
    input In [2], in <module>
    ----> 1 foo()

    Input In [1], in foo()
        1 def foo():
    ----> 2     return 3 / 0

    ZeroDivisionError: division by zero

The Second on is the integration of the ``stack_data`` package;
which provide smarter informations in traceback; in particular it will highlight
the AST node where an error occurs which can help to quickly narrow down errors.

For example in the following snippet::

    def foo(i):
        x = [[[0]]]
        return x[0][i][0]

    def bar():
        return foo(0) + foo(
            1
        ) + foo(2)

Calling ``bar()`` would raise an ``IndexError`` on the return line of ``foo``,
IPython 8.0 is capable of telling you, where the index error occurs::

    IndexError
    Input In [2], in <module>
    ----> 1 bar()
            ^^^^^

    Input In [1], in bar()
          6 def bar():
    ----> 7     return foo(0) + foo(
                                ^^^^
          8         1
             ^^^^^^^^
          9     ) + foo(2)
             ^^^^

    Input In [1], in foo(i)
          1 def foo(i):
          2     x = [[[0]]]
    ----> 3     return x[0][i][0]
                       ^^^^^^^

Corresponding location marked here with ``^`` will show up highlighted in
terminal and notebooks.

The Third, which is the most discreet but can have a high impact on
productivity, a colon ``::`` and line number is appended after a filename in
traceback::

    ZeroDivisionError               Traceback (most recent call last)
    File ~/error.py:4, in <module>
          1 def f():
          2     1/0
    ----> 4 f()

    File ~/error.py:2, in f()
          1 def f():
    ----> 2     1/0

Many terminal and editor have integrations allow to directly jump to the
relevant file/line when this syntax is used.

Autosuggestons
~~~~~~~~~~~~~~

Autosuggestion is a very useful feature available in `fish <https://fishshell.com/>`__, `zsh <https://en.wikipedia.org/wiki/Z_shell>`__, and `prompt-toolkit 
<https://python-prompt-toolkit.readthedocs.io/en/master/pages/asking_for_input.html#auto-suggestion>`__.

`Ptpython <https://github.com/prompt-toolkit/ptpython#ptpython>`__ allows users to enable this feature in
`ptpython/config.py <https://github.com/prompt-toolkit/ptpython/blob/master/examples/ptpython_config/config.py#L90>`__.

This feature allows users to accept autosuggestions with ctrl e, ctrl f,
or right arrow as described below.

1. Start ipython

.. image:: ../_images/8.0/auto_suggest_1_prompt_no_text.png

2. Run ``print("hello")``

.. image:: ../_images/8.0/auto_suggest_2_print_hello_suggest.png

3. start typing ``print`` again to see the autosuggestion

.. image:: ../_images/8.0/auto_suggest_3_print_hello_suggest.png

4. Press ``ctrl-f``, or ``ctrl-e``, or ``right-arrow`` to accept the suggestion

.. image:: ../_images/8.0/auto_suggest_4_print_hello.png

You can also complete word by word:

1. Run ``def say_hello(): print("hello")``

.. image:: ../_images/8.0/auto_suggest_second_prompt.png

2. Start typing  the first letter if ``def`` to see the autosuggestion

.. image:: ../_images/8.0/auto_suggest_d_phantom.png

3. Press ``alt-f`` (or ``escape`` followed by ``f``), to accept the first word of the suggestion

.. image:: ../_images/8.0/auto_suggest_def_phantom.png

Importantly, this feature does not interfere with tab completion:

1. After running ``def say_hello(): print("hello")``, press d

.. image:: ../_images/8.0/auto_suggest_d_phantom.png

2. Press Tab to start tab completion

.. image:: ../_images/8.0/auto_suggest_d_completions.png

3A. Press Tab again to select the first option

.. image:: ../_images/8.0/auto_suggest_def_completions.png

3B. Press ``alt f`` (``escape``, ``f``) to accept to accept the first word of the suggestion

.. image:: ../_images/8.0/auto_suggest_def_phantom.png

3C. Press ``ctrl-f`` or ``ctrl-e`` to accept the entire suggestion

.. image:: ../_images/8.0/auto_suggest_match_parens.png

Currently, autosuggestions are only shown in the emacs or vi insert editing modes:

- The ctrl e, ctrl f, and alt f shortcuts work by default in emacs mode.
- To use these shortcuts in vi insert mode, you will have to create `custom keybindings in your config.py <https://github.com/mskar/setup/commit/2892fcee46f9f80ef7788f0749edc99daccc52f4/>`__.

Show pinfo information in ipdb using "?" and "??"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In IPDB, it is now possible to show the information about an object using "?"
and "??", in much the same way it can be done when using the IPython prompt::

    ipdb> partial?
    Init signature: partial(self, /, *args, **kwargs)
    Docstring:
    partial(func, *args, **keywords) - new function with partial application
    of the given arguments and keywords.
    File:           ~/.pyenv/versions/3.8.6/lib/python3.8/functools.py
    Type:           type
    Subclasses:

Previously, ``pinfo`` or ``pinfo2`` command had to be used for this purpose.

Autoreload 3 feature
~~~~~~~~~~~~~~~~~~~~

Example: When an IPython session is ran with the 'autoreload' extension loaded,
you will now have the option '3' to select which means the following:

    1. replicate all functionality from option 2
    2. autoload all new funcs/classes/enums/globals from the module when they are added
    3. autoload all newly imported funcs/classes/enums/globals from external modules

Try ``%autoreload 3`` in an IPython session after running ``%load_ext autoreload``

For more information please see the following unit test : ``extensions/tests/test_autoreload.py:test_autoload_newly_added_objects``

Auto formatting with black in the CLI
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If ``black`` is installed in the same environment as IPython, terminal IPython
will now *by default*  reformat the code in the CLI when possible. You can
disable this with ``--TerminalInteractiveShell.autoformatter=None``.

This feature was present in 7.x but disabled by default.

History Range Glob feature
~~~~~~~~~~~~~~~~~~~~~~~~~~

Previously, when using ``%history``, users could specify either
a range of sessions and lines, for example:

.. code-block:: python

   ~8/1-~6/5   # see history from the first line of 8 sessions ago,
               # to the fifth line of 6 sessions ago.``

Or users could specify a glob pattern:

.. code-block:: python

   -g <pattern>  # glob ALL history for the specified pattern.

However users could *not* specify both.

If a user *did* specify both a range and a glob pattern,
then the glob pattern would be used (globbing *all* history) *and the range would be ignored*.

With this enhancement, if a user specifies both a range and a glob pattern, then the glob pattern will be applied to the specified range of history.

Don't start a multi line cell with sunken parenthesis
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>From now on IPython will not ask for the next line of input when given a single
line with more closing than opening brackets. For example, this means that if
you (mis)type ``]]`` instead of ``[]``, a ``SyntaxError`` will show up, instead of
the ``...:`` prompt continuation.

IPython shell for ipdb interact
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The ipdb ``interact`` starts an IPython shell instead of Python's built-in ``code.interact()``.

Automatic Vi prompt stripping
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When pasting code into IPython, it will strip the leading prompt characters if
there are any. For example, you can paste the following code into the console -
it will still work, even though each line is prefixed with prompts (`In`,
`Out`)::

    In [1]: 2 * 2 == 4
    Out[1]: True

    In [2]: print("This still works as pasted")

Previously, this was not the case for the Vi-mode prompts::

    In [1]: [ins] In [13]: 2 * 2 == 4
       ...: Out[13]: True
       ...:
      File "<ipython-input-1-727bb88eaf33>", line 1
        [ins] In [13]: 2 * 2 == 4
              ^
    SyntaxError: invalid syntax

This is now fixed, and Vi prompt prefixes - ``[ins]`` and ``[nav]`` -  are
skipped just as the normal ``In`` would be.

IPython shell can be started in the Vi mode using ``ipython --TerminalInteractiveShell.editing_mode=vi``,
You should be able to change mode dynamically with ``%config TerminalInteractiveShell.editing_mode='vi'``

Empty History Ranges
~~~~~~~~~~~~~~~~~~~~

A number of magics that take history ranges can now be used with an empty
range. These magics are:

 * ``%save``
 * ``%load``
 * ``%pastebin``
 * ``%pycat``

Using them this way will make them take the history of the current session up
to the point of the magic call (such that the magic itself will not be
included).

Therefore it is now possible to save the whole history to a file using simple
``%save <filename>``, load and edit it using ``%load`` (makes for a nice usage
when followed with :kbd:`F2`), send it to `dpaste.org <http://dpast.org>`_ using
``%pastebin``, or view the whole thing syntax-highlighted with a single
``%pycat``.

Windows time-implementation: Switch to process_time
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Timing for example with ``%%time`` on windows is based on ``time.perf_counter``.
This is at the end the same as W-All.
To be a bit tighter to linux one could change to ``time.process_time`` instead.
Thus for example one would no longer count periods of sleep and further.

Miscellaneous
~~~~~~~~~~~~~
 - Non-text formatters are not disabled in terminal which should simplify
   writing extension displaying images or other mimetypes supporting terminals.
   :ghpull:`12315`
 -
 - It is now possible to automatically insert matching brackets in Terminal IPython using the
   ``TerminalInteractiveShell.auto_match=True`` option. :ghpull:`12586`
 - We are thinking of deprecating the current ``%%javascript`` magic in favor of a better replacement. See :ghpull:`13376`
 - ``%time`` uses ``process_time`` instead of  ``perf_counter``, see :ghpull:`12984`
 - ``~`` is now expanded when part of a path in most magics :ghpull:`13385`
 - ``%/%%timeit`` magic now adds comma every thousands to make reading long number easier :ghpull:`13379`
 - ``"info"`` messages can now be customised to hide some fields :ghpull:`13343`
 - ``collections.UserList`` now pretty-prints :ghpull:`13320`
 - The debugger now have a persistent history, which should make it less
   annoying to retype commands :ghpull:`13246`
 - ``!pip`` ``!conda`` ``!cd`` or ``!ls`` are likely doing the wrong thing, we
   now warn users if they use it. :ghpull:`12954`
 - make ``%precision`` work for ``numpy.float64`` type :ghpull:`12902`

Re-added support for XDG config directories
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

XDG support through the years did come an go, there is a tension between having
identical location in all platforms to have simple instructions. After initial
failure a couple of years ago IPython was modified to automatically migrate XDG
config files back into ``~/.ipython``, the migration code has now been removed.
And IPython now check the XDG locations, so if you _manually_ move your config
files to your preferred location, IPython will not move them back.

Numfocus Small Developer Grant
------------------------------

To prepare for Python 3.10 we have also started working on removing reliance and
any dependency that is not Python 3.10 compatible; that include migrating our
test suite to pytest, and starting to remove nose. This also mean that the
``iptest`` command is now gone, and all testing is via pytest.

This was in large part thanks to the NumFOCUS Small Developer grant, which enabled us to
allocate \$4000 to hire `Nikita Kniazev (@Kojoley) <https://github.com/Kojoley>`_,
who did a fantastic job at updating our code base, migrating to pytest, pushing
our coverage, and fixing a large number of bugs. I highly recommend contacting
them if you need help with C++ and Python projects

You can find all relevant issues and PRs with the SDG 2021 tag `<https://github.com/ipython/ipython/issues?q=label%3A%22Numfocus+SDG+2021%22+>`__

Removing support for Older Python
---------------------------------

We are also removing support for Python up to 3.7 allowing internal code to use more
efficient ``pathlib``, and make better use of type annotations.

.. image:: ../_images/8.0/pathlib_pathlib_everywhere.jpg
   :alt: "Meme image of Toy Story with Woody and Buzz, with the text 'pathlib, pathlib everywhere'"

We have about 34 PRs only to update some logic to update some functions from managing strings to
using Pathlib.

The completer has also seen significant updates and make use of newer Jedi API
offering faster and more reliable tab completion.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-ipython/ALTERNATIVES
cvs rdiff -u -r1.72 -r1.73 pkgsrc/devel/py-ipython/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-ipython/PLIST
cvs rdiff -u -r1.47 -r1.48 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/ALTERNATIVES
diff -u pkgsrc/devel/py-ipython/ALTERNATIVES:1.4 pkgsrc/devel/py-ipython/ALTERNATIVES:1.5
--- pkgsrc/devel/py-ipython/ALTERNATIVES:1.4    Wed May  6 11:16:45 2020
+++ pkgsrc/devel/py-ipython/ALTERNATIVES        Mon Jan 24 18:37:58 2022
@@ -1,2 +1,2 @@
-bin/iptest @PREFIX@/bin/iptest-@PYVERSSUFFIX@
 bin/ipython @PREFIX@/bin/ipython-@PYVERSSUFFIX@
+bin/ipython3 @PREFIX@/bin/ipython3-@PYVERSSUFFIX@

Index: pkgsrc/devel/py-ipython/Makefile
diff -u pkgsrc/devel/py-ipython/Makefile:1.72 pkgsrc/devel/py-ipython/Makefile:1.73
--- pkgsrc/devel/py-ipython/Makefile:1.72       Fri Jan  7 17:16:08 2022
+++ pkgsrc/devel/py-ipython/Makefile    Mon Jan 24 18:37:58 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.72 2022/01/07 17:16:08 adam Exp $
+# $NetBSD: Makefile,v 1.73 2022/01/24 18:37:58 adam Exp $
 
-DISTNAME=      ipython-7.31.0
+DISTNAME=      ipython-8.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ipython/}
@@ -11,16 +11,18 @@ COMMENT=    Interactive computing environme
 LICENSE=       modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-backcall-[0-9]*:../../devel/py-backcall
+DEPENDS+=      ${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
 DEPENDS+=      ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
 DEPENDS+=      ${PYPKGPREFIX}-jedi>=0.16:../../editors/py-jedi
-DEPENDS+=      ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
+DEPENDS+=      ${PYPKGPREFIX}-matplotlib-inline>0:../../graphics/py-matplotlib-inline
+DEPENDS+=      ${PYPKGPREFIX}-pexpect>=4.4:../../devel/py-pexpect
 DEPENDS+=      ${PYPKGPREFIX}-pickleshare-[0-9]*:../../databases/py-pickleshare
 DEPENDS+=      ${PYPKGPREFIX}-prompt_toolkit>=3.0.2:../../devel/py-prompt_toolkit
 DEPENDS+=      ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
 DEPENDS+=      ${PYPKGPREFIX}-setuptools>=18.5:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
-DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.2:../../devel/py-traitlets
-# TODO: matplotlib-inline
+DEPENDS+=      ${PYPKGPREFIX}-stack-data-[0-9]*:../../sysutils/py-stack-data
+DEPENDS+=      ${PYPKGPREFIX}-traitlets>=5:../../devel/py-traitlets
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == Darwin
 DEPENDS+=      ${PYPKGPREFIX}-appnope-[0-9]*:../../sysutils/py-appnope
@@ -34,9 +36,8 @@ USE_PKG_RESOURCES=    yes
 
 post-install:
        cd ${DESTDIR}${PREFIX} && \
-       ${RM} bin/iptest3 bin/ipython3 && \
-       ${MV} bin/iptest bin/iptest-${PYVERSSUFFIX} && \
        ${MV} bin/ipython bin/ipython-${PYVERSSUFFIX} && \
+       ${MV} bin/ipython3 bin/ipython3-${PYVERSSUFFIX} && \
        ${MV} ${PKGMANDIR}/man1/ipython.1 ${PKGMANDIR}/man1/ipython-${PYVERSSUFFIX}.1 || ${TRUE}
 
 .include "../../lang/python/egg.mk"

Index: pkgsrc/devel/py-ipython/PLIST
diff -u pkgsrc/devel/py-ipython/PLIST:1.15 pkgsrc/devel/py-ipython/PLIST:1.16
--- pkgsrc/devel/py-ipython/PLIST:1.15  Sat Jan  1 16:24:38 2022
+++ pkgsrc/devel/py-ipython/PLIST       Mon Jan 24 18:37:58 2022
@@ -1,15 +1,19 @@
-@comment $NetBSD: PLIST,v 1.15 2022/01/01 16:24:38 ryoon Exp $
-bin/iptest-${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.16 2022/01/24 18:37:58 adam Exp $
 bin/ipython-${PYVERSSUFFIX}
+bin/ipython3-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/IPython/__init__.py
 ${PYSITELIB}/IPython/__init__.pyc
 ${PYSITELIB}/IPython/__init__.pyo
 ${PYSITELIB}/IPython/__main__.py
 ${PYSITELIB}/IPython/__main__.pyc
 ${PYSITELIB}/IPython/__main__.pyo
-${PYSITELIB}/IPython/config.py
-${PYSITELIB}/IPython/config.pyc
-${PYSITELIB}/IPython/config.pyo
 ${PYSITELIB}/IPython/conftest.py
 ${PYSITELIB}/IPython/conftest.pyc
 ${PYSITELIB}/IPython/conftest.pyo
@@ -52,6 +56,9 @@ ${PYSITELIB}/IPython/core/debugger.pyo
 ${PYSITELIB}/IPython/core/display.py
 ${PYSITELIB}/IPython/core/display.pyc
 ${PYSITELIB}/IPython/core/display.pyo
+${PYSITELIB}/IPython/core/display_functions.py
+${PYSITELIB}/IPython/core/display_functions.pyc
+${PYSITELIB}/IPython/core/display_functions.pyo
 ${PYSITELIB}/IPython/core/display_trap.py
 ${PYSITELIB}/IPython/core/display_trap.pyc
 ${PYSITELIB}/IPython/core/display_trap.pyo
@@ -355,18 +362,9 @@ ${PYSITELIB}/IPython/extensions/__init__
 ${PYSITELIB}/IPython/extensions/autoreload.py
 ${PYSITELIB}/IPython/extensions/autoreload.pyc
 ${PYSITELIB}/IPython/extensions/autoreload.pyo
-${PYSITELIB}/IPython/extensions/cythonmagic.py
-${PYSITELIB}/IPython/extensions/cythonmagic.pyc
-${PYSITELIB}/IPython/extensions/cythonmagic.pyo
-${PYSITELIB}/IPython/extensions/rmagic.py
-${PYSITELIB}/IPython/extensions/rmagic.pyc
-${PYSITELIB}/IPython/extensions/rmagic.pyo
 ${PYSITELIB}/IPython/extensions/storemagic.py
 ${PYSITELIB}/IPython/extensions/storemagic.pyc
 ${PYSITELIB}/IPython/extensions/storemagic.pyo
-${PYSITELIB}/IPython/extensions/sympyprinting.py
-${PYSITELIB}/IPython/extensions/sympyprinting.pyc
-${PYSITELIB}/IPython/extensions/sympyprinting.pyo
 ${PYSITELIB}/IPython/extensions/tests/__init__.py
 ${PYSITELIB}/IPython/extensions/tests/__init__.pyc
 ${PYSITELIB}/IPython/extensions/tests/__init__.pyo
@@ -379,78 +377,18 @@ ${PYSITELIB}/IPython/extensions/tests/te
 ${PYSITELIB}/IPython/external/__init__.py
 ${PYSITELIB}/IPython/external/__init__.pyc
 ${PYSITELIB}/IPython/external/__init__.pyo
-${PYSITELIB}/IPython/external/decorators/__init__.py
-${PYSITELIB}/IPython/external/decorators/__init__.pyc
-${PYSITELIB}/IPython/external/decorators/__init__.pyo
-${PYSITELIB}/IPython/external/decorators/_decorators.py
-${PYSITELIB}/IPython/external/decorators/_decorators.pyc
-${PYSITELIB}/IPython/external/decorators/_decorators.pyo
-${PYSITELIB}/IPython/external/decorators/_numpy_testing_noseclasses.py
-${PYSITELIB}/IPython/external/decorators/_numpy_testing_noseclasses.pyc
-${PYSITELIB}/IPython/external/decorators/_numpy_testing_noseclasses.pyo
-${PYSITELIB}/IPython/external/mathjax.py
-${PYSITELIB}/IPython/external/mathjax.pyc
-${PYSITELIB}/IPython/external/mathjax.pyo
 ${PYSITELIB}/IPython/external/qt_for_kernel.py
 ${PYSITELIB}/IPython/external/qt_for_kernel.pyc
 ${PYSITELIB}/IPython/external/qt_for_kernel.pyo
 ${PYSITELIB}/IPython/external/qt_loaders.py
 ${PYSITELIB}/IPython/external/qt_loaders.pyc
 ${PYSITELIB}/IPython/external/qt_loaders.pyo
-${PYSITELIB}/IPython/frontend.py
-${PYSITELIB}/IPython/frontend.pyc
-${PYSITELIB}/IPython/frontend.pyo
-${PYSITELIB}/IPython/html.py
-${PYSITELIB}/IPython/html.pyc
-${PYSITELIB}/IPython/html.pyo
-${PYSITELIB}/IPython/kernel/__init__.py
-${PYSITELIB}/IPython/kernel/__init__.pyc
-${PYSITELIB}/IPython/kernel/__init__.pyo
-${PYSITELIB}/IPython/kernel/__main__.py
-${PYSITELIB}/IPython/kernel/__main__.pyc
-${PYSITELIB}/IPython/kernel/__main__.pyo
-${PYSITELIB}/IPython/kernel/adapter.py
-${PYSITELIB}/IPython/kernel/adapter.pyc
-${PYSITELIB}/IPython/kernel/adapter.pyo
-${PYSITELIB}/IPython/kernel/channels.py
-${PYSITELIB}/IPython/kernel/channels.pyc
-${PYSITELIB}/IPython/kernel/channels.pyo
-${PYSITELIB}/IPython/kernel/channelsabc.py
-${PYSITELIB}/IPython/kernel/channelsabc.pyc
-${PYSITELIB}/IPython/kernel/channelsabc.pyo
-${PYSITELIB}/IPython/kernel/client.py
-${PYSITELIB}/IPython/kernel/client.pyc
-${PYSITELIB}/IPython/kernel/client.pyo
-${PYSITELIB}/IPython/kernel/clientabc.py
-${PYSITELIB}/IPython/kernel/clientabc.pyc
-${PYSITELIB}/IPython/kernel/clientabc.pyo
-${PYSITELIB}/IPython/kernel/connect.py
-${PYSITELIB}/IPython/kernel/connect.pyc
-${PYSITELIB}/IPython/kernel/connect.pyo
-${PYSITELIB}/IPython/kernel/kernelspec.py
-${PYSITELIB}/IPython/kernel/kernelspec.pyc
-${PYSITELIB}/IPython/kernel/kernelspec.pyo
-${PYSITELIB}/IPython/kernel/kernelspecapp.py
-${PYSITELIB}/IPython/kernel/kernelspecapp.pyc
-${PYSITELIB}/IPython/kernel/kernelspecapp.pyo
-${PYSITELIB}/IPython/kernel/launcher.py
-${PYSITELIB}/IPython/kernel/launcher.pyc
-${PYSITELIB}/IPython/kernel/launcher.pyo
-${PYSITELIB}/IPython/kernel/manager.py
-${PYSITELIB}/IPython/kernel/manager.pyc
-${PYSITELIB}/IPython/kernel/manager.pyo
-${PYSITELIB}/IPython/kernel/managerabc.py
-${PYSITELIB}/IPython/kernel/managerabc.pyc
-${PYSITELIB}/IPython/kernel/managerabc.pyo
-${PYSITELIB}/IPython/kernel/multikernelmanager.py
-${PYSITELIB}/IPython/kernel/multikernelmanager.pyc
-${PYSITELIB}/IPython/kernel/multikernelmanager.pyo
-${PYSITELIB}/IPython/kernel/restarter.py
-${PYSITELIB}/IPython/kernel/restarter.pyc
-${PYSITELIB}/IPython/kernel/restarter.pyo
-${PYSITELIB}/IPython/kernel/threaded.py
-${PYSITELIB}/IPython/kernel/threaded.pyc
-${PYSITELIB}/IPython/kernel/threaded.pyo
+${PYSITELIB}/IPython/external/tests/__init__.py
+${PYSITELIB}/IPython/external/tests/__init__.pyc
+${PYSITELIB}/IPython/external/tests/__init__.pyo
+${PYSITELIB}/IPython/external/tests/test_qt_loaders.py
+${PYSITELIB}/IPython/external/tests/test_qt_loaders.pyc
+${PYSITELIB}/IPython/external/tests/test_qt_loaders.pyo
 ${PYSITELIB}/IPython/lib/__init__.py
 ${PYSITELIB}/IPython/lib/__init__.pyc
 ${PYSITELIB}/IPython/lib/__init__.pyo
@@ -475,33 +413,6 @@ ${PYSITELIB}/IPython/lib/editorhooks.pyo
 ${PYSITELIB}/IPython/lib/guisupport.py
 ${PYSITELIB}/IPython/lib/guisupport.pyc
 ${PYSITELIB}/IPython/lib/guisupport.pyo
-${PYSITELIB}/IPython/lib/inputhook.py
-${PYSITELIB}/IPython/lib/inputhook.pyc
-${PYSITELIB}/IPython/lib/inputhook.pyo
-${PYSITELIB}/IPython/lib/inputhookglut.py
-${PYSITELIB}/IPython/lib/inputhookglut.pyc
-${PYSITELIB}/IPython/lib/inputhookglut.pyo
-${PYSITELIB}/IPython/lib/inputhookgtk.py
-${PYSITELIB}/IPython/lib/inputhookgtk.pyc
-${PYSITELIB}/IPython/lib/inputhookgtk.pyo
-${PYSITELIB}/IPython/lib/inputhookgtk3.py
-${PYSITELIB}/IPython/lib/inputhookgtk3.pyc
-${PYSITELIB}/IPython/lib/inputhookgtk3.pyo
-${PYSITELIB}/IPython/lib/inputhookgtk4.py
-${PYSITELIB}/IPython/lib/inputhookgtk4.pyc
-${PYSITELIB}/IPython/lib/inputhookgtk4.pyo
-${PYSITELIB}/IPython/lib/inputhookpyglet.py
-${PYSITELIB}/IPython/lib/inputhookpyglet.pyc
-${PYSITELIB}/IPython/lib/inputhookpyglet.pyo
-${PYSITELIB}/IPython/lib/inputhookqt4.py
-${PYSITELIB}/IPython/lib/inputhookqt4.pyc
-${PYSITELIB}/IPython/lib/inputhookqt4.pyo
-${PYSITELIB}/IPython/lib/inputhookwx.py
-${PYSITELIB}/IPython/lib/inputhookwx.pyc
-${PYSITELIB}/IPython/lib/inputhookwx.pyo
-${PYSITELIB}/IPython/lib/kernel.py
-${PYSITELIB}/IPython/lib/kernel.pyc
-${PYSITELIB}/IPython/lib/kernel.pyo
 ${PYSITELIB}/IPython/lib/latextools.py
 ${PYSITELIB}/IPython/lib/latextools.pyc
 ${PYSITELIB}/IPython/lib/latextools.pyo
@@ -548,21 +459,9 @@ ${PYSITELIB}/IPython/lib/tests/test_pret
 ${PYSITELIB}/IPython/lib/tests/test_security.py
 ${PYSITELIB}/IPython/lib/tests/test_security.pyc
 ${PYSITELIB}/IPython/lib/tests/test_security.pyo
-${PYSITELIB}/IPython/nbconvert.py
-${PYSITELIB}/IPython/nbconvert.pyc
-${PYSITELIB}/IPython/nbconvert.pyo
-${PYSITELIB}/IPython/nbformat.py
-${PYSITELIB}/IPython/nbformat.pyc
-${PYSITELIB}/IPython/nbformat.pyo
-${PYSITELIB}/IPython/parallel.py
-${PYSITELIB}/IPython/parallel.pyc
-${PYSITELIB}/IPython/parallel.pyo
 ${PYSITELIB}/IPython/paths.py
 ${PYSITELIB}/IPython/paths.pyc
 ${PYSITELIB}/IPython/paths.pyo
-${PYSITELIB}/IPython/qt.py
-${PYSITELIB}/IPython/qt.pyc
-${PYSITELIB}/IPython/qt.pyo
 ${PYSITELIB}/IPython/sphinxext/__init__.py
 ${PYSITELIB}/IPython/sphinxext/__init__.pyc
 ${PYSITELIB}/IPython/sphinxext/__init__.pyo
@@ -632,9 +531,6 @@ ${PYSITELIB}/IPython/terminal/pt_inputho
 ${PYSITELIB}/IPython/terminal/pt_inputhooks/wx.py
 ${PYSITELIB}/IPython/terminal/pt_inputhooks/wx.pyc
 ${PYSITELIB}/IPython/terminal/pt_inputhooks/wx.pyo
-${PYSITELIB}/IPython/terminal/ptshell.py
-${PYSITELIB}/IPython/terminal/ptshell.pyc
-${PYSITELIB}/IPython/terminal/ptshell.pyo
 ${PYSITELIB}/IPython/terminal/ptutils.py
 ${PYSITELIB}/IPython/terminal/ptutils.pyc
 ${PYSITELIB}/IPython/terminal/ptutils.pyo
@@ -659,21 +555,12 @@ ${PYSITELIB}/IPython/terminal/tests/test
 ${PYSITELIB}/IPython/testing/__init__.py
 ${PYSITELIB}/IPython/testing/__init__.pyc
 ${PYSITELIB}/IPython/testing/__init__.pyo
-${PYSITELIB}/IPython/testing/__main__.py
-${PYSITELIB}/IPython/testing/__main__.pyc
-${PYSITELIB}/IPython/testing/__main__.pyo
 ${PYSITELIB}/IPython/testing/decorators.py
 ${PYSITELIB}/IPython/testing/decorators.pyc
 ${PYSITELIB}/IPython/testing/decorators.pyo
 ${PYSITELIB}/IPython/testing/globalipapp.py
 ${PYSITELIB}/IPython/testing/globalipapp.pyc
 ${PYSITELIB}/IPython/testing/globalipapp.pyo
-${PYSITELIB}/IPython/testing/iptest.py
-${PYSITELIB}/IPython/testing/iptest.pyc
-${PYSITELIB}/IPython/testing/iptest.pyo
-${PYSITELIB}/IPython/testing/iptestcontroller.py
-${PYSITELIB}/IPython/testing/iptestcontroller.pyc
-${PYSITELIB}/IPython/testing/iptestcontroller.pyo
 ${PYSITELIB}/IPython/testing/ipunittest.py
 ${PYSITELIB}/IPython/testing/ipunittest.pyc
 ${PYSITELIB}/IPython/testing/ipunittest.pyo
@@ -687,15 +574,12 @@ ${PYSITELIB}/IPython/testing/plugin/dtex
 ${PYSITELIB}/IPython/testing/plugin/ipdoctest.py
 ${PYSITELIB}/IPython/testing/plugin/ipdoctest.pyc
 ${PYSITELIB}/IPython/testing/plugin/ipdoctest.pyo
-${PYSITELIB}/IPython/testing/plugin/iptest.py
-${PYSITELIB}/IPython/testing/plugin/iptest.pyc
-${PYSITELIB}/IPython/testing/plugin/iptest.pyo
+${PYSITELIB}/IPython/testing/plugin/pytest_ipdoctest.py
+${PYSITELIB}/IPython/testing/plugin/pytest_ipdoctest.pyc
+${PYSITELIB}/IPython/testing/plugin/pytest_ipdoctest.pyo
 ${PYSITELIB}/IPython/testing/plugin/setup.py
 ${PYSITELIB}/IPython/testing/plugin/setup.pyc
 ${PYSITELIB}/IPython/testing/plugin/setup.pyo
-${PYSITELIB}/IPython/testing/plugin/show_refs.py
-${PYSITELIB}/IPython/testing/plugin/show_refs.pyc
-${PYSITELIB}/IPython/testing/plugin/show_refs.pyo
 ${PYSITELIB}/IPython/testing/plugin/simple.py
 ${PYSITELIB}/IPython/testing/plugin/simple.pyc
 ${PYSITELIB}/IPython/testing/plugin/simple.pyo
@@ -816,9 +700,6 @@ ${PYSITELIB}/IPython/utils/openpy.pyo
 ${PYSITELIB}/IPython/utils/path.py
 ${PYSITELIB}/IPython/utils/path.pyc
 ${PYSITELIB}/IPython/utils/path.pyo
-${PYSITELIB}/IPython/utils/pickleutil.py
-${PYSITELIB}/IPython/utils/pickleutil.pyc
-${PYSITELIB}/IPython/utils/pickleutil.pyo
 ${PYSITELIB}/IPython/utils/process.py
 ${PYSITELIB}/IPython/utils/process.pyc
 ${PYSITELIB}/IPython/utils/process.pyo
@@ -885,9 +766,6 @@ ${PYSITELIB}/IPython/utils/tests/test_pr
 ${PYSITELIB}/IPython/utils/tests/test_pycolorize.py
 ${PYSITELIB}/IPython/utils/tests/test_pycolorize.pyc
 ${PYSITELIB}/IPython/utils/tests/test_pycolorize.pyo
-${PYSITELIB}/IPython/utils/tests/test_shimmodule.py
-${PYSITELIB}/IPython/utils/tests/test_shimmodule.pyc
-${PYSITELIB}/IPython/utils/tests/test_shimmodule.pyo
 ${PYSITELIB}/IPython/utils/tests/test_sysinfo.py
 ${PYSITELIB}/IPython/utils/tests/test_sysinfo.pyc
 ${PYSITELIB}/IPython/utils/tests/test_sysinfo.pyo
@@ -927,11 +805,4 @@ ${PYSITELIB}/IPython/utils/version.pyo
 ${PYSITELIB}/IPython/utils/wildcard.py
 ${PYSITELIB}/IPython/utils/wildcard.pyc
 ${PYSITELIB}/IPython/utils/wildcard.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 man/man1/ipython-${PYVERSSUFFIX}.1

Index: pkgsrc/devel/py-ipython/distinfo
diff -u pkgsrc/devel/py-ipython/distinfo:1.47 pkgsrc/devel/py-ipython/distinfo:1.48
--- pkgsrc/devel/py-ipython/distinfo:1.47       Fri Jan  7 17:16:08 2022
+++ pkgsrc/devel/py-ipython/distinfo    Mon Jan 24 18:37:58 2022
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.47 2022/01/07 17:16:08 adam Exp $
+$NetBSD: distinfo,v 1.48 2022/01/24 18:37:58 adam Exp $
 
-BLAKE2s (ipython-7.31.0.tar.gz) = db6d39e649aef4f3de6b7b45a5c5008eef4aa502446f926fe1bf8e1302eb04ff
-SHA512 (ipython-7.31.0.tar.gz) = 705122ca63df17812ab360da06d58431b51d3a1f3bba47df7131e882de64de54c6986e7ba3d55f4b77c4b1049981b0100ba64825e952b25712c843ef7e975e2f
-Size (ipython-7.31.0.tar.gz) = 5154974 bytes
+BLAKE2s (ipython-8.0.1.tar.gz) = d5010516999ca08f764792df699991246e3fdd21c660ea7d27edf8116d036099
+SHA512 (ipython-8.0.1.tar.gz) = c4f3cf6e4aa7dab1e4e8cec2d669e5fe4ea3eeac9063132a38544596fafbaaed0f287bbdce12e8bc3d7613766c51b0e1ff8c7c86fdbd53e387caade6bbcdb828
+Size (ipython-8.0.1.tar.gz) = 5306811 bytes
 SHA1 (patch-setupbase.py) = 241463d5368a4c80c8194244f5c3895196b44da5



Home | Main Index | Thread Index | Old Index