From 6f12806d3441d5c0ebd2550c8f8499a81827ede6 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Mon, 14 Jun 2021 16:01:16 +0200 Subject: [PATCH 1/5] Misc Updates to changelog. Make it slightly easier for users to understand why they shoudl migrate (or not) to 6.0. Feel free to add entries. --- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e70dfaaa..8db0e82ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,46 @@ * remove `find_connection_file` and profile arg of `connect_qtconsole` and `get_connection_info`, deprecated since IPykernel 4.2.2. +## 6.0.0 + +IPykernel 6.0 is the first major release in about two years, that brings a number of improvements code cleanup and new +features to IPython. + +You should be able to view all closed issues and merged Pull Request for this +milestone [on +GitHub](https://github.com/ipython/ipykernel/issues?q=milestone%3A6.0+is%3Aclosed+), +as for any major releases, we advise greater care when updating that for minor +release and welcome any feedback (~50 Pull-requests). + +IPykernel 6 should contain all changes of the 5.x series, in addition to the +followings non-exhaustive changes. + + + - The control channel on IPykernel 6.0 is ran in a separate thread, this may + change the order in which messages are process, though this change was necessary + to accommodate the debugger. + + - Support for the debugger protocol, when using jupyter lab, retrolab or any + frontend supporting the debugger protocol you should have access to the + debugger functionalities. + + - We now have a new dependency: `matplotlib-inline`, this helps to separate the + circular dependency between IPython/IPykernel and matplotlib. + + - All outputs to stdout/stderr should now be captured, including subprocesses + and output of compiled libraries (blas, lapack....). In notebook + server, some outputs that would previously go to the notebooks logs will now + both head to notebook logs and in notebooks outputs. In terminal frontend + like Jupyter Console, Emacs or other, this may ends up as duplicated outputs. + + - coroutines are now native (async-def) , instead of using tornado's + `@gen.coroutine` + + - OutStreams can now be configured to report `istty() == True`, while this + should make some output nicer (for example colored), it is likely to break + others. Use with care. + + * Set `stop_on_error_timeout` default to 0.0 matching pre 5.5.0 default behavior with correctly working flag from 5.5.0. ## 5.5 From bcd774e2cfc2392a01f8b9983929a9de96fb67af Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 15 Jun 2021 14:57:08 +0200 Subject: [PATCH 2/5] Update CHANGELOG.md Co-authored-by: Steven Silvester --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8db0e82ff..576321da8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,7 @@ followings non-exhaustive changes. change the order in which messages are process, though this change was necessary to accommodate the debugger. - - Support for the debugger protocol, when using jupyter lab, retrolab or any + - Support for the debugger protocol, when using `JupyterLab`, `RetroLab` or any frontend supporting the debugger protocol you should have access to the debugger functionalities. From 93884282ab13b37095f42049b904414b6a0bc863 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 15 Jun 2021 14:59:18 +0200 Subject: [PATCH 3/5] more --- CHANGELOG.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 576321da8..ce02f1885 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,14 +17,14 @@ IPykernel 6 should contain all changes of the 5.x series, in addition to the followings non-exhaustive changes. - - The control channel on IPykernel 6.0 is ran in a separate thread, this may - change the order in which messages are process, though this change was necessary - to accommodate the debugger. - - Support for the debugger protocol, when using `JupyterLab`, `RetroLab` or any frontend supporting the debugger protocol you should have access to the debugger functionalities. + - The control channel on IPykernel 6.0 is ran in a separate thread, this may + change the order in which messages are process, though this change was necessary + to accommodate the debugger. + - We now have a new dependency: `matplotlib-inline`, this helps to separate the circular dependency between IPython/IPykernel and matplotlib. @@ -41,6 +41,13 @@ followings non-exhaustive changes. should make some output nicer (for example colored), it is likely to break others. Use with care. +## Deprecations in 6.0 + +## Removal in 6.0 + + - ipykernel.codeutils was deprecated since 4.x series (2016) and has been removed, please import similar + functionalities from `ipyparallel` + * Set `stop_on_error_timeout` default to 0.0 matching pre 5.5.0 default behavior with correctly working flag from 5.5.0. From 8945f814ad898d5e60d781b7063d8cb827cb6fcc Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 15 Jun 2021 15:04:43 +0200 Subject: [PATCH 4/5] more changes --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce02f1885..b2d08bcd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,5 @@ # Changes in IPython kernel -* remove `find_connection_file` and profile arg of `connect_qtconsole` and `get_connection_info`, deprecated since IPykernel 4.2.2. ## 6.0.0 @@ -43,11 +42,18 @@ followings non-exhaustive changes. ## Deprecations in 6.0 + - `Kernel`s now support only a single shell stream, multiple streams will now be ignored. The attribute + `Kernel.shell_streams` (plural) is deprecated in ipykernel 6.0. Use `Kernel.shell_stream` (singular) + + - `Kernel._parent_header` is deprecated, even though it was private. Use `.get_parent()` now. + ## Removal in 6.0 - ipykernel.codeutils was deprecated since 4.x series (2016) and has been removed, please import similar functionalities from `ipyparallel` + - remove `find_connection_file` and `profile` argument of `connect_qtconsole` and `get_connection_info`, deprecated since IPykernel 4.2.2 (2016). + * Set `stop_on_error_timeout` default to 0.0 matching pre 5.5.0 default behavior with correctly working flag from 5.5.0. From 480d4d93b87d4c4b9d16bd6f6028a92a031d0135 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 15 Jun 2021 16:21:08 +0200 Subject: [PATCH 5/5] Apply Willingc corrections. Co-authored-by: Carol Willing --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b2d08bcd6..6926b4b1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## 6.0.0 -IPykernel 6.0 is the first major release in about two years, that brings a number of improvements code cleanup and new +IPykernel 6.0 is the first major release in about two years, that brings a number of improvements, code cleanup, and new features to IPython. You should be able to view all closed issues and merged Pull Request for this @@ -13,15 +13,15 @@ as for any major releases, we advise greater care when updating that for minor release and welcome any feedback (~50 Pull-requests). IPykernel 6 should contain all changes of the 5.x series, in addition to the -followings non-exhaustive changes. +following non-exhaustive changes. - Support for the debugger protocol, when using `JupyterLab`, `RetroLab` or any frontend supporting the debugger protocol you should have access to the debugger functionalities. - - The control channel on IPykernel 6.0 is ran in a separate thread, this may - change the order in which messages are process, though this change was necessary + - The control channel on IPykernel 6.0 is run in a separate thread, this may + change the order in which messages are processed, though this change was necessary to accommodate the debugger. - We now have a new dependency: `matplotlib-inline`, this helps to separate the @@ -49,7 +49,7 @@ followings non-exhaustive changes. ## Removal in 6.0 - - ipykernel.codeutils was deprecated since 4.x series (2016) and has been removed, please import similar + - `ipykernel.codeutils` was deprecated since 4.x series (2016) and has been removed, please import similar functionalities from `ipyparallel` - remove `find_connection_file` and `profile` argument of `connect_qtconsole` and `get_connection_info`, deprecated since IPykernel 4.2.2 (2016).