Changes in IPython kernel#
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
%guisupport 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
%editmagic #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
exceptionPathsfield todebugInforeply #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_genutilsrequirement #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_cleana 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_outputconfig to disable FD-level capture #752 (@minrk)
Maintenance and upkeep improvements#
Remove more
nosetest 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
richInspectVariablerequest 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,RetroLabor 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.coroutineOutStreams 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
isattymethod ofOutStreamreturntrue#683 (@peendebak)Allow setting cell name #652 (@davidbrochart)
Try to capture all file descriptor output and err #630 (@Carreau)
Implemented
inspectVariablesrequest #624 (@JohanMabille)Specify
ipykernelin 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
Triomode for compatibility withTrio >= 0.18.0#627 (@mehaase)Flush control stream upon shutdown #611 (@SylvainCorlay)
Fix “Socket operation on nonsocket” in downstream
nbclienttest. #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.codeutildeprecated 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_msghelper 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_genutilsto traitlets. #601 (@Carreau)Fixup
get_parent_headercall #662 (@SylvainCorlay)Removed filtering of stack frames for testing #633 (@JohanMabille)
Added ‘type’ field to variables returned by
inspectVariablesrequest #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_supportand 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#
Kernels 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_headeris deprecated, even though it was private. Use.get_parent()now.
Removal in 6.0#
ipykernel.codeutilswas deprecated since 4.x series (2016) and has been removed, please import similar functionalities fromipyparallelremove
find_connection_fileandprofileargument ofconnect_qtconsoleandget_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_supportfrommatplotlib_inlineif 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_readylogic. #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_channelfor 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_managerwhen 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
deletingoption toclosewhich can be set to prevent registering new comm channels during shutdown (#433, #435)Fix
Heartbeat._bind_socketto return on the first bind (#431)Moved
InProcessKernelClient.flushtoDummySocket(#437)Don’t redirect stdout if nose machinery is not present (#427)
Rename
_asyncio.pyto_asyncio_utils.pyto 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_completeresponse with cell magics.Clean up encoding of bytes objects.
Clean up help links to use
httpsand 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.publishtwo new fully backward-compatible keyword-args:update: booltransient: dict
Support new
transientkey indisplay_datamessages spec forpublish. For a display data message,transientcontains data that shouldn’t be persisted to files or documents. Add adisplay_idto thistransientdict bydisplay(obj, display_id=\...)Add
ipykernel_launchermodule which removes the current working directory fromsys.pathbefore 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_xxxInclude IPython kernelspec in wheels to reduce reliance on “native kernel spec” in jupyter_client
Modify
OutStreamto inherit fromTextIOBaseinstead 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
streamparameter to overriddengetpassRemove 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
inputwhen 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=Qt4Aggor calling%matplotlib notebookormatplotlib.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-prefixand--profilearguments toipython kernel install.Allow Comm (Widget) messages to be sent from background threads.
Select inline matplotlib backend by default if
%matplotlibmagic 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.flushto 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_fileis deprecated. Usejupyter_client.find_connection_fileinstead.
- 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 --nameto 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_namewhen opening comms from the frontend.
4.1.0#
add
ipython kernel installentrypoint for installing the IPython kernelspecprovisional implementation of
comm_inforequest/reply for msgspec v5.1
4.0#
4.0 is the first release of ipykernel as a standalone package.