Skip to content

Commit d9bd546

Browse files
ianthomas23davidbrochartgregory-shkloverCarreau
authored
6.x backports (#1406)
Co-authored-by: David Brochart <[email protected]> Co-authored-by: Gregory Shklover <[email protected]> Co-authored-by: M Bussonnier <[email protected]>
1 parent 7603443 commit d9bd546

File tree

14 files changed

+117
-94
lines changed

14 files changed

+117
-94
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, windows-latest, macos-latest]
25-
python-version: ["3.9", "3.13"]
26-
include:
27-
- os: ubuntu-latest
28-
python-version: "pypy-3.9"
29-
- os: macos-latest
30-
python-version: "3.10"
31-
- os: ubuntu-latest
32-
python-version: "3.11"
33-
- os: ubuntu-latest
34-
python-version: "3.12"
25+
python-version:
26+
- "3.9"
27+
- "3.10"
28+
- "3.11"
29+
- "3.12"
30+
- "3.13"
31+
- "pypy-3.10"
3532
steps:
3633
- name: Checkout
3734
uses: actions/checkout@v4
@@ -49,19 +46,19 @@ jobs:
4946
timeout-minutes: 15
5047
if: ${{ !startsWith( matrix.python-version, 'pypy' ) && !startsWith(matrix.os, 'windows') }}
5148
run: |
52-
hatch run cov:test --cov-fail-under 50 || hatch run test:test --lf
49+
hatch run cov:test --cov-fail-under 50
5350
5451
- name: Run the tests on pypy
5552
timeout-minutes: 15
5653
if: ${{ startsWith( matrix.python-version, 'pypy' ) }}
5754
run: |
58-
hatch run test:nowarn || hatch run test:nowarn --lf
55+
hatch run test:nowarn
5956
6057
- name: Run the tests on Windows
6158
timeout-minutes: 15
62-
if: ${{ startsWith(matrix.os, 'windows') }}
59+
if: ${{ !startsWith( matrix.python-version, 'pypy' ) && startsWith(matrix.os, 'windows') }}
6360
run: |
64-
hatch run cov:nowarn || hatch run test:nowarn --lf
61+
hatch run cov:nowarn
6562
6663
- name: Check Launcher
6764
run: |
@@ -144,7 +141,7 @@ jobs:
144141
145142
- name: Run the tests
146143
timeout-minutes: 15
147-
run: pytest -W default -vv || pytest --vv -W default --lf
144+
run: pytest -W default -vv
148145

149146
test_miniumum_versions:
150147
name: Test Minimum Versions
@@ -164,7 +161,7 @@ jobs:
164161
165162
- name: Run the unit tests
166163
run: |
167-
hatch -v run test:nowarn || hatch run test:nowarn --lf
164+
hatch -v run test:nowarn
168165
169166
test_prereleases:
170167
name: Test Prereleases
@@ -179,7 +176,7 @@ jobs:
179176
dependency_type: pre
180177
- name: Run the tests
181178
run: |
182-
hatch run test:nowarn || hatch run test:nowarn --lf
179+
hatch run test:nowarn
183180
184181
make_sdist:
185182
name: Make SDist

.github/workflows/downstream.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -147,20 +147,3 @@ jobs:
147147
run: |
148148
cd ${GITHUB_WORKSPACE}/../spyder-kernels
149149
xvfb-run --auto-servernum ${pythonLocation}/bin/python -m pytest -x -vv -s --full-trace --color=yes spyder_kernels
150-
151-
downstream_check: # This job does nothing and is only used for the branch protection
152-
if: always()
153-
needs:
154-
- nbclient
155-
- ipywidgets
156-
- jupyter_client
157-
- ipyparallel
158-
- jupyter_kernel_test
159-
- spyder_kernels
160-
- qtconsole
161-
runs-on: ubuntu-latest
162-
steps:
163-
- name: Decide whether the needed jobs succeeded or failed
164-
uses: re-actors/alls-green@release/v1
165-
with:
166-
jobs: ${{ toJSON(needs) }}

.github/workflows/publish-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
1818

19-
- uses: actions/create-github-app-token@v1
19+
- uses: actions/create-github-app-token@v2
2020
id: app-token
2121
with:
2222
app-id: ${{ vars.APP_ID }}

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
2323

24-
- uses: actions/create-github-app-token@v1
24+
- uses: actions/create-github-app-token@v2
2525
id: app-token
2626
with:
2727
app-id: ${{ vars.APP_ID }}

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.5.0
7+
rev: v5.0.0
88
hooks:
99
- id: check-case-conflict
1010
- id: check-ast
@@ -22,12 +22,12 @@ repos:
2222
- id: trailing-whitespace
2323

2424
- repo: https://github.com/python-jsonschema/check-jsonschema
25-
rev: 0.27.4
25+
rev: 0.33.2
2626
hooks:
2727
- id: check-github-workflows
2828

2929
- repo: https://github.com/executablebooks/mdformat
30-
rev: 0.7.17
30+
rev: 0.7.22
3131
hooks:
3232
- id: mdformat
3333
additional_dependencies:
@@ -55,13 +55,13 @@ repos:
5555
]
5656

5757
- repo: https://github.com/adamchainz/blacken-docs
58-
rev: "1.16.0"
58+
rev: "1.19.1"
5959
hooks:
6060
- id: blacken-docs
6161
additional_dependencies: [black==23.7.0]
6262

6363
- repo: https://github.com/codespell-project/codespell
64-
rev: "v2.2.6"
64+
rev: "v2.4.1"
6565
hooks:
6666
- id: codespell
6767
args: ["-L", "sur,nd"]
@@ -83,7 +83,7 @@ repos:
8383
types_or: [python, jupyter]
8484

8585
- repo: https://github.com/scientific-python/cookie
86-
rev: "2024.01.24"
86+
rev: "2025.01.22"
8787
hooks:
8888
- id: sp-repo-review
8989
additional_dependencies: ["repo-review[cli]"]

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.11"
6+
python: "3.13"
77

88
sphinx:
99
configuration: docs/conf.py

CHANGELOG.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
### Maintenance and upkeep improvements
1414

15-
- \[6.x\] Update Release Scripts [#1251](https://github.com/ipython/ipykernel/pull/1251) ([@blink1073](https://github.com/blink1073))
15+
- [6.x] Update Release Scripts [#1251](https://github.com/ipython/ipykernel/pull/1251) ([@blink1073](https://github.com/blink1073))
1616

1717
### Contributors to this release
1818

@@ -73,7 +73,7 @@
7373

7474
### Bugs fixed
7575

76-
- Fix: ipykernel_launcher, delete absolute sys.path\[0\] [#1206](https://github.com/ipython/ipykernel/pull/1206) ([@stdll00](https://github.com/stdll00))
76+
- Fix: ipykernel_launcher, delete absolute sys.path[0] [#1206](https://github.com/ipython/ipykernel/pull/1206) ([@stdll00](https://github.com/stdll00))
7777

7878
### Maintenance and upkeep improvements
7979

@@ -341,7 +341,7 @@
341341

342342
### Enhancements made
343343

344-
- Support control\<>iopub messages to e.g. unblock comm_msg from command execution [#1114](https://github.com/ipython/ipykernel/pull/1114) ([@tkrabel-db](https://github.com/tkrabel-db))
344+
- Support control\<>iopub messages to e.g. unblock comm_msg from command execution [#1114](https://github.com/ipython/ipykernel/pull/1114) ([@tkrabel-db](https://github.com/tkrabel-db))
345345
- Add outstream hook similar to display publisher [#1110](https://github.com/ipython/ipykernel/pull/1110) ([@maartenbreddels](https://github.com/maartenbreddels))
346346

347347
### Maintenance and upkeep improvements
@@ -751,10 +751,10 @@
751751

752752
### Maintenance and upkeep improvements
753753

754-
- \[pre-commit.ci\] pre-commit autoupdate [#989](https://github.com/ipython/ipykernel/pull/989) ([@pre-commit-ci](https://github.com/pre-commit-ci))
755-
- \[pre-commit.ci\] pre-commit autoupdate [#985](https://github.com/ipython/ipykernel/pull/985) ([@pre-commit-ci](https://github.com/pre-commit-ci))
754+
- [pre-commit.ci] pre-commit autoupdate [#989](https://github.com/ipython/ipykernel/pull/989) ([@pre-commit-ci](https://github.com/pre-commit-ci))
755+
- [pre-commit.ci] pre-commit autoupdate [#985](https://github.com/ipython/ipykernel/pull/985) ([@pre-commit-ci](https://github.com/pre-commit-ci))
756756
- Add python logo in svg format [#984](https://github.com/ipython/ipykernel/pull/984) ([@steff456](https://github.com/steff456))
757-
- \[pre-commit.ci\] pre-commit autoupdate [#982](https://github.com/ipython/ipykernel/pull/982) ([@pre-commit-ci](https://github.com/pre-commit-ci))
757+
- [pre-commit.ci] pre-commit autoupdate [#982](https://github.com/ipython/ipykernel/pull/982) ([@pre-commit-ci](https://github.com/pre-commit-ci))
758758

759759
### Contributors to this release
760760

@@ -772,13 +772,13 @@
772772

773773
### Maintenance and upkeep improvements
774774

775-
- \[pre-commit.ci\] pre-commit autoupdate [#978](https://github.com/ipython/ipykernel/pull/978) ([@pre-commit-ci](https://github.com/pre-commit-ci))
776-
- \[pre-commit.ci\] pre-commit autoupdate [#977](https://github.com/ipython/ipykernel/pull/977) ([@pre-commit-ci](https://github.com/pre-commit-ci))
777-
- \[pre-commit.ci\] pre-commit autoupdate [#976](https://github.com/ipython/ipykernel/pull/976) ([@pre-commit-ci](https://github.com/pre-commit-ci))
778-
- \[pre-commit.ci\] pre-commit autoupdate [#974](https://github.com/ipython/ipykernel/pull/974) ([@pre-commit-ci](https://github.com/pre-commit-ci))
779-
- \[pre-commit.ci\] pre-commit autoupdate [#971](https://github.com/ipython/ipykernel/pull/971) ([@pre-commit-ci](https://github.com/pre-commit-ci))
780-
- \[pre-commit.ci\] pre-commit autoupdate [#968](https://github.com/ipython/ipykernel/pull/968) ([@pre-commit-ci](https://github.com/pre-commit-ci))
781-
- \[pre-commit.ci\] pre-commit autoupdate [#966](https://github.com/ipython/ipykernel/pull/966) ([@pre-commit-ci](https://github.com/pre-commit-ci))
775+
- [pre-commit.ci] pre-commit autoupdate [#978](https://github.com/ipython/ipykernel/pull/978) ([@pre-commit-ci](https://github.com/pre-commit-ci))
776+
- [pre-commit.ci] pre-commit autoupdate [#977](https://github.com/ipython/ipykernel/pull/977) ([@pre-commit-ci](https://github.com/pre-commit-ci))
777+
- [pre-commit.ci] pre-commit autoupdate [#976](https://github.com/ipython/ipykernel/pull/976) ([@pre-commit-ci](https://github.com/pre-commit-ci))
778+
- [pre-commit.ci] pre-commit autoupdate [#974](https://github.com/ipython/ipykernel/pull/974) ([@pre-commit-ci](https://github.com/pre-commit-ci))
779+
- [pre-commit.ci] pre-commit autoupdate [#971](https://github.com/ipython/ipykernel/pull/971) ([@pre-commit-ci](https://github.com/pre-commit-ci))
780+
- [pre-commit.ci] pre-commit autoupdate [#968](https://github.com/ipython/ipykernel/pull/968) ([@pre-commit-ci](https://github.com/pre-commit-ci))
781+
- [pre-commit.ci] pre-commit autoupdate [#966](https://github.com/ipython/ipykernel/pull/966) ([@pre-commit-ci](https://github.com/pre-commit-ci))
782782

783783
### Contributors to this release
784784

@@ -796,9 +796,9 @@
796796

797797
### Maintenance and upkeep improvements
798798

799-
- \[pre-commit.ci\] pre-commit autoupdate [#962](https://github.com/ipython/ipykernel/pull/962) ([@pre-commit-ci](https://github.com/pre-commit-ci))
800-
- \[pre-commit.ci\] pre-commit autoupdate [#961](https://github.com/ipython/ipykernel/pull/961) ([@pre-commit-ci](https://github.com/pre-commit-ci))
801-
- \[pre-commit.ci\] pre-commit autoupdate [#960](https://github.com/ipython/ipykernel/pull/960) ([@pre-commit-ci](https://github.com/pre-commit-ci))
799+
- [pre-commit.ci] pre-commit autoupdate [#962](https://github.com/ipython/ipykernel/pull/962) ([@pre-commit-ci](https://github.com/pre-commit-ci))
800+
- [pre-commit.ci] pre-commit autoupdate [#961](https://github.com/ipython/ipykernel/pull/961) ([@pre-commit-ci](https://github.com/pre-commit-ci))
801+
- [pre-commit.ci] pre-commit autoupdate [#960](https://github.com/ipython/ipykernel/pull/960) ([@pre-commit-ci](https://github.com/pre-commit-ci))
802802

803803
### Contributors to this release
804804

@@ -818,7 +818,7 @@
818818

819819
- Back to top-level tornado IOLoop [#958](https://github.com/ipython/ipykernel/pull/958) ([@minrk](https://github.com/minrk))
820820
- Explicitly require pyzmq >= 17 [#957](https://github.com/ipython/ipykernel/pull/957) ([@minrk](https://github.com/minrk))
821-
- \[pre-commit.ci\] pre-commit autoupdate [#954](https://github.com/ipython/ipykernel/pull/954) ([@pre-commit-ci](https://github.com/pre-commit-ci))
821+
- [pre-commit.ci] pre-commit autoupdate [#954](https://github.com/ipython/ipykernel/pull/954) ([@pre-commit-ci](https://github.com/pre-commit-ci))
822822

823823
### Contributors to this release
824824

@@ -842,7 +842,7 @@
842842
### Maintenance and upkeep improvements
843843

844844
- Fix sphinx 5.0 support [#951](https://github.com/ipython/ipykernel/pull/951) ([@blink1073](https://github.com/blink1073))
845-
- \[pre-commit.ci\] pre-commit autoupdate [#950](https://github.com/ipython/ipykernel/pull/950) ([@pre-commit-ci](https://github.com/pre-commit-ci))
845+
- [pre-commit.ci] pre-commit autoupdate [#950](https://github.com/ipython/ipykernel/pull/950) ([@pre-commit-ci](https://github.com/pre-commit-ci))
846846

847847
### Contributors to this release
848848

@@ -861,18 +861,18 @@
861861

862862
### Maintenance and upkeep improvements
863863

864-
- \[pre-commit.ci\] pre-commit autoupdate [#945](https://github.com/ipython/ipykernel/pull/945) ([@pre-commit-ci](https://github.com/pre-commit-ci))
864+
- [pre-commit.ci] pre-commit autoupdate [#945](https://github.com/ipython/ipykernel/pull/945) ([@pre-commit-ci](https://github.com/pre-commit-ci))
865865
- Clean up typings [#939](https://github.com/ipython/ipykernel/pull/939) ([@blink1073](https://github.com/blink1073))
866-
- \[pre-commit.ci\] pre-commit autoupdate [#938](https://github.com/ipython/ipykernel/pull/938) ([@pre-commit-ci](https://github.com/pre-commit-ci))
866+
- [pre-commit.ci] pre-commit autoupdate [#938](https://github.com/ipython/ipykernel/pull/938) ([@pre-commit-ci](https://github.com/pre-commit-ci))
867867
- Clean up types [#933](https://github.com/ipython/ipykernel/pull/933) ([@blink1073](https://github.com/blink1073))
868-
- \[pre-commit.ci\] pre-commit autoupdate [#932](https://github.com/ipython/ipykernel/pull/932) ([@pre-commit-ci](https://github.com/pre-commit-ci))
868+
- [pre-commit.ci] pre-commit autoupdate [#932](https://github.com/ipython/ipykernel/pull/932) ([@pre-commit-ci](https://github.com/pre-commit-ci))
869869
- Switch to hatch backend [#931](https://github.com/ipython/ipykernel/pull/931) ([@blink1073](https://github.com/blink1073))
870-
- \[pre-commit.ci\] pre-commit autoupdate [#928](https://github.com/ipython/ipykernel/pull/928) ([@pre-commit-ci](https://github.com/pre-commit-ci))
871-
- \[pre-commit.ci\] pre-commit autoupdate [#926](https://github.com/ipython/ipykernel/pull/926) ([@pre-commit-ci](https://github.com/pre-commit-ci))
870+
- [pre-commit.ci] pre-commit autoupdate [#928](https://github.com/ipython/ipykernel/pull/928) ([@pre-commit-ci](https://github.com/pre-commit-ci))
871+
- [pre-commit.ci] pre-commit autoupdate [#926](https://github.com/ipython/ipykernel/pull/926) ([@pre-commit-ci](https://github.com/pre-commit-ci))
872872
- Allow enforce PR label workflow to add labels [#921](https://github.com/ipython/ipykernel/pull/921) ([@blink1073](https://github.com/blink1073))
873-
- \[pre-commit.ci\] pre-commit autoupdate [#920](https://github.com/ipython/ipykernel/pull/920) ([@pre-commit-ci](https://github.com/pre-commit-ci))
874-
- \[pre-commit.ci\] pre-commit autoupdate [#919](https://github.com/ipython/ipykernel/pull/919) ([@pre-commit-ci](https://github.com/pre-commit-ci))
875-
- \[pre-commit.ci\] pre-commit autoupdate [#917](https://github.com/ipython/ipykernel/pull/917) ([@pre-commit-ci](https://github.com/pre-commit-ci))
873+
- [pre-commit.ci] pre-commit autoupdate [#920](https://github.com/ipython/ipykernel/pull/920) ([@pre-commit-ci](https://github.com/pre-commit-ci))
874+
- [pre-commit.ci] pre-commit autoupdate [#919](https://github.com/ipython/ipykernel/pull/919) ([@pre-commit-ci](https://github.com/pre-commit-ci))
875+
- [pre-commit.ci] pre-commit autoupdate [#917](https://github.com/ipython/ipykernel/pull/917) ([@pre-commit-ci](https://github.com/pre-commit-ci))
876876

877877
### Contributors to this release
878878

@@ -897,7 +897,7 @@
897897
- Add basic mypy support [#913](https://github.com/ipython/ipykernel/pull/913) ([@blink1073](https://github.com/blink1073))
898898
- Clean up pre-commit [#911](https://github.com/ipython/ipykernel/pull/911) ([@blink1073](https://github.com/blink1073))
899899
- Update setup.py [#909](https://github.com/ipython/ipykernel/pull/909) ([@tlinhart](https://github.com/tlinhart))
900-
- \[pre-commit.ci\] pre-commit autoupdate [#906](https://github.com/ipython/ipykernel/pull/906) ([@pre-commit-ci](https://github.com/pre-commit-ci))
900+
- [pre-commit.ci] pre-commit autoupdate [#906](https://github.com/ipython/ipykernel/pull/906) ([@pre-commit-ci](https://github.com/pre-commit-ci))
901901

902902
### Contributors to this release
903903

@@ -1315,7 +1315,7 @@
13151315

13161316
- Add watchfd keyword to InProcessKernel OutStream initialization [#727](https://github.com/ipython/ipykernel/pull/727) ([@rayosborn](https://github.com/rayosborn))
13171317
- Fix typo in eventloops.py [#711](https://github.com/ipython/ipykernel/pull/711) ([@selasley](https://github.com/selasley))
1318-
- \[bugfix\] fix in setup.py (comma before appnope) [#709](https://github.com/ipython/ipykernel/pull/709) ([@jstriebel](https://github.com/jstriebel))
1318+
- [bugfix] fix in setup.py (comma before appnope) [#709](https://github.com/ipython/ipykernel/pull/709) ([@jstriebel](https://github.com/jstriebel))
13191319

13201320
### Maintenance and upkeep improvements
13211321

ipykernel/inprocess/ipkernel.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ def _abort_queues(self):
9191
def _input_request(self, prompt, ident, parent, password=False):
9292
# Flush output before making the request.
9393
self.raw_input_str = None
94-
sys.stderr.flush()
95-
sys.stdout.flush()
94+
if sys.stdout is not None:
95+
sys.stdout.flush()
96+
if sys.stderr is not None:
97+
sys.stderr.flush()
9698

9799
# Send the input request.
98100
content = json_clean(dict(prompt=prompt, password=password))

ipykernel/kernelbase.py

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,10 @@ async def process_control(self, msg):
329329
except Exception:
330330
self.log.error("Exception in control handler:", exc_info=True) # noqa: G201
331331

332-
sys.stdout.flush()
333-
sys.stderr.flush()
332+
if sys.stdout is not None:
333+
sys.stdout.flush()
334+
if sys.stderr is not None:
335+
sys.stderr.flush()
334336
self._publish_status_and_flush("idle", "control", self.control_stream)
335337

336338
def should_handle(self, stream, msg, idents):
@@ -404,8 +406,10 @@ async def dispatch_shell(self, msg):
404406
except Exception:
405407
self.log.debug("Unable to signal in post_handler_hook:", exc_info=True)
406408

407-
sys.stdout.flush()
408-
sys.stderr.flush()
409+
if sys.stdout is not None:
410+
sys.stdout.flush()
411+
if sys.stderr is not None:
412+
sys.stderr.flush()
409413
self._publish_status_and_flush("idle", "shell", self.shell_stream)
410414

411415
def pre_handler_hook(self):
@@ -748,8 +752,10 @@ async def execute_request(self, stream, ident, parent):
748752
reply_content = await reply_content
749753

750754
# Flush output before sending the reply.
751-
sys.stdout.flush()
752-
sys.stderr.flush()
755+
if sys.stdout is not None:
756+
sys.stdout.flush()
757+
if sys.stderr is not None:
758+
sys.stderr.flush()
753759
# FIXME: on rare occasions, the flush doesn't seem to make it to the
754760
# clients... This seems to mitigate the problem, but we definitely need
755761
# to better understand what's going on.
@@ -1083,8 +1089,10 @@ async def apply_request(self, stream, ident, parent): # pragma: no cover
10831089
reply_content, result_buf = self.do_apply(content, bufs, msg_id, md)
10841090

10851091
# flush i/o
1086-
sys.stdout.flush()
1087-
sys.stderr.flush()
1092+
if sys.stdout is not None:
1093+
sys.stdout.flush()
1094+
if sys.stderr is not None:
1095+
sys.stderr.flush()
10881096

10891097
md = self.finish_metadata(parent, md, reply_content)
10901098
if not self.session:
@@ -1258,8 +1266,10 @@ def raw_input(self, prompt=""):
12581266

12591267
def _input_request(self, prompt, ident, parent, password=False):
12601268
# Flush output before making the request.
1261-
sys.stderr.flush()
1262-
sys.stdout.flush()
1269+
if sys.stdout is not None:
1270+
sys.stdout.flush()
1271+
if sys.stderr is not None:
1272+
sys.stderr.flush()
12631273

12641274
# flush the stdin socket, to purge stale replies
12651275
while True:

ipykernel/trio_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def initialize(self, kernel, io_loop):
2929
bg_thread.start()
3030

3131
def interrupt(self, signum, frame):
32-
"""Interuppt the runner."""
32+
"""Interrupt the runner."""
3333
if self._cell_cancel_scope:
3434
self._cell_cancel_scope.cancel()
3535
else:

0 commit comments

Comments
 (0)