Show More
@@ -22,12 +22,24 b' Need to be updated:' | |||||
22 |
|
22 | |||
23 | pr/* |
|
23 | pr/* | |
24 |
|
24 | |||
25 | IPython 8.0 is bringing a number of new features and improvements to both the |
|
25 | IPython 8.0 is bringing a large number of new features and improvements to both the | |
26 | user of the terminal and of the kernel via Jupyter. The removal of compatibility |
|
26 | user of the terminal and of the kernel via Jupyter. The removal of compatibility | |
27 | with older version of Python is also the opportunity to do a couple of |
|
27 | with older version of Python is also the opportunity to do a couple of | |
28 | performance improvement in particular with respect to startup time. |
|
28 | performance improvement in particular with respect to startup time. | |
29 |
|
29 | |||
30 | The main change in IPython 8.0 is the integration of the ``stack_data`` package; |
|
30 | This release contains 250+ Pull requests, in addition to many of the features | |
|
31 | and backports that have made it to the 7.x branch. | |||
|
32 | ||||
|
33 | We removed almost all features, arguments, functions, and modules that were | |||
|
34 | marked as deprecated between IPython 1.0 and 5.0 and before. As reminder 5.0 was | |||
|
35 | released in 2016, and 1.0 in 2013. Last release of the 5 branch was 5.10.0, in | |||
|
36 | may 2020. The few remaining deprecated features have better deprecation warnings | |||
|
37 | or errors. | |||
|
38 | ||||
|
39 | There are many change in IPython 8.0 will will try to describe subsequently, | |||
|
40 | ||||
|
41 | ||||
|
42 | The first on is the integration of the ``stack_data`` package; | |||
31 | which provide smarter information in traceback; in particular it will highlight |
|
43 | which provide smarter information in traceback; in particular it will highlight | |
32 | the AST node where an error occurs which can help to quickly narrow down errors. |
|
44 | the AST node where an error occurs which can help to quickly narrow down errors. | |
33 |
|
45 | |||
@@ -50,13 +62,34 b' IPython 8.0 is capable of telling you, where the index error occurs::' | |||||
50 | return x[0][i][0] |
|
62 | return x[0][i][0] | |
51 | ^ |
|
63 | ^ | |
52 |
|
64 | |||
|
65 | ||||
|
66 | Numfocus Small Developer Grant | |||
|
67 | ------------------------------ | |||
|
68 | ||||
53 | To prepare for Python 3.10 we have also started working on removing reliance and |
|
69 | To prepare for Python 3.10 we have also started working on removing reliance and | |
54 | any dependency that is not Python 3.10 compatible; that include migrating our |
|
70 | any dependency that is not Python 3.10 compatible; that include migrating our | |
55 |
test suite to |
|
71 | test suite to pytest, and starting to remove nose. This also mean that the | |
|
72 | ``iptest`` command is now gone, and all testing is via pytest. | |||
|
73 | ||||
|
74 | This was in bog part thanks the NumFOCUS Small Developer grant, we were able to | |||
|
75 | allocate 4000 to hire `Nikita Kniazev @Kojoley <https://github.com/Kojoley>`__ | |||
|
76 | who did a fantastic job at updating our code base, migrating to pytest, pushing | |||
|
77 | our coverage, and fixing a large number of bugs. I highly recommend contacting | |||
|
78 | them if you need help with C++ and Python projects | |||
56 |
|
79 | |||
57 | We are also removing support for Python 3.6 allowing internal code to use more |
|
80 | You can find all relevant issues and PRs with the SDG 2021 tag: | |
|
81 | ||||
|
82 | https://github.com/ipython/ipython/issues?q=label%3A%22Numfocus+SDG+2021%22+ | |||
|
83 | ||||
|
84 | Removing support for Older Python | |||
|
85 | --------------------------------- | |||
|
86 | ||||
|
87 | ||||
|
88 | We are also removing support for Python up to 3.7 allowing internal code to use more | |||
58 | efficient ``pathlib``, and make better use of type annotations. |
|
89 | efficient ``pathlib``, and make better use of type annotations. | |
59 |
|
90 | |||
|
91 | IMAGE : Pathlib, pathlib everywhere. | |||
|
92 | ||||
60 | The completer has also seen significant updates and make use of newer Jedi API |
|
93 | The completer has also seen significant updates and make use of newer Jedi API | |
61 | offering faster and more reliable tab completion. |
|
94 | offering faster and more reliable tab completion. | |
62 |
|
95 | |||
@@ -168,6 +201,12 b' Try ``%autoreload 3`` in an IPython session after running ``%load_ext autoreload' | |||||
168 | For more information please see unit test - |
|
201 | For more information please see unit test - | |
169 | extensions/tests/test_autoreload.py : 'test_autoload_newly_added_objects' |
|
202 | extensions/tests/test_autoreload.py : 'test_autoload_newly_added_objects' | |
170 |
|
203 | |||
|
204 | ||||
|
205 | Miscelanious | |||
|
206 | ------------ | |||
|
207 | ||||
|
208 | Minimum supported | |||
|
209 | ||||
171 | ======= |
|
210 | ======= | |
172 |
|
211 | |||
173 | .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT. |
|
212 | .. DO NOT EDIT THIS LINE BEFORE RELEASE. FEATURE INSERTION POINT. |
General Comments 0
You need to be logged in to leave comments.
Login now