chore(deps): update dependency ipykernel to v7
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| ipykernel | ==6.23.3 -> ==7.0.0 |
||
| ipykernel | ==6.29.5 -> ==7.0.0 |
Release Notes
ipython/ipykernel (ipykernel)
v7.0.0
IPykernel 7.0.0 is a major release containing experimental support for kernel subshells.
If not using subshells it is intended to be backward compatible with the 6.x branch, but there are some architectural changes which may break assumptions made in downstream libraries and hence this is identified as a major releases as it is potentially backwards incompatible. If you experience problems then please report them, and you can pin ipykernel < 7 if necessary.
For further information and to report problems please see ipykernel 7.0.0 release with subshells (issue 1438).
Enhancements made
- Use asyncio.Lock around subshell message handling #1430 (@ianthomas23)
- Subshells implemented using tornado event loops on 6.x branch #1396 (@ianthomas23)
Bugs fixed
- Forward port from 6.x: Correct use of asyncio.Lock to process a single control message at a time #1418 (@ianthomas23)
- Cache separate headers on subshell threads #1414 (@ianthomas23)
Maintenance and upkeep improvements
- Drop support for Python 3.9 #1431 (@ianthomas23)
- Bump the actions group across 1 directory with 2 updates #1428 (@dependabot)
- Continue to support
Kernel._parent_identfor backward compatibility #1427 (@ianthomas23) - Reinstate ipyparallel downstream tests #1426 (@ianthomas23)
- Reinstate jupyter_client downstream tests with exclusions #1425 (@ianthomas23)
- Tests: Add robust tests for silent flag in subshells #1424 (@pankaj-bind)
- Use correct
__version__onmainbranch after branch manipulations #1419 (@ianthomas23) - Remove links in changelog to github milestones that no longer exist #1415 (@ianthomas23)
- Replace
@flaky.flakydecorate with pytest fixture #1411 (@mgorny) - chore: update pre-commit hooks #1409 (@pre-commit-ci)
- Bump scientific-python/upload-nightly-action from 0.6.1 to 0.6.2 in the actions group #1404 (@dependabot)
- Backports from
anyio(oldmain) branch tomainbranch #1402 (@ianthomas23) - Update pre-commit and github actions #1401 (@ianthomas23)
- Test more python versions on 6.x branch #1398 (@davidbrochart)
Documentation improvements
- Forward port of 6.x changelog to main branch #1429 (@ianthomas23)
- Add subshell docstrings #1405 (@ianthomas23)
Contributors to this release
(GitHub contributors page for this release)
@Carreau | @ccordoba12 | @davidbrochart | @dependabot | @fleming79 | @ianthomas23 | @krassowski | @mgorny | @minrk | @pankaj-bind | @pre-commit-ci
v6.30.1
This is a bugfix release to fix a significant bug introduced in 6.30.0 that allowed control messages to be handled concurrently rather than sequentially which broke debugging in JupyterLab and VSCode.
Bugs fixed
- Correct use of asyncio.Lock to process a single control message at a time #1416 (@ianthomas23)
Maintenance and upkeep improvements
- Backport: Remove links in changelog to github milestones that no longer exist #1417 (@ianthomas23)
Contributors to this release
(GitHub contributors page for this release)
v6.30.0
This release fixes three bugs but is primarily a maintenance release bringing support for Python 3.13 and updating dependencies. It does not include subshells which will be in the upcoming 7.0.0 release. Users and downstream libraries that wish to avoid subshells should pin to ipykernel < 7.
Enhancements made
- Remove control queue #1210 (@ianthomas23)
Bugs fixed
- Set shell idle when message skipped by "should_handle" in "dispatch_shell" #1395 (@dby-tmwctw)
- Fixed error accessing sys.stdout/sys.stderr when those are None #1247 (@gregory-shklover)
- Allow datetime or str in test_sequential_control_messages #1219 (@ianthomas23)
Maintenance and upkeep improvements
- 6.x backports #1406 (@ianthomas23)
- Update pre-commit and github actions #1401 (@ianthomas23)
- Test more python versions on 6.x branch #1398 (@davidbrochart)
- Backports and extra changes to fix CI on 6.x branch #1390 (@ianthomas23)
- Remove nose import. #1368 (@Carreau)
- Test more python versions #1358 (@davidbrochart)
- Fix expected text depending on IPython version. #1354 (@Carreau)
- Licence :: * trove classifiers are deprecated #1348 (@Carreau)
- Try to fix spyder kernel install #1337 (@Carreau)
- Remove test_check job #1335 (@Carreau)
- Don't rerun test with --lf it hides failures. #1324 (@Carreau)
- Remove link to numfocus for funding. #1320 (@Carreau)
- Remove downstream_check #1318 (@Carreau)
- Copy payloadpage.page from IPython #1317 (@Carreau)
- Remove base setup #1299 (@davidbrochart)
- Rely on intrsphinx_registry to keep intersphinx up to date. #1290 (@Carreau)
- Drop support for Python 3.8 #1284 (@ianthomas23)
- Start testing on 3.13 #1277 (@Carreau)
- Build docs on ubuntu #1257 (@blink1073)
- Avoid a DeprecationWarning on Python 3.13+ #1248 (@hroncok)
- 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)
Contributors to this release
(GitHub contributors page for this release)
@Carreau | @ccordoba12 | @davidbrochart | @dby-tmwctw | @gregory-shklover | @ianthomas23 | @ivanov | @jasongrout | @krassowski | @meeseeksmachine | @minrk | @nathanmcavoy | @s-t-e-v-e-n-k
v6.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
(GitHub contributors page for this release)
v6.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
v6.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
v6.29.2
Bugs fixed
Maintenance and upkeep improvements
- Re-enable skipped debugger test #1207 (@ianthomas23)
Contributors to this release
(GitHub contributors page for this release)
v6.29.1
Bugs fixed
- fix: on exception, return a 0, so that the "sum" still computes #1204 (@petervandenabeele)
- Fix handling of "silent" in execute request #1200 (@Haadem)
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
(GitHub contributors page for this release)
@dependabot | @Haadem | @petervandenabeele | @pre-commit-ci
v6.29.0
Enhancements made
- Always set debugger to true in kernelspec #1191 (@ianthomas23)
Bugs fixed
- Revert "Enable
ProactorEventLoopon 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
(GitHub contributors page for this release)
@blink1073 | @ianthomas23 | @krassowski | @pre-commit-ci
v6.28.0
Enhancements made
- Enable
ProactorEventLoopon 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
v6.27.1
Bugs fixed
- Fix edit magic payload type #1171 (@blink1073)
Contributors to this release
(GitHub contributors page for this release)
v6.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
(GitHub contributors page for this release)
@blink1073 | @jjvraw | @pre-commit-ci
v6.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
(GitHub contributors page for this release)
@blink1073 | @dependabot | @pre-commit-ci
v6.25.2
Bugs fixed
- Make iostream shutdown more robust #1143 (@blink1073)
- Don't call QApplication.setQuitOnLastWindowClosed(False). #1142 (@anntzer)
- Avoid starting IOPub background thread after it's been stopped #1137 (@minrk)
Contributors to this release
(GitHub contributors page for this release)
@anntzer | @blink1073 | @ccordoba12 | @minrk
v6.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
(GitHub contributors page for this release)
@pre-commit-ci | @vaishnavi17
v6.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
v6.24.0
New features added
- Let get_parent decide the channel to get parent header #1128 (@dby-tmwctw)
Bugs fixed
- Bugfix: binary stdout/stderr handling #1129 (@arieleiz)
Contributors to this release
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Summary of Changes
Hello @renovate-bot, I'm Gemini Code Assist[^1]! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request upgrades the ipykernel dependency to its latest major version, 7.0.0. This update is crucial for incorporating the newest features and improvements from the ipykernel project, most notably experimental support for kernel subshells. While the new version aims for backward compatibility, its architectural changes warrant a major version bump due to potential impacts on existing integrations. This upgrade also reflects updated Python support, as Python 3.9 is no longer supported by ipykernel v7.
Highlights
-
Dependency Upgrade: The
ipykerneldependency has been updated to its major version 7.0.0, bringing significant changes and new features. -
Kernel Subshells: Version 7.0.0 introduces experimental support for kernel subshells, a new architectural feature for
ipykernel. -
Potential Breaking Changes: As a major release,
ipykernelv7.0.0 includes architectural changes that, while largely backward compatible, may potentially break assumptions in downstream libraries. -
Python 3.9 Support Dropped: With this update,
ipykernelno longer officially supports Python 3.9.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in pull request comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with :thumbsup: and :thumbsdown: on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
[^1]: Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.