pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-ipython py-ipython: updated to 8.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4d7543c31ac
branches:  trunk
changeset: 387530:f4d7543c31ac
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 31 17:14:47 2022 +0000

description:
py-ipython: updated to 8.6.0

IPython 8.6.0
-------------

Back to a more regular release schedule (at least I try), as Friday is
already over by more than 24h hours. This is a slightly bigger release with a
few new features that contain no less then 25 PRs.

We'll notably found a couple of non negligible changes:

The ``install_ext`` and related functions have been removed after being
deprecated for years. You can use pip to install extensions. ``pip`` did not
exists when ``install_ext`` was introduced. You can still load local extensions
without installing them. Just set your ``sys.path`` for example. :ghpull:`13744`

IPython now have extra entry points that that the major *and minor* version of
python. For some of you this mean that you can do a quick ``ipython3.10`` to
launch IPython from the Python 3.10 interpreter, while still using Python 3.11
as your main Python. :ghpull:`13743`

The completer matcher API have been improved. See :ghpull:`13745`. This should
improve the type inference and improve dict keys completions in many use case.
Tanks ``@krassowski`` for all the works, and the D.E. Shaw group for sponsoring
it.

The color of error nodes in tracebacks can now be customized. See
:ghpull:`13756`. This is a private attribute until someone find the time to
properly add a configuration option. Note that with Python 3.11 that also show
the relevant nodes in traceback, it would be good to leverage this informations
(plus the "did you mean" info added on attribute errors). But that's likely work
I won't have time to do before long, so contributions welcome.

As we follow NEP 29, we removed support for numpy 1.19 :ghpull:`13760`.


The ``open()`` function present in the user namespace by default will now refuse
to open the file descriptors 0,1,2 (stdin, out, err), to avoid crashing IPython.
This mostly occurs in teaching context when incorrect values get passed around.


The ``?``, ``??``, and corresponding ``pinfo``, ``pinfo2`` magics can now find
objects insides arrays. That is to say, the following now works::


   >>> def my_func(*arg, **kwargs):pass
   >>> container = [my_func]
   >>> container[0]?


If ``container`` define a custom ``getitem``, this __will__ trigger the custom
method. So don't put side effects in your ``getitems``. Thanks the D.E. Shaw
group for the request and sponsoring the work.

diffstat:

 devel/py-ipython/Makefile |  4 ++--
 devel/py-ipython/PLIST    |  5 ++++-
 devel/py-ipython/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r d9994ff1abc7 -r f4d7543c31ac devel/py-ipython/Makefile
--- a/devel/py-ipython/Makefile Mon Oct 31 17:13:39 2022 +0000
+++ b/devel/py-ipython/Makefile Mon Oct 31 17:14:47 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.80 2022/09/06 19:12:14 adam Exp $
+# $NetBSD: Makefile,v 1.81 2022/10/31 17:14:47 adam Exp $
 
-DISTNAME=      ipython-8.5.0
+DISTNAME=      ipython-8.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ipython/}
diff -r d9994ff1abc7 -r f4d7543c31ac devel/py-ipython/PLIST
--- a/devel/py-ipython/PLIST    Mon Oct 31 17:13:39 2022 +0000
+++ b/devel/py-ipython/PLIST    Mon Oct 31 17:14:47 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2022/03/06 17:18:31 adam Exp $
+@comment $NetBSD: PLIST,v 1.18 2022/10/31 17:14:47 adam Exp $
 bin/ipython-${PYVERSSUFFIX}
 bin/ipython3-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -655,6 +655,9 @@
 ${PYSITELIB}/IPython/utils/dir2.py
 ${PYSITELIB}/IPython/utils/dir2.pyc
 ${PYSITELIB}/IPython/utils/dir2.pyo
+${PYSITELIB}/IPython/utils/docs.py
+${PYSITELIB}/IPython/utils/docs.pyc
+${PYSITELIB}/IPython/utils/docs.pyo
 ${PYSITELIB}/IPython/utils/encoding.py
 ${PYSITELIB}/IPython/utils/encoding.pyc
 ${PYSITELIB}/IPython/utils/encoding.pyo
diff -r d9994ff1abc7 -r f4d7543c31ac devel/py-ipython/distinfo
--- a/devel/py-ipython/distinfo Mon Oct 31 17:13:39 2022 +0000
+++ b/devel/py-ipython/distinfo Mon Oct 31 17:14:47 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.53 2022/09/06 19:12:14 adam Exp $
+$NetBSD: distinfo,v 1.54 2022/10/31 17:14:47 adam Exp $
 
-BLAKE2s (ipython-8.5.0.tar.gz) = fdc701a53a84a4cb13b5fb39bcbded2c4382bc9c94c7e3aaf17a33253d853331
-SHA512 (ipython-8.5.0.tar.gz) = 9339507fbe229d83f4c41b79257a7b40890d9d0601692521a61dc777c040a6d22d131014d660ffc9ba79f7128f579082473642f47b86e59a038f79c6553c8186
-Size (ipython-8.5.0.tar.gz) = 5319096 bytes
+BLAKE2s (ipython-8.6.0.tar.gz) = ae23c8e2866171cd6837d9d392ddf81904a7b484daf9cb5d0a39fc5d16790e9d
+SHA512 (ipython-8.6.0.tar.gz) = 54c9e354754b1086e5b87d4d76fa4fe5aa261b095d18210f6660fa9e0a3177db4c9b66d26da5e5d6880a40534477d8c6ea59615c4069327939bca41d49addb47
+Size (ipython-8.6.0.tar.gz) = 5329155 bytes
 SHA1 (patch-setupbase.py) = 241463d5368a4c80c8194244f5c3895196b44da5



Home | Main Index | Thread Index | Old Index