ipykernel 7.0.0 release with subshells
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 20/100
Piste de recherche
Il s’agit d’un emplacement réservé pour une release plutôt que d’un changement délimité ; aucun fichier ni test n’est nommé. Commencez par Jupyter Enhancement Proposal 91 et les PRs #1249 et #1396 d’ipykernel, puis examinez le travail de support downstream référencé. Il est impossible de définir Done à partir de cet issue seul ; un contributeur a besoin d’une tâche concrète de compatibilité des subshells.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Kernel Subshells in ipykernel 7.0.0
This is a placeholder issue for the ipykernel 7.0.0 release which includes kernel subshells for the first time in a full release, and is due for release on Monday 13th October 2025. This is intended to be the first point of call to obtain information about the release, ask questions and report problems with it.
For those not using subshells it is supposed to be backward compatible with the 6.x branch, but there are some architectural changes such as the use of a separate thread to handle sending and receiving of shell channel messages 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.
There have been many discussions, issues and pull requests about subshells over the last few years. Linking to all of these would be overwhelming, so here are a few salient links only. Searching in the ipykernel github repo for "subshells" will give more links.
The original motivation and changes to the Jupyter protocol are in Jupyter Enhancement Proposal 91.
The history in ipykernel is complicated by the original implementation being included with changes from tornado to anyio, but the anyio changes have since been sidelined and the second subshell implementation in the current 7.x branch is on top of tornado. Version numbers in related issues and PRs are therefore not always correct.
ipykernel
- Original implementation in PR #1249, this has a useful diagram and a list of future changes, such as to execution counts, that need to be made.
- Current implementation in PR #1396.
- Details of branch manipulations in #1387 and #1399.
jupyterlab
- Subshell support added in jupyterlab/jupyterlab#16963. This includes a video and explanation of how you can use subshells in kernels that support them.
- Support for comms over subshells added in jupyterlab/jupyterlab#17363 and jupyterlab/jupyterlab#17364, including some useful videos. This fixes a problem in
ipywidgets(and hence other widget libraries) of widgets not updating whilst the kernel shell is performing a blocking operation.
ipympl
ipympl 0.9.8includes matplotlib/ipympl#603 to support comms over subshells.
Future work
There is future work to be done supporting the ipykernel 7.0.0 release in downstream projects, and in addressing various issues that need to work with subshells such as those enumerated in the first post of #1249.
- Langage dominant
- Python
- Étoiles
- 734
- Forks
- 411
- Merge moyen
- 1 j 11 h
- PR mergées (30 j)
- 12
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ipython/ipykernel
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 68/100
-
ipython/ipykernel#1550 · 1 commentaire · 1 réaction · 1 personne assignée ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 66/100
Toutes les issues de ipython/ipykernel
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
gradio-app/gradio#13895 ·
-
build-error
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
spack/spack-packages#6713 ·
-
Use issue templates Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
ActivityWatch/activitywatch#1464 · 1 réaction ·
-
[Bug]: The ckg tool drops the return type of every decorated Python method in class search results Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
bytedance/trae-agent#483 ·