Changes in IPython kernel#
7.0.0a0#
Enhancements made#
Kernel subshells (JEP91) implementation #1249 (@ianthomas23)
Remove control queue #1210 (@ianthomas23)
Replace Tornado with AnyIO #1079 (@davidbrochart)
Bugs fixed#
Fix eventloop integration with anyio #1265 (@ianthomas23)
Explicitly close memory object streams #1253 (@ianthomas23)
Fixed error accessing sys.stdout/sys.stderr when those are None #1247 (@gregory-shklover)
Correctly handle with_cell_id in async do_execute #1227 (@ianthomas23)
Do not import debugger/debugpy unless needed #1223 (@krassowski)
Allow datetime or str in test_sequential_control_messages #1219 (@ianthomas23)
Fix side effect import for pickleutil #1217 (@blink1073)
Maintenance and upkeep improvements#
Remove direct use of asyncio #1266 (@davidbrochart)
Specify argtypes when using macos msg #1264 (@ianthomas23)
Forward port changelog for 6.29.4 and 5 to main branch #1263 (@ianthomas23)
Ignore warning from trio #1262 (@ianthomas23)
Build docs on ubuntu #1257 (@blink1073)
Catch IPython 8.24 DeprecationWarnings #1242 (@s-t-e-v-e-n-k)
Add compat with pytest 8 #1231 (@blink1073)
Set all min deps #1229 (@blink1073)
Update Release Scripts #1221 (@blink1073)
Documentation improvements#
Forward port changelog for 6.29.4 and 5 to main branch #1263 (@ianthomas23)
Contributors to this release#
(GitHub contributors page for this release)
@agronholm | @blink1073 | @bluss | @Carreau | @davidbrochart | @gregory-shklover | @hroncok | @ianthomas23 | @ivanov | @krassowski | @maartenbreddels | @minrk | @mlucool | @s-t-e-v-e-n-k
6.29.5#
Bugs fixed#
Fix use of “%matplotlib osx” #1237 (@ianthomas23)
Maintenance and upkeep improvements#
[6.x] Update Release Scripts #1251 (@blink1073)
Contributors to this release#
6.29.4#
Bugs fixed#
Fix side effect import for pickleutil #1216 (@blink1073)
Maintenance and upkeep improvements#
Do not import debugger/debugpy unless needed #1223 (@krassowski)
Contributors to this release#
(GitHub contributors page for this release)
@agronholm | @blink1073 | @davidbrochart | @krassowski | @minrk
6.29.3#
Enhancements made#
Eventloop scheduling improvements for stop_on_error_timeout and schedule_next #1212 (@jdranczewski)
Bugs fixed#
Disable frozen modules by default, add a toggle #1213 (@krassowski)
Maintenance and upkeep improvements#
Fix typings and update project urls #1214 (@blink1073)
Unpin pytest-asyncio and update ruff config #1209 (@blink1073)
Documentation improvements#
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @ccordoba12 | @jdranczewski | @joouha | @krassowski
6.29.2#
Bugs fixed#
Maintenance and upkeep improvements#
Re-enable skipped debugger test #1207 (@ianthomas23)
Contributors to this release#
6.29.1#
Bugs fixed#
fix: on exception, return a 0, so that the “sum” still computes #1204 (@petervandenabeele)
Maintenance and upkeep improvements#
chore: update pre-commit hooks #1205 (@pre-commit-ci)
Do git ignore of /node_modules/.cache #1203 (@petervandenabeele)
Bump the actions group with 1 update #1201 (@dependabot)
Contributors to this release#
6.29.0#
Enhancements made#
Always set debugger to true in kernelspec #1191 (@ianthomas23)
Bugs fixed#
Revert “Enable
ProactorEventLoop
on windows foripykernel
” #1194 (@blink1073)Make outputs go to correct cell when generated in threads/asyncio #1186 (@krassowski)
Maintenance and upkeep improvements#
Pin pytest-asyncio to 0.23.2 #1189 (@ianthomas23)
chore: update pre-commit hooks #1187 (@pre-commit-ci)
Contributors to this release#
6.28.0#
Enhancements made#
Enable
ProactorEventLoop
on windows foripykernel
#1184 (@NewUserHa)Adds a flag in debug_info for the copyToGlobals support #1099 (@brichet)
Maintenance and upkeep improvements#
Support python 3.12 #1185 (@blink1073)
Bump actions/setup-python from 4 to 5 #1181 (@dependabot)
chore: update pre-commit hooks #1179 (@pre-commit-ci)
Refactor execute_request to reduce redundancy and improve consistency #1177 (@jjvraw)
Documentation improvements#
Update pytest commands in README #1178 (@ianthomas23)
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @brichet | @dependabot | @ianthomas23 | @jjvraw | @NewUserHa | @pre-commit-ci
6.27.1#
Bugs fixed#
Fix edit magic payload type #1171 (@blink1073)
Contributors to this release#
6.27.0#
Enhancements made#
Maintenance and upkeep improvements#
Update ruff and typings #1167 (@blink1073)
Clean up ruff config #1165 (@blink1073)
chore: update pre-commit hooks #1164 (@pre-commit-ci)
Clean up typing config #1163 (@blink1073)
Update typing for traitlets 5.13 #1162 (@blink1073)
Adopt ruff format #1161 (@blink1073)
Update typing for jupyter_client 8.5 #1160 (@blink1073)
Contributors to this release#
6.26.0#
Maintenance and upkeep improvements#
Update lint deps and add more typing #1156 (@blink1073)
Update typing for traitlets 5.11 #1154 (@blink1073)
chore: update pre-commit hooks #1153 (@pre-commit-ci)
Update IPython Typing Usage #1152 (@blink1073)
Update typing #1150 (@blink1073)
Use sp-repo-review #1146 (@blink1073)
Bump actions/checkout from 3 to 4 #1144 (@dependabot)
Contributors to this release#
6.25.2#
Bugs fixed#
Contributors to this release#
(GitHub contributors page for this release)
@anntzer | @blink1073 | @ccordoba12 | @minrk
6.25.1#
Bugs fixed#
Modifying debugger to return the same breakpoints in ‘debugInfo’ response as ‘setBreakpoints’ #1140 (@vaishnavi17)
Maintenance and upkeep improvements#
Contributors to this release#
6.25.0#
Enhancements made#
feat: let display hook handle clear_output #1135 (@maartenbreddels)
Bugs fixed#
Merge connection info into existing connection file if it already exists #1133 (@jasongrout)
Maintenance and upkeep improvements#
Clean up lint #1134 (@blink1073)
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @fecet | @jasongrout | @maartenbreddels | @pre-commit-ci
6.24.0#
New features added#
Let get_parent decide the channel to get parent header #1128 (@dby-tmwctw)
Bugs fixed#
Contributors to this release#
6.23.3#
Bugs fixed#
Contributors to this release#
6.23.2#
Bugs fixed#
Avoid ResourceWarning on implicitly closed event pipe sockets #1125 (@minrk)
fix: protect stdout/stderr restoration in
InProcessKernel._redirected_io
#1122 (@charles-cooper)
Maintenance and upkeep improvements#
Contributors to this release#
6.23.1#
Bugs fixed#
Maintenance and upkeep improvements#
Contributors to this release#
6.23.0#
Enhancements made#
Support control<>iopub messages to e.g. unblock comm_msg from command execution #1114 (@tkrabel-db)
Add outstream hook similar to display publisher #1110 (@maartenbreddels)
Maintenance and upkeep improvements#
Use local coverage #1109 (@blink1073)
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @maartenbreddels | @pre-commit-ci | @tkrabel-db
6.22.0#
Bugs fixed#
Deprecate Comm class + Fix incompatibility with ipywidgets #1097 (@martinRenou)
Maintenance and upkeep improvements#
Contributors to this release#
6.21.3#
Bugs fixed#
Fix interrupt reply #1101 (@garlandz-db)
Maintenance and upkeep improvements#
Update docs link #1103 (@blink1073)
Documentation improvements#
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @ccordoba12 | @dcsaba89 | @garlandz-db | @mlucool
6.21.2#
Bugs fixed#
Maintenance and upkeep improvements#
Remove test_enter_eventloop #1084 (@davidbrochart)
Contributors to this release#
6.21.1#
Maintenance and upkeep improvements#
Restore nest-asyncio for tk loop #1086 (@blink1073)
Contributors to this release#
6.21.0#
Enhancements made#
Maintenance and upkeep improvements#
Adopt more lint rules #1082 (@blink1073)
Maintenance updates #1081 (@blink1073)
Test spyder kernels #1080 (@blink1073)
Contributors to this release#
(GitHub contributors page for this release)
@agronholm | @blink1073 | @brichet | @Carreau | @ccordoba12 | @minrk
6.20.2#
Bugs fixed#
Contributors to this release#
6.20.1#
Bugs fixed#
Don’t raise error when trying to create another Qt app for Qt eventloop #1071 (@ccordoba12)
Maintenance and upkeep improvements#
Update CI #1073 (@blink1073)
Fix types and sync lint deps #1070 (@blink1073)
Documentation improvements#
Add api docs #1067 (@blink1073)
Contributors to this release#
6.20.0#
Enhancements made#
ENH: add
%gui
support for Qt6 #1054 (@shaperilio)
Maintenance and upkeep improvements#
Add more ci checks #1063 (@blink1073)
Contributors to this release#
6.19.4#
Bugs fixed#
Contributors to this release#
6.19.3#
Bugs fixed#
format dates as ISO8601 #1057 (@GRcharles)
Fix comms and add qtconsole downstream test #1056 (@blink1073)
Maintenance and upkeep improvements#
Fix lint #1058 (@blink1073)
Fix comms and add qtconsole downstream test #1056 (@blink1073)
Contributors to this release#
6.19.2#
Bugs fixed#
Fix error in
%edit
magic #1053 (@ccordoba12)
Contributors to this release#
6.19.1#
Bugs fixed#
fix: too many arguments dropped when passing to base comm constructor #1051 (@maartenbreddels)
Contributors to this release#
6.19.0#
Bugs fixed#
Fix: there can be only one comm_manager #1049 (@maartenbreddels)
Maintenance and upkeep improvements#
Adopt ruff and address lint #1046 (@blink1073)
Contributors to this release#
6.18.3#
Bugs fixed#
Fix Comm interface for downstream users #1042 (@maartenbreddels)
Contributors to this release#
6.18.2#
Bugs fixed#
Maintenance and upkeep improvements#
Contributors to this release#
6.18.1#
Bugs fixed#
fix: use comm package in backwards compatible way #1028 (@maartenbreddels)
Maintenance and upkeep improvements#
Add more testing and deprecate the Gtk event loops #1036 (@blink1073)
More coverage improvements #1035 (@blink1073)
Add more tests #1034 (@blink1073)
Add more kernel tests #1032 (@blink1073)
Add more coverage and add Readme badges #1031 (@blink1073)
Clean up testing and coverage #1030 (@blink1073)
Use base setup dependency type #1029 (@blink1073)
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @maartenbreddels | @martinRenou | @pre-commit-ci
6.18.0#
Enhancements made#
Add terminal color support #1025 (@blink1073)
Extract the Comm Python package #973 (@martinRenou)
Maintenance and upkeep improvements#
Add windows coverage and clean up workflows #1023 (@blink1073)
Increase coverage #1021 (@blink1073)
Allow releasing from repo #1020 (@blink1073)
Contributors to this release#
6.17.1#
Maintenance and upkeep improvements#
Ignore the new Jupyter_core deprecation warning in CI #1019 (@jasongrout)
Bump actions/checkout from 2 to 3 #1018 (@dependabot)
Add dependabot #1017 (@blink1073)
Add pyupgrade to pre-commit #1014 (@blink1073)
Contributors to this release#
6.17.0#
Enhancements made#
Enable webagg in %matplotlib #1012 (@zhizheng1)
Maintenance and upkeep improvements#
Update supported pythons to 3.8-3.11 #1013 (@blink1073)
Contributors to this release#
6.16.2#
Maintenance and upkeep improvements#
Fix failing test and update matrix #1010 (@blink1073)
Contributors to this release#
6.16.1#
Bugs fixed#
Maintenance and upkeep improvements#
Maintenance cleanup #1006 (@blink1073)
Ignore warnings in prereleases test #1002 (@blink1073)
Contributors to this release#
6.16.0#
Maintenance and upkeep improvements#
Use hatch for version #998 (@blink1073)
Add client 8 support #996 (@blink1073)
Remove unused manifest file #994 (@blink1073)
Contributors to this release#
6.15.3#
Bugs fixed#
Handle all possible exceptions when trying to import the debugger #987 (@JohanMabille)
Maintenance and upkeep improvements#
[pre-commit.ci] pre-commit autoupdate #989 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #985 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #982 (@pre-commit-ci)
Contributors to this release#
6.15.2#
Bugs fixed#
Maintenance and upkeep improvements#
[pre-commit.ci] pre-commit autoupdate #978 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #977 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #976 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #974 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #971 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #968 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #966 (@pre-commit-ci)
Contributors to this release#
6.15.1#
Bugs fixed#
Fix inclusion of launcher file and check in CI #964 (@blink1073)
Maintenance and upkeep improvements#
[pre-commit.ci] pre-commit autoupdate #962 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #961 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #960 (@pre-commit-ci)
Contributors to this release#
6.15.0#
Bugs fixed#
Maintenance and upkeep improvements#
Contributors to this release#
6.14.0#
Enhancements made#
Bugs fixed#
Maintenance and upkeep improvements#
Fix sphinx 5.0 support #951 (@blink1073)
[pre-commit.ci] pre-commit autoupdate #950 (@pre-commit-ci)
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @echarles | @nishikantparmariam | @pre-commit-ci
6.13.1#
Bugs fixed#
Fix richInspectVariables #943 (@davidbrochart)
Force debugger metadata in built wheel #941 (@blink1073)
Maintenance and upkeep improvements#
[pre-commit.ci] pre-commit autoupdate #945 (@pre-commit-ci)
Clean up typings #939 (@blink1073)
[pre-commit.ci] pre-commit autoupdate #938 (@pre-commit-ci)
Clean up types #933 (@blink1073)
[pre-commit.ci] pre-commit autoupdate #932 (@pre-commit-ci)
Switch to hatch backend #931 (@blink1073)
[pre-commit.ci] pre-commit autoupdate #928 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #926 (@pre-commit-ci)
Allow enforce PR label workflow to add labels #921 (@blink1073)
[pre-commit.ci] pre-commit autoupdate #920 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #919 (@pre-commit-ci)
[pre-commit.ci] pre-commit autoupdate #917 (@pre-commit-ci)
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @davidbrochart | @fabioz | @fcollonval | @pre-commit-ci
6.13.0#
Enhancements made#
Bugs fixed#
Maintenance and upkeep improvements#
Add basic mypy support #913 (@blink1073)
Clean up pre-commit #911 (@blink1073)
[pre-commit.ci] pre-commit autoupdate #906 (@pre-commit-ci)
Contributors to this release#
(GitHub contributors page for this release)
@andia89 | @blink1073 | @echarles | @meeseeksdev | @pre-commit-ci | @tlinhart
6.12.1#
Maintenance and upkeep improvements#
Clean up test deps and test setup #904 (@blink1073)
Contributors to this release#
6.12.0#
Enhancements made#
Bugs fixed#
Make cell_id optional #902 (@blink1073)
Do not try to send on iostream if closed #899 (@blink1073)
Contributors to this release#
6.11.0#
Enhancements made#
Maintenance and upkeep improvements#
Handle warnings in tests #896 (@blink1073)
Run flake and remove deprecated import #894 (@blink1073)
Add ignore-revs file #893 (@blink1073)
Autoformat with black and isort #892 (@blink1073)
Add pytest opts and pre-commit #889 (@blink1073)
Contributors to this release#
6.10.0#
Enhancements made#
Bugs fixed#
Maintenance and upkeep improvements#
More CI cleanup #887 (@blink1073)
CI cleanup #885 (@blink1073)
Documentation improvements#
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @jamadeo | @lesteve | @MrBago | @SylvainCorlay
6.9.2#
Bugs fixed#
Maintenance and upkeep improvements#
Clean up CI #871 (@blink1073)
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @Carreau | @ccordoba12 | @echarles | @fabioz | @minrk | @vidartf
6.9.1#
Bugs fixed#
Contributors to this release#
6.9.0#
Bugs fixed#
Fixed event forwarding #855 (@JohanMabille)
Contributors to this release#
6.8.0#
Enhancements made#
Bugs fixed#
Handle all threads stopped correctly #849 (@JohanMabille)
Handled AllThreadsContinued and workaround for wrong threadId in cont… #844 (@JohanMabille)
Maintenance and upkeep improvements#
Cancel duplicate runs #850 (@blink1073)
Contributors to this release#
6.7.0#
Enhancements made#
Bugs fixed#
Removed DebugStdLib from arguments of attach #839 (@JohanMabille)
Normalize debugger temp file paths on Windows #838 (@kycutler)
Breakpoint in cell with leading empty lines may be ignored #829 (@fcollonval)
Maintenance and upkeep improvements#
Contributors to this release#
(GitHub contributors page for this release)
@Carreau | @echarles | @fcollonval | @JohanMabille | @kycutler
6.6.1#
Bugs fixed#
Maintenance and upkeep improvements#
Clean python 2 artifacts. Fix #826 #827 (@penguinolog)
Documentation improvements#
Fix title position in changelog #828 (@fcollonval)
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @ccordoba12 | @fcollonval | @impact27 | @ivanov | @penguinolog
6.6.0#
Enhancements made#
Bugs fixed#
Added missing
exceptionPaths
field todebugInfo
reply #814 (@JohanMabille)
Maintenance and upkeep improvements#
Contributors to this release#
(GitHub contributors page for this release)
@blink1073 | @dlukes | @echarles | @fasiha | @JohanMabille | @Kojoley
6.5.1#
Bugs fixed#
Fix the temp file name created by the debugger #801 (@eastonsuo)
Maintenance and upkeep improvements#
Enforce labels on PRs #803 (@blink1073)
Unpin
IPython
, and remove some dependencies on it. #796 (@Carreau)
Contributors to this release#
6.5.0#
Bugs fixed#
Fix rich variables inspection #793 (@fcollonval)
Do not call
setQuitOnLastWindowClosed()
on aQCoreApplication
#791 (@stukowski)
Maintenance and upkeep improvements#
Drop
ipython_genutils
requirement #792 (@penguinolog)
Contributors to this release#
6.4.2#
Enhancements made#
Enabled rich rendering of variables in the debugger #787 (@JohanMabille)
Bugs fixed#
Remove setting of the eventloop function in the InProcessKernel #781 (@rayosborn)
Maintenance and upkeep improvements#
Contributors to this release#
6.4.1#
Merged PRs#
Contributors to this release#
6.4.0#
Enhancements made#
Make
json_clean
a no-op forjupyter-client
>= 7 #708 (@martinRenou)
Bugs fixed#
Fix undefined variable #765 (@martinRenou)
Maintenance and upkeep improvements#
Contributors to this release#
6.3#
6.3.1#
Merged PRs#
Contributors to this release#
6.3.0#
Enhancements made#
Add deep variable inspection #753 (@JohanMabille)
Add
IPKernelApp.capture_fd_output
config to disable FD-level capture #752 (@minrk)
Maintenance and upkeep improvements#
Remove more
nose
test references #750 (@blink1073)Test downstream projects #635 (@davidbrochart)
Contributors to this release#
(GitHub contributors page for this release)
@afshin | @blink1073 | @Carreau | @ccordoba12 | @davidbrochart | @JohanMabille | @kevin-bates | @minrk | @SylvainCorlay
6.2#
6.2.0#
Enhancements made#
Maintenance and upkeep improvements#
Remove block param from get_msg() #736 (@davidbrochart)
6.1#
6.1.0#
Enhancements made#
Implemented
richInspectVariable
request handler #734 (@JohanMabille)
Maintenance and upkeep improvements#
Bug Fixes#
Fix exception raised by
OutStream.write
#726 (@SimonKrughoff)
6.0#
6.0.3#
6.0.2#
Bugs fixed#
Add watchfd keyword to InProcessKernel OutStream initialization #727 (@rayosborn)
[bugfix] fix in setup.py (comma before appnope) #709 (@jstriebel)
Maintenance and upkeep improvements#
Add upper bound to dependency versions. #714 (@martinRenou)
Remove CachingCompiler’s filename_mapper #710 (@martinRenou)
6.0.1#
Fix Tk and asyncio event loops #704 (@ccordoba12)
Stringify variables that are not json serializable in inspectVariable #702 (@JohanMabille)
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, 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 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 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 circular dependency between IPython/IPykernel and matplotlib.On POSIX systems, 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.
New features added#
Implementation of the debugger #597 (@JohanMabille)
Enhancements made#
Make the
isatty
method ofOutStream
returntrue
#683 (@peendebak)Allow setting cell name #652 (@davidbrochart)
Try to capture all file descriptor output and err #630 (@Carreau)
Implemented
inspectVariables
request #624 (@JohanMabille)Specify
ipykernel
in kernelspec #616 (@SylvainCorlay)Use
matplotlib-inline
#591 (@martinRenou)Run control channel in separate thread #585 (@SylvainCorlay)
Bugs fixed#
Fix keyboard interrupt issue in
dispatch_shell
#673 (@marcoamonteiro)Update
Trio
mode for compatibility withTrio >= 0.18.0
#627 (@mehaase)Flush control stream upon shutdown #611 (@SylvainCorlay)
Fix “Socket operation on nonsocket” in downstream
nbclient
test. #641 (@SylvainCorlay)Stop control thread before closing sockets on it #659 (@minrk)
Fix debugging with native coroutines #651 (@SylvainCorlay)
Fixup master build #649 (@SylvainCorlay)
Fix parent header retrieval #639 (@davidbrochart)
Maintenance and upkeep improvements#
Remove pin on Jedi because that was already fixed in IPython #692 (@ccordoba12)
Remove deprecated source parameter since 4.0.1 (2015) #690 (@Carreau)
Remove deprecated profile options of
connect.py
#688 (@Carreau)Remove
ipykernel.codeutil
deprecated since IPykernel 4.3.1 (Feb 2016) #687 (@Carreau)Flush control queue prior to handling shell messages #658 (@minrk)
Build docs only on Ubuntu: add jobs to check docstring formatting. #644 (@Carreau)
Use channel
get_msg
helper method #634 (@davidbrochart)Use native coroutines instead of tornado coroutines #632 (@SylvainCorlay)
Make less use of
ipython_genutils
#631 (@SylvainCorlay)Move Python-specific bits to ipkernel #610 (@SylvainCorlay)
Replace import item from
ipython_genutils
to traitlets. #601 (@Carreau)Fixup
get_parent_header
call #662 (@SylvainCorlay)Removed filtering of stack frames for testing #633 (@JohanMabille)
Added ‘type’ field to variables returned by
inspectVariables
request #628 (@JohanMabille)Changed default timeout to 0.0 seconds for
stop_on_error_timeout
#618 (@MSeal)Attempt longer timeout #615 (@SylvainCorlay)
Kernelspec: ensure path is writable before writing
kernel.json
. #593 (@jellelicht)Add
configure_inline_support
and call it in the shell #590 (@martinRenou)
Documentation improvements#
Add 5.5.x Changelog entries #672 (@blink1073)
Build docs only on ubuntu: add jobs to check docstring formatting. #644 (@Carreau)
Fix typo #663 (@SylvainCorlay)
Add release note to 5.5.0 about
stop_on_error_timeout
#613 (@glentakahashi)Add changelog for 5.5 #594 (@blink1073)
Deprecations in 6.0#
Kernel
s now support only a single shell stream, multiple streams will now be ignored. The attributeKernel.shell_streams
(plural) is deprecated in ipykernel 6.0. UseKernel.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 fromipyparallel
remove
find_connection_file
andprofile
argument ofconnect_qtconsole
andget_connection_info
, deprecated since IPykernel 4.2.2 (2016).
Contributors to this release#
(GitHub contributors page for this release)
@afshin | @blink1073 | @Carreau | @ccordoba12 | @davidbrochart | @dsblank | @glentakahashi | @impact27 | @ivanov | @jellelicht | @jkablan | @JohanMabille | @kevin-bates | @marcoamonteiro | @martinRenou | @mehaase | @minrk | @mlucool | @MSeal | @peendebak | @SylvainCorlay | @tacaswell
5.5#
5.5.5#
Keep preferring SelectorEventLoop on Windows. #669
5.5.4#
Import
configure_inline_support
frommatplotlib_inline
if available #654
5.5.3#
Revert Backport of #605: Fix Handling of
shell.should_run_async
#622
5.5.2#
Note: This release was deleted from PyPI since it had breaking changes.
Changed default timeout to 0.0 seconds for stop_on_error_timeout. #618
5.5.1#
Note: This release was deleted from PyPI since it had breaking changes.
Fix Handling of
shell.should_run_async
. #605
5.5.0#
5.4#
5.4.3#
Rework
wait_for_ready
logic. #578
5.4.2#
Revert “Fix stop_on_error_timeout blocking other messages in queue”. #570
5.4.1#
Invalid syntax in
ipykernel/log.py
. #567
5.4.0#
5.4.0 is generally focused on code quality improvements and tornado asyncio compatibility.
Add github actions, bail on asyncio patch for tornado 6.1. #564
Start testing on Python 3.9. #551
Fix stack levels for ipykernel’s deprecation warnings and stop using some deprecated APIs. #547
Add env parameter to kernel installation #541
Fix stop_on_error_timeout blocking other messages in queue. #539
Remove most of the python 2 compat code. #537
Remove u-prefix from strings. #538
5.3#
5.3.4#
Only run Qt eventloop in the shell stream. #531
5.3.3#
Fix QSocketNotifier in the Qt event loop not being disabled for the control channel. #525
5.3.2#
Restore timer based event loop as a Windows-compatible fallback. #523
5.3.1#
5.3.0#
5.3.0 Adds support for Trio event loops and has some bug fixes.
5.2#
5.2.1#
5.2.0#
5.2.0 Includes several bugfixes and internal logic improvements.
Produce better traceback when kernel is interrupted #491
Add
InProcessKernelClient.control_channel
for compatibility with jupyter-client v6.0.0 #489Drop support for Python 3.4 #483
Work around issue related to Tornado with python3.8 on Windows (#480, #481)
Prevent entering event loop if it is None #464
Use
shell.input_transformer_manager
when available #411
5.1#
5.1.4#
5.1.4 Includes a few bugfixes, especially for compatibility with Python 3.8 on Windows.
5.1.3#
5.1.3 Includes several bugfixes and internal logic improvements.
Fix comm shutdown behavior by adding a
deleting
option toclose
which can be set to prevent registering new comm channels during shutdown (#433, #435)Fix
Heartbeat._bind_socket
to return on the first bind (#431)Moved
InProcessKernelClient.flush
toDummySocket
(#437)Don’t redirect stdout if nose machinery is not present (#427)
Rename
_asyncio.py
to_asyncio_utils.py
to avoid name conflicts on Python 3.6+ (#426)Only generate kernelspec when installing or building wheel (#425)
Fix priority ordering of control-channel messages in some cases #443
5.1.2#
5.1.2 fixes some socket-binding race conditions that caused testing failures in nbconvert.
5.1.1#
5.1.1 fixes a bug that caused cells to get stuck in a busy state.
Flush after sending replies #390
5.1.0#
5.1.0 fixes some important regressions in 5.0, especially on Windows.
5.0#
5.0.0#
4.10#
4.9#
4.9.0#
4.8#
4.8.2#
Fix compatibility issue with qt eventloop and pyzmq 17 #307.
4.8.1#
4.8.0#
4.7#
4.7.0#
Add event loop integration for
asyncio
.Use the new IPython completer API.
Add support for displaying GIF images (mimetype
image/gif
).Allow the kernel to be interrupted without killing the Qt console.
Fix
is_complete
response with cell magics.Clean up encoding of bytes objects.
Clean up help links to use
https
and improve display titles.Clean up ioloop handling in preparation for tornado 5.
4.6#
4.6.1#
Fix eventloop-integration bug preventing Qt windows/widgets from displaying with ipykernel 4.6.0 and IPython ≥ 5.2.
Avoid deprecation warnings about naive datetimes when working with jupyter_client ≥ 5.0.
4.6.0#
Add to API
DisplayPublisher.publish
two new fully backward-compatible keyword-args:update: bool
transient: dict
Support new
transient
key indisplay_data
messages spec forpublish
. For a display data message,transient
contains data that shouldn’t be persisted to files or documents. Add adisplay_id
to thistransient
dict bydisplay(obj, display_id=\...)
Add
ipykernel_launcher
module which removes the current working directory fromsys.path
before launching the kernel. This helps to reduce the cases where the kernel won’t start because there’s arandom.py
(or similar) module in the current working directory.Add busy/idle messages on IOPub during processing of aborted requests
Add active event loop setting to GUI, which enables the correct response to IPython’s
is_event_loop_running_xxx
Include IPython kernelspec in wheels to reduce reliance on “native kernel spec” in jupyter_client
Modify
OutStream
to inherit fromTextIOBase
instead of object to improve API support and error reportingFix IPython kernel death messages at start, such as “Kernel Restarting…” and “Kernel appears to have died”, when parent-poller handles PID 1
Various bugfixes
4.5#
4.5.2#
Fix bug when instantiating Comms outside of the IPython kernel (introduced in 4.5.1).
4.5.1#
Add missing
stream
parameter to overriddengetpass
Remove locks from iopub thread, which could cause deadlocks during debugging
Fix regression where KeyboardInterrupt was treated as an aborted request, rather than an error
Allow instantiating Comms outside of the IPython kernel
4.5.0#
Use figure.dpi instead of savefig.dpi to set DPI for inline figures
Support ipympl matplotlib backend (requires IPython update as well to fully work)
Various bugfixes, including fixes for output coming from threads, and
input
when called with non-string prompts, which stdlib allows.
4.4#
4.4.1#
Fix circular import of matplotlib on Python 2 caused by the inline backend changes in 4.4.0.
4.4.0#
Use MPLBACKEND environment variable to tell matplotlib >= 1.5 use use the inline backend by default. This is only done if MPLBACKEND is not already set and no backend has been explicitly loaded, so setting
MPLBACKEND=Qt4Agg
or calling%matplotlib notebook
ormatplotlib.use('Agg')
will take precedence.Fixes for logging problems caused by 4.3, where logging could go to the terminal instead of the notebook.
Add
--sys-prefix
and--profile
arguments toipython kernel install
.Allow Comm (Widget) messages to be sent from background threads.
Select inline matplotlib backend by default if
%matplotlib
magic ormatplotlib.use()
are not called explicitly (for matplotlib >= 1.5).Fix some longstanding minor deviations from the message protocol (missing status: ok in a few replies, connect_reply format).
Remove calls to NoOpContext from IPython, deprecated in 5.0.
4.3#
4.3.2#
Use a nonempty dummy session key for inprocess kernels to avoid security warnings.
4.3.1#
Fix Windows Python 3.5 incompatibility caused by faulthandler patch in 4.3
4.3.0#
Publish all IO in a thread, via
IOPubThread
. This solves the problem of requiringsys.stdout.flush
to be called in the notebook to produce output promptly during long-running cells.Remove references to outdated IPython guiref in kernel banner.
Patch faulthandler to use
sys.__stderr__
instead of forwardedsys.stderr
, which has no fileno when forwarded.Deprecate some vestiges of the Big Split:
ipykernel.find_connection_file
is deprecated. Usejupyter_client.find_connection_file
instead.
- Various pieces of code specific to IPython parallel are deprecated in ipykernel and moved to ipyparallel.
4.2#
4.2.2#
Don’t show interactive debugging info when kernel crashes
Fix handling of numerical types in json_clean
Testing fixes for output capturing
4.2.1#
Fix default display name back to “Python X” instead of “pythonX”
4.2.0#
Support sending a full message in initial opening of comms (metadata, buffers were not previously allowed)
When using
ipython kernel install --name
to install the IPython kernelspec, default display-name to the same value as--name
.
4.1#
4.1.1#
Fix missing
ipykernel.__version__
on Python 2.Fix missing
target_name
when opening comms from the frontend.
4.1.0#
add
ipython kernel install
entrypoint for installing the IPython kernelspecprovisional implementation of
comm_info
request/reply for msgspec v5.1
4.0#
4.0 is the first release of ipykernel as a standalone package.