Skip to content

Commit e69a180

Browse files
authored
Merge branch 'master' into ci_fix_not_supported
2 parents 9b266dc + 601ac0e commit e69a180

14 files changed

+275
-209
lines changed

.github/workflows/enforce-label.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Enforce PR label
2+
3+
on:
4+
pull_request:
5+
types: [labeled, unlabeled, opened, edited, synchronize]
6+
jobs:
7+
enforce-label:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: enforce-triage-label
11+
uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1

.github/workflows/python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [ubuntu, macos, windows]
14-
python-version: [ '3.6' , '3.7', '3.8', '3.9' ] # Windows 3.9 fails due to the pywinpty dependency not working (Issue #5967)
14+
python-version: [ '3.6' , '3.7', '3.8', '3.9' ]
1515
exclude:
1616
# macOS do not have python 3.6 x86_64
1717
- os: macos

CHANGELOG.md

+25-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,31 @@ Use `pip install pip --upgrade` to upgrade pip. Check pip version with
1414

1515
<!-- <START NEW CHANGELOG ENTRY> -->
1616

17+
## 6.4.6
18+
19+
([Full Changelog](https://github.com/jupyter/notebook/compare/v6.4.5...160c27d3c23dafe8b42240571db21b0d5cbae2fe))
20+
21+
### Bugs fixed
22+
23+
- Fix `asyncio` error when opening notebooks [#6221](https://github.com/jupyter/notebook/pull/6221) ([@dleen](https://github.com/dleen))
24+
- Change to use a universal Chinese translation on certain words [#6218](https://github.com/jupyter/notebook/pull/6218) ([@jackexu](https://github.com/jackexu))
25+
- Fix Chinese translation typo [#6211](https://github.com/jupyter/notebook/pull/6211) ([@maliubiao](https://github.com/maliubiao)
26+
- Fix `send2trash` tests failing on Windows [#6127](https://github.com/jupyter/notebook/pull/6127) ([@dolfinus](https://github.com/dolfinus))
27+
28+
### Maintenance and upkeep improvements
29+
30+
- TST: don't look in user site for serverextensions [#6233](https://github.com/jupyter/notebook/pull/6233) ([@bnavigator](https://github.com/bnavigator))
31+
- Enable terminal tests as `pywinpty` is ported for python 3.9 [#6228](https://github.com/jupyter/notebook/pull/6228) ([@nsait-linaro](https://github.com/nsait-linaro))
32+
33+
34+
### Contributors to this release
35+
36+
([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2021-10-19&to=2021-11-16&type=c))
37+
38+
[@bnavigator](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Abnavigator+updated%3A2021-10-19..2021-11-16&type=Issues) | [@dleen](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Adleen+updated%3A2021-10-19..2021-11-16&type=Issues) | [@dolfinus](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Adolfinus+updated%3A2021-10-19..2021-11-16&type=Issues) | [@jackexu](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajackexu+updated%3A2021-10-19..2021-11-16&type=Issues) | [@kevin-bates](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Akevin-bates+updated%3A2021-10-19..2021-11-16&type=Issues) | [@maliubiao](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Amaliubiao+updated%3A2021-10-19..2021-11-16&type=Issues) | [@nsait-linaro](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ansait-linaro+updated%3A2021-10-19..2021-11-16&type=Issues) | [@takluyver](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Atakluyver+updated%3A2021-10-19..2021-11-16&type=Issues) | [@Zsailer](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3AZsailer+updated%3A2021-10-19..2021-11-16&type=Issues)
39+
40+
<!-- <END NEW CHANGELOG ENTRY> -->
41+
1742
## 6.4.5
1843

1944
([Full Changelog](https://github.com/jupyter/notebook/compare/v6.4.4...ccd9665571107e02a325a738b8baebd6532b2d3d))
@@ -34,15 +59,12 @@ Use `pip install pip --upgrade` to upgrade pip. Check pip version with
3459
- Pin `nbsphinx` to 0.8.6, clean up orphaned resources [#6194](https://github.com/jupyter/notebook/pull/6194) ([@kevin-bates](https://github.com/kevin-bates))
3560
- Fix typo in docstring [#6188](https://github.com/jupyter/notebook/pull/6188) ([@jgarte](https://github.com/jgarte))
3661

37-
3862
### Contributors to this release
3963

4064
([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2021-09-03&to=2021-10-19&type=c))
4165

4266
[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ablink1073+updated%3A2021-09-03..2021-10-19&type=Issues) | [@jgarte](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajgarte+updated%3A2021-09-03..2021-10-19&type=Issues) | [@kevin-bates](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Akevin-bates+updated%3A2021-09-03..2021-10-19&type=Issues) | [@martinRenou](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3AmartinRenou+updated%3A2021-09-03..2021-10-19&type=Issues) | [@mgeier](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Amgeier+updated%3A2021-09-03..2021-10-19&type=Issues)
4367

44-
<!-- <END NEW CHANGELOG ENTRY> -->
45-
4668
## 6.4.4
4769

4870
([Full Changelog](https://github.com/jupyter/notebook/compare/v6.4.3...c06c340574e1d2207940c5bd1190eb73d82ab945))

notebook/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import re
66

77
# Version string must appear intact for tbump versioning
8-
__version__ = '6.4.5'
8+
__version__ = '6.5.0.dev0'
99

1010
# Build up version_info tuple for backwards compatibility
1111
pattern = r'(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)'

notebook/conftest.py

-10
This file was deleted.

notebook/i18n/zh_CN/LC_MESSAGES/nbjs.po

+48-47
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
55
#
66
#, fuzzy
7+
# Universal translation: cell=单元格; kernal=内核; don't translate notebook whenever referring to Jupyter Notebook
78
msgid ""
89
msgstr ""
910
"Project-Id-Version: Jupyter VERSION\n"
@@ -35,11 +36,11 @@ msgstr "编辑元数据"
3536

3637
#: notebook/static/base/js/dialog.js:202
3738
msgid "Edit Notebook Metadata"
38-
msgstr "编辑笔记本元数据"
39+
msgstr "编辑Notebook元数据"
3940

4041
#: notebook/static/base/js/dialog.js:204
4142
msgid "Edit Cell Metadata"
42-
msgstr "编辑块元数据"
43+
msgstr "编辑单元格元数据"
4344

4445
#: notebook/static/base/js/dialog.js:208
4546
#: notebook/static/notebook/js/notebook.js:485
@@ -74,11 +75,11 @@ msgstr "警告: 不能保存无效的JSON。"
7475

7576
#: notebook/static/base/js/dialog.js:247
7677
msgid "There are no attachments for this cell."
77-
msgstr "这个块没有附件。"
78+
msgstr "这个单元格没有附件。"
7879

7980
#: notebook/static/base/js/dialog.js:250
8081
msgid "Current cell attachments"
81-
msgstr "当前块附件"
82+
msgstr "当前单元格附件"
8283

8384
#: notebook/static/base/js/dialog.js:259
8485
#: notebook/static/notebook/js/celltoolbarpresets/attachments.js:46
@@ -104,7 +105,7 @@ msgstr "编辑笔记本附件"
104105

105106
#: notebook/static/base/js/dialog.js:350
106107
msgid "Edit Cell Attachments"
107-
msgstr "编辑块附件"
108+
msgstr "编辑单元格附件"
108109

109110
#: notebook/static/base/js/dialog.js:373
110111
msgid "Select a file to insert."
@@ -188,19 +189,19 @@ msgstr "重启内核(带确认对话框)"
188189

189190
#: notebook/static/notebook/js/actions.js:113
190191
msgid "restart kernel and run all cells"
191-
msgstr "重启内核并且运行所有代码块"
192+
msgstr "重启内核并且运行所有单元格"
192193

193194
#: notebook/static/notebook/js/actions.js:114
194195
msgid "restart the kernel, then re-run the whole notebook (no confirmation dialog)"
195196
msgstr "重启服务,然后重新运行整个笔记本(无确认对话框)"
196197

197198
#: notebook/static/notebook/js/actions.js:120
198199
msgid "confirm restart kernel and run all cells"
199-
msgstr "确认重启内核并且运行所有代码块"
200+
msgstr "确认重启内核并且运行所有单元格"
200201

201202
#: notebook/static/notebook/js/actions.js:121
202203
msgid "restart the kernel, then re-run the whole notebook (with dialog)"
203-
msgstr "重启内核, 然后重新运行整个代码(带确认对话框)"
204+
msgstr "重启内核, 然后重新运行整个notebook(带确认对话框)"
204205

205206
#: notebook/static/notebook/js/actions.js:127
206207
msgid "restart kernel and clear output"
@@ -225,36 +226,36 @@ msgstr "中断内核"
225226

226227
#: notebook/static/notebook/js/actions.js:150
227228
msgid "run cell and select next"
228-
msgstr "运行代码块并且选择下一个代码块"
229+
msgstr "运行单元格并且选择下一个单元格"
229230

230231
#: notebook/static/notebook/js/actions.js:152
231232
msgid "run cell, select below"
232-
msgstr "运行代码块, 选择下面的代码块"
233+
msgstr "运行单元格, 选择下面的单元格"
233234

234235
#: notebook/static/notebook/js/actions.js:159
235236
#: notebook/static/notebook/js/actions.js:160
236237
msgid "run selected cells"
237-
msgstr "运行选中的代码块"
238+
msgstr "运行选中的单元格"
238239

239240
#: notebook/static/notebook/js/actions.js:167
240241
#: notebook/static/notebook/js/actions.js:168
241242
msgid "run cell and insert below"
242-
msgstr "运行代码块并且在下面插入代码块"
243+
msgstr "运行单元格并且在下面插入单元格"
243244

244245
#: notebook/static/notebook/js/actions.js:175
245246
#: notebook/static/notebook/js/actions.js:176
246247
msgid "run all cells"
247-
msgstr "运行所有的代码块"
248+
msgstr "运行所有的单元格"
248249

249250
#: notebook/static/notebook/js/actions.js:183
250251
#: notebook/static/notebook/js/actions.js:184
251252
msgid "run all cells above"
252-
msgstr "运行上面所有的代码块"
253+
msgstr "运行上面所有的单元格"
253254

254255
#: notebook/static/notebook/js/actions.js:190
255256
#: notebook/static/notebook/js/actions.js:191
256257
msgid "run all cells below"
257-
msgstr "运行下面所有的代码块"
258+
msgstr "运行下面所有的单元格"
258259

259260
#: notebook/static/notebook/js/actions.js:197
260261
#: notebook/static/notebook/js/actions.js:198
@@ -269,22 +270,22 @@ msgstr "插入图片"
269270
#: notebook/static/notebook/js/actions.js:213
270271
#: notebook/static/notebook/js/actions.js:214
271272
msgid "cut cell attachments"
272-
msgstr "剪切代码块的附件"
273+
msgstr "剪切单元格的附件"
273274

274275
#: notebook/static/notebook/js/actions.js:221
275276
#: notebook/static/notebook/js/actions.js:222
276277
msgid "copy cell attachments"
277-
msgstr "复制代码块的附件"
278+
msgstr "复制单元格的附件"
278279

279280
#: notebook/static/notebook/js/actions.js:229
280281
#: notebook/static/notebook/js/actions.js:230
281282
msgid "paste cell attachments"
282-
msgstr "粘贴代码块的附件"
283+
msgstr "粘贴单元格的附件"
283284

284285
#: notebook/static/notebook/js/actions.js:237
285286
#: notebook/static/notebook/js/actions.js:238
286287
msgid "split cell at cursor"
287-
msgstr "在光标处分割代码块"
288+
msgstr "在光标处分割单元格"
288289

289290
#: notebook/static/notebook/js/actions.js:245
290291
#: notebook/static/notebook/js/actions.js:246
@@ -293,45 +294,45 @@ msgstr "进入编辑模式"
293294

294295
#: notebook/static/notebook/js/actions.js:253
295296
msgid "select previous cell"
296-
msgstr "选择上一个代码块"
297+
msgstr "选择上一个单元格"
297298

298299
#: notebook/static/notebook/js/actions.js:254
299300
msgid "select cell above"
300-
msgstr "选择上面的代码块"
301+
msgstr "选择上面的单元格"
301302

302303
#: notebook/static/notebook/js/actions.js:265
303304
msgid "select next cell"
304-
msgstr "选择下一个代码块"
305+
msgstr "选择下一个单元格"
305306

306307
#: notebook/static/notebook/js/actions.js:266
307308
msgid "select cell below"
308-
msgstr "选择下面的代码块"
309+
msgstr "选择下面的单元格"
309310

310311
#: notebook/static/notebook/js/actions.js:277
311312
msgid "extend selection above"
312-
msgstr "扩展上面的代码块"
313+
msgstr "扩展上面的单元格"
313314

314315
#: notebook/static/notebook/js/actions.js:278
315316
msgid "extend selected cells above"
316-
msgstr "扩展上面选择的代码块"
317+
msgstr "扩展上面选择的单元格"
317318

318319
#: notebook/static/notebook/js/actions.js:289
319320
msgid "extend selection below"
320-
msgstr "扩展下面的代码块"
321+
msgstr "扩展下面的单元格"
321322

322323
#: notebook/static/notebook/js/actions.js:290
323324
msgid "extend selected cells below"
324-
msgstr "扩展下面选择的代码块"
325+
msgstr "扩展下面选择的单元格"
325326

326327
#: notebook/static/notebook/js/actions.js:301
327328
#: notebook/static/notebook/js/actions.js:302
328329
msgid "cut selected cells"
329-
msgstr "剪切选择的代码块"
330+
msgstr "剪切选择的单元格"
330331

331332
#: notebook/static/notebook/js/actions.js:312
332333
#: notebook/static/notebook/js/actions.js:313
333334
msgid "copy selected cells"
334-
msgstr "复制选择的代码块"
335+
msgstr "复制选择的单元格"
335336

336337
#: notebook/static/notebook/js/actions.js:327
337338
#: notebook/static/notebook/js/actions.js:328
@@ -346,73 +347,73 @@ msgstr "粘贴到下面"
346347
#: notebook/static/notebook/js/actions.js:344
347348
#: notebook/static/notebook/js/actions.js:345
348349
msgid "insert cell above"
349-
msgstr "在上面插入代码块"
350+
msgstr "在上面插入单元格"
350351

351352
#: notebook/static/notebook/js/actions.js:354
352353
#: notebook/static/notebook/js/actions.js:355
353354
msgid "insert cell below"
354-
msgstr "在下面插入代码块"
355+
msgstr "在下面插入单元格"
355356

356357
#: notebook/static/notebook/js/actions.js:365
357358
#: notebook/static/notebook/js/actions.js:366
358359
msgid "change cell to code"
359-
msgstr "把代码块变成代码"
360+
msgstr "把单元格变成代码快"
360361

361362
#: notebook/static/notebook/js/actions.js:373
362363
#: notebook/static/notebook/js/actions.js:374
363364
msgid "change cell to markdown"
364-
msgstr "把代码块变成 Markdown"
365+
msgstr "把单元格变成 Markdown"
365366

366367
#: notebook/static/notebook/js/actions.js:381
367368
#: notebook/static/notebook/js/actions.js:382
368369
msgid "change cell to raw"
369-
msgstr "清除代码块格式"
370+
msgstr "清除单元格格式"
370371

371372
#: notebook/static/notebook/js/actions.js:389
372373
#: notebook/static/notebook/js/actions.js:390
373374
msgid "change cell to heading 1"
374-
msgstr "把代码块变成标题 1"
375+
msgstr "把单元格变成标题 1"
375376

376377
#: notebook/static/notebook/js/actions.js:397
377378
#: notebook/static/notebook/js/actions.js:398
378379
msgid "change cell to heading 2"
379-
msgstr "把代码块变成标题 2"
380+
msgstr "把单元格变成标题 2"
380381

381382
#: notebook/static/notebook/js/actions.js:405
382383
#: notebook/static/notebook/js/actions.js:406
383384
msgid "change cell to heading 3"
384-
msgstr "把代码块变成标题 3"
385+
msgstr "把单元格变成标题 3"
385386

386387
#: notebook/static/notebook/js/actions.js:413
387388
#: notebook/static/notebook/js/actions.js:414
388389
msgid "change cell to heading 4"
389-
msgstr "把代码块变成标题 4"
390+
msgstr "把单元格变成标题 4"
390391

391392
#: notebook/static/notebook/js/actions.js:421
392393
#: notebook/static/notebook/js/actions.js:422
393394
msgid "change cell to heading 5"
394-
msgstr "把代码块变成标题 5"
395+
msgstr "把单元格变成标题 5"
395396

396397
#: notebook/static/notebook/js/actions.js:429
397398
#: notebook/static/notebook/js/actions.js:430
398399
msgid "change cell to heading 6"
399-
msgstr "把代码块变成标题 6"
400+
msgstr "把单元格变成标题 6"
400401

401402
#: notebook/static/notebook/js/actions.js:437
402403
msgid "toggle cell output"
403-
msgstr "切换代码块输出"
404+
msgstr "显示/隐藏单元格输出"
404405

405406
#: notebook/static/notebook/js/actions.js:438
406407
msgid "toggle output of selected cells"
407-
msgstr "切换选定单元格的输出"
408+
msgstr "显示/隐藏选定单元格的输出"
408409

409410
#: notebook/static/notebook/js/actions.js:445
410411
msgid "toggle cell scrolling"
411-
msgstr "切换单元格滚动"
412+
msgstr "切换单元格为滚动"
412413

413414
#: notebook/static/notebook/js/actions.js:446
414415
msgid "toggle output scrolling of selected cells"
415-
msgstr "切换选中单元格的输出滚动"
416+
msgstr "切换选中单元格的输出为滚动"
416417

417418
#: notebook/static/notebook/js/actions.js:453
418419
msgid "clear cell output"
@@ -424,15 +425,15 @@ msgstr "清空已选择单元格的输出"
424425

425426
#: notebook/static/notebook/js/actions.js:460
426427
msgid "move cells down"
427-
msgstr "下移"
428+
msgstr "下移单元格"
428429

429430
#: notebook/static/notebook/js/actions.js:461
430431
msgid "move selected cells down"
431432
msgstr "下移选中单元格"
432433

433434
#: notebook/static/notebook/js/actions.js:469
434435
msgid "move cells up"
435-
msgstr "上移"
436+
msgstr "上移单元格"
436437

437438
#: notebook/static/notebook/js/actions.js:470
438439
msgid "move selected cells up"
@@ -459,7 +460,7 @@ msgstr "删除选中单元格"
459460
#: notebook/static/notebook/js/actions.js:502
460461
#: notebook/static/notebook/js/actions.js:503
461462
msgid "undo cell deletion"
462-
msgstr "撤销删除"
463+
msgstr "撤销删除单元格"
463464

464465
#: notebook/static/notebook/js/actions.js:512
465466
msgid "merge cell with previous cell"

0 commit comments

Comments
 (0)