Compare commits

...

12 Commits
main ... 7.0.x

Author SHA1 Message Date
jtpio 0211c255df Publish 7.0.8
2 years ago
Jeremy Tuloup 7b4415ca64
Add upper bound on `jupyterlab<4.1` (#7249)
2 years ago
Lumberbot (aka Jack) 99db9423e3
Backport PR #7244 on branch 7.0.x (Add documentation for updating `notebook` imports) (#7245)
2 years ago
Lumberbot (aka Jack) 9d2cbd8387
Backport PR #7235: Fix link in `CONTRIBUTING.md` (#7236)
2 years ago
Lumberbot (aka Jack) c467adf2e4
Backport PR #7219: Fix `check_links` on CI (#7220)
2 years ago
jtpio 80e992e9f4 Publish 7.0.7
2 years ago
Michał Krassowski 089c78c48f
Update to JupyterLab 4.0.11 (#7215)
2 years ago
Lumberbot (aka Jack) 109ba75788
Backport PR #7176: Update publish-release workflow for PyPI trusted publisher (#7179)
2 years ago
Jeremy Tuloup d252423198
Update ruff config and typing (#7145) (#7186)
2 years ago
Lumberbot (aka Jack) d2ef92f0b3
Backport PR #7142: Clean up lint handling (#7185)
2 years ago
Lumberbot (aka Jack) 8e9390d9af
Backport PR #7132: Adopt ruff format (#7184)
2 years ago
Jeremy Tuloup 4d07f1ee9b
Install stable JupyterLab 4.0 in the releaser hook (#7183)
2 years ago

@ -187,13 +187,14 @@ jobs:
- name: Run Linters
run: |
hatch run typing:test
hatch run lint:style
hatch run lint:build
pipx run interrogate -v .
pipx run doc8 --max-line-length=200 docs/source *.md
npm install -g yarn
yarn
yarn eslint:check
yarn prettier:check
yarn build:utils
yarn integrity
tests_check: # This job does nothing and is only used for the branch protection

@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U "jupyterlab>=4.0.2,<5" hatch
python -m pip install -U "jupyterlab>=4.0.2,<4.1" hatch
jlpm
jlpm run build
@ -79,6 +79,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U "jupyterlab>=4.0.2,<5" pip
python -m pip install -U "jupyterlab>=4.0.2,<4.1" pip
jlpm
jlpm run build

@ -12,12 +12,13 @@ on:
description: 'Comma separated list of steps to skip'
required: false
permissions:
contents: read
jobs:
publish_release:
runs-on: ubuntu-latest
permissions:
# This is useful if you want to use PyPI trusted publisher
# and NPM provenance
id-token: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
@ -26,7 +27,6 @@ jobs:
uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
target: ${{ github.event.inputs.target }}
branch: ${{ github.event.inputs.branch }}
release_url: ${{ github.event.inputs.release_url }}
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}
@ -34,14 +34,10 @@ jobs:
- name: Finalize Release
id: finalize-release
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
PYPI_TOKEN_MAP: ${{ secrets.PYPI_TOKEN_MAP }}
TWINE_USERNAME: __token__
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
uses: jupyter-server/jupyter-releaser/.github/actions/finalize-release@v2
uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
target: ${{ github.event.inputs.target }}
release_url: ${{ steps.populate-release.outputs.release_url }}
- name: '** Next Step **'

@ -4,7 +4,7 @@ ci:
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-case-conflict
- id: check-ast
@ -31,16 +31,11 @@ repos:
- id: blacken-docs
additional_dependencies: [black==23.7.0]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: 'v2.2.6'
hooks:
- id: codespell
args: ['-L', 'sur,nd']
args: ['-L', 'hart,noteable']
exclude: |
(?x)^(
yarn.lock|
@ -48,6 +43,15 @@ repos:
docs/source/examples/images/FrontendKernel.graffle/data.plist|
)$
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.6.1"
hooks:
- id: mypy
files: "^notebook"
stages: [manual]
args: ["--install-types", "--non-interactive"]
additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.0,<4.1"]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: 'v1.10.0'
hooks:
@ -56,13 +60,18 @@ repos:
- id: rst-inline-touching-normal
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.292
rev: v0.1.5
hooks:
- id: ruff
types_or: [ python, jupyter ]
exclude: '^docs/source/examples/Notebook/Importing Notebooks.ipynb'
args: ['--fix', '--show-fixes']
- id: ruff-format
types_or: [ python, jupyter ]
exclude: '^docs/source/examples/Notebook/Importing Notebooks.ipynb'
- repo: https://github.com/scientific-python/cookie
rev: '2023.09.21'
rev: '2023.10.27'
hooks:
- id: sp-repo-review
additional_dependencies: ['repo-review[cli]']

@ -14,6 +14,50 @@ Use `pip install pip --upgrade` to upgrade pip. Check pip version with
<!-- <START NEW CHANGELOG ENTRY> -->
## 7.0.8
([Full Changelog](https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.0.7...7b4415ca64ea60ed8ea40a298581e95f5c7dc34a))
### Maintenance and upkeep improvements
- Add upper bound on `jupyterlab<4.1` [#7249](https://github.com/jupyter/notebook/pull/7249) ([@jtpio](https://github.com/jtpio))
- Fix `check_links` on CI [#7219](https://github.com/jupyter/notebook/pull/7219) ([@jtpio](https://github.com/jtpio))
### Documentation improvements
- Add documentation for updating `notebook` imports [#7244](https://github.com/jupyter/notebook/pull/7244) ([@jtpio](https://github.com/jtpio))
- Fix link in `CONTRIBUTING.md` [#7235](https://github.com/jupyter/notebook/pull/7235) ([@jtpio](https://github.com/jtpio))
### Contributors to this release
([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2024-01-19&to=2024-02-09&type=c))
[@github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-01-19..2024-02-09&type=Issues) | [@jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-01-19..2024-02-09&type=Issues) | [@meeseeksmachine](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ameeseeksmachine+updated%3A2024-01-19..2024-02-09&type=Issues) | [@Zsailer](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3AZsailer+updated%3A2024-01-19..2024-02-09&type=Issues)
<!-- <END NEW CHANGELOG ENTRY> -->
## 7.0.7
([Full Changelog](https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.0.6...089c78c48fd00b2b0d2f33e4463eb42018e86803))
### Enhancements made
- Update to JupyterLab 4.0.11 [#7215](https://github.com/jupyter/notebook/pull/7215) ([@krassowski](https://github.com/krassowski))
### Maintenance and upkeep improvements
- Update ruff config and typing [#7145](https://github.com/jupyter/notebook/pull/7145) ([@blink1073](https://github.com/blink1073))
- Clean up lint handling [#7142](https://github.com/jupyter/notebook/pull/7142) ([@blink1073](https://github.com/blink1073))
- Adopt ruff format [#7132](https://github.com/jupyter/notebook/pull/7132) ([@blink1073](https://github.com/blink1073))
- \[7.0.x\] Install stable JupyterLab 4.0 in the releaser hook [#7183](https://github.com/jupyter/notebook/pull/7183) ([@jtpio](https://github.com/jtpio))
- Update publish-release workflow for PyPI trusted publisher [#7176](https://github.com/jupyter/notebook/pull/7176) ([@jtpio](https://github.com/jtpio))
### Contributors to this release
([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2023-10-17&to=2024-01-19&type=c))
[@brichet](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Abrichet+updated%3A2023-10-17..2024-01-19&type=Issues) | [@d5423197](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ad5423197+updated%3A2023-10-17..2024-01-19&type=Issues) | [@github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2023-10-17..2024-01-19&type=Issues) | [@jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2023-10-17..2024-01-19&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Akrassowski+updated%3A2023-10-17..2024-01-19&type=Issues) | [@meeseeksmachine](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ameeseeksmachine+updated%3A2023-10-17..2024-01-19&type=Issues)
## 7.0.6
([Full Changelog](https://github.com/jupyter/notebook/compare/@jupyter-notebook/app@7.0.5...c62caffb02856737870cbc79a2cdb43b3e89c363))
@ -33,8 +77,6 @@ Use `pip install pip --upgrade` to upgrade pip. Check pip version with
[@dependabot](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Adependabot+updated%3A2023-10-12..2023-10-17&type=Issues) | [@github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2023-10-12..2023-10-17&type=Issues) | [@jayeshsingh9767](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajayeshsingh9767+updated%3A2023-10-12..2023-10-17&type=Issues) | [@jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2023-10-12..2023-10-17&type=Issues)
<!-- <END NEW CHANGELOG ENTRY> -->
## 7.0.5
([Full Changelog](https://github.com/jupyter/notebook/compare/@jupyter-notebook/app@7.0.4...839193d07f0780ded6f559892517f061f3776b02))
@ -456,7 +498,7 @@ Check out the [JupyterLab `4.0.0a37` release notes](https://github.com/jupyterla
### Maintenance and upkeep improvements
- Replace the use of `toArray` by `Array.from` [#6775](https://github.com/jupyter/notebook/pull/6775) ([@tarunsamanta2k20](https://github.com/tarunsamanta2k20))
- Replace the use of `toArray` by `Array.from` [#6775](https://github.com/jupyter/notebook/pull/6775) (`@tarunsamanta2k20`)
### Contributors to this release

@ -119,7 +119,7 @@ Running the command will open a browser tab by default with a graph that looks l
To learn more about Lerna caching:
- https://lerna.js.org/docs/features/cache-tasks
- https://nx.dev/core-features/cache-task-results
- https://nx.dev/features/cache-task-results
### Updating reference snapshots

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/app",
"version": "7.0.6",
"version": "7.0.8",
"private": true,
"scripts": {
"build": "webpack",
@ -12,91 +12,91 @@
"resolutions": {
"@codemirror/state": "~6.2.1",
"@codemirror/view": "~6.15.3",
"@jupyter-notebook/application": "~7.0.6",
"@jupyter-notebook/application-extension": "~7.0.6",
"@jupyter-notebook/console-extension": "~7.0.6",
"@jupyter-notebook/docmanager-extension": "~7.0.6",
"@jupyter-notebook/documentsearch-extension": "~7.0.6",
"@jupyter-notebook/help-extension": "~7.0.6",
"@jupyter-notebook/notebook-extension": "~7.0.6",
"@jupyter-notebook/terminal-extension": "~7.0.6",
"@jupyter-notebook/tree": "~7.0.6",
"@jupyter-notebook/tree-extension": "~7.0.6",
"@jupyter-notebook/ui-components": "~7.0.6",
"@jupyter/ydoc": "~1.0.2",
"@jupyterlab/application": "~4.0.7",
"@jupyterlab/application-extension": "~4.0.7",
"@jupyterlab/apputils": "~4.1.7",
"@jupyterlab/apputils-extension": "~4.0.7",
"@jupyterlab/attachments": "~4.0.7",
"@jupyterlab/cell-toolbar": "~4.0.7",
"@jupyterlab/cell-toolbar-extension": "~4.0.7",
"@jupyterlab/celltags-extension": "~4.0.7",
"@jupyterlab/codeeditor": "~4.0.7",
"@jupyterlab/codemirror": "~4.0.7",
"@jupyterlab/codemirror-extension": "~4.0.7",
"@jupyterlab/completer": "~4.0.7",
"@jupyterlab/completer-extension": "~4.0.7",
"@jupyterlab/console": "~4.0.7",
"@jupyterlab/console-extension": "~4.0.7",
"@jupyterlab/coreutils": "~6.0.7",
"@jupyterlab/csvviewer-extension": "~4.0.7",
"@jupyterlab/debugger": "~4.0.7",
"@jupyterlab/debugger-extension": "~4.0.7",
"@jupyterlab/docmanager": "~4.0.7",
"@jupyterlab/docmanager-extension": "~4.0.7",
"@jupyterlab/documentsearch": "~4.0.7",
"@jupyterlab/documentsearch-extension": "~4.0.7",
"@jupyterlab/extensionmanager": "~4.0.7",
"@jupyterlab/extensionmanager-extension": "~4.0.7",
"@jupyterlab/filebrowser": "~4.0.7",
"@jupyterlab/filebrowser-extension": "~4.0.7",
"@jupyterlab/fileeditor": "~4.0.7",
"@jupyterlab/fileeditor-extension": "~4.0.7",
"@jupyterlab/htmlviewer": "~4.0.7",
"@jupyterlab/htmlviewer-extension": "~4.0.7",
"@jupyterlab/hub-extension": "~4.0.7",
"@jupyterlab/imageviewer": "~4.0.7",
"@jupyterlab/imageviewer-extension": "~4.0.7",
"@jupyterlab/javascript-extension": "~4.0.7",
"@jupyterlab/json-extension": "~4.0.7",
"@jupyterlab/lsp": "~4.0.7",
"@jupyterlab/lsp-extension": "~4.0.7",
"@jupyterlab/mainmenu": "~4.0.7",
"@jupyterlab/mainmenu-extension": "~4.0.7",
"@jupyterlab/markdownviewer": "~4.0.7",
"@jupyterlab/markdownviewer-extension": "~4.0.7",
"@jupyterlab/markedparser-extension": "~4.0.7",
"@jupyterlab/mathjax-extension": "~4.0.7",
"@jupyterlab/metadataform": "~4.0.7",
"@jupyterlab/metadataform-extension": "~4.0.7",
"@jupyterlab/notebook": "~4.0.7",
"@jupyterlab/notebook-extension": "~4.0.7",
"@jupyterlab/observables": "~5.0.7",
"@jupyterlab/outputarea": "~4.0.7",
"@jupyterlab/pdf-extension": "~4.0.7",
"@jupyterlab/rendermime": "~4.0.7",
"@jupyterlab/rendermime-interfaces": "~3.8.7",
"@jupyterlab/running-extension": "~4.0.7",
"@jupyterlab/services": "~7.0.7",
"@jupyterlab/settingeditor": "~4.0.7",
"@jupyterlab/settingeditor-extension": "~4.0.7",
"@jupyterlab/settingregistry": "~4.0.7",
"@jupyterlab/shortcuts-extension": "~4.0.7",
"@jupyterlab/statedb": "~4.0.7",
"@jupyterlab/statusbar": "~4.0.7",
"@jupyterlab/terminal": "~4.0.7",
"@jupyterlab/terminal-extension": "~4.0.7",
"@jupyterlab/theme-dark-extension": "~4.0.7",
"@jupyterlab/theme-light-extension": "~4.0.7",
"@jupyterlab/toc-extension": "~6.0.7",
"@jupyterlab/tooltip": "~4.0.7",
"@jupyterlab/tooltip-extension": "~4.0.7",
"@jupyterlab/translation": "~4.0.7",
"@jupyterlab/translation-extension": "~4.0.7",
"@jupyterlab/ui-components": "~4.0.7",
"@jupyterlab/ui-components-extension": "~4.0.7",
"@jupyterlab/vega5-extension": "~4.0.7",
"@jupyter-notebook/application": "~7.0.8",
"@jupyter-notebook/application-extension": "~7.0.8",
"@jupyter-notebook/console-extension": "~7.0.8",
"@jupyter-notebook/docmanager-extension": "~7.0.8",
"@jupyter-notebook/documentsearch-extension": "~7.0.8",
"@jupyter-notebook/help-extension": "~7.0.8",
"@jupyter-notebook/notebook-extension": "~7.0.8",
"@jupyter-notebook/terminal-extension": "~7.0.8",
"@jupyter-notebook/tree": "~7.0.8",
"@jupyter-notebook/tree-extension": "~7.0.8",
"@jupyter-notebook/ui-components": "~7.0.8",
"@jupyter/ydoc": "~1.1.1",
"@jupyterlab/application": "~4.0.11",
"@jupyterlab/application-extension": "~4.0.11",
"@jupyterlab/apputils": "~4.1.11",
"@jupyterlab/apputils-extension": "~4.0.11",
"@jupyterlab/attachments": "~4.0.11",
"@jupyterlab/cell-toolbar": "~4.0.11",
"@jupyterlab/cell-toolbar-extension": "~4.0.11",
"@jupyterlab/celltags-extension": "~4.0.11",
"@jupyterlab/codeeditor": "~4.0.11",
"@jupyterlab/codemirror": "~4.0.11",
"@jupyterlab/codemirror-extension": "~4.0.11",
"@jupyterlab/completer": "~4.0.11",
"@jupyterlab/completer-extension": "~4.0.11",
"@jupyterlab/console": "~4.0.11",
"@jupyterlab/console-extension": "~4.0.11",
"@jupyterlab/coreutils": "~6.0.11",
"@jupyterlab/csvviewer-extension": "~4.0.11",
"@jupyterlab/debugger": "~4.0.11",
"@jupyterlab/debugger-extension": "~4.0.11",
"@jupyterlab/docmanager": "~4.0.11",
"@jupyterlab/docmanager-extension": "~4.0.11",
"@jupyterlab/documentsearch": "~4.0.11",
"@jupyterlab/documentsearch-extension": "~4.0.11",
"@jupyterlab/extensionmanager": "~4.0.11",
"@jupyterlab/extensionmanager-extension": "~4.0.11",
"@jupyterlab/filebrowser": "~4.0.11",
"@jupyterlab/filebrowser-extension": "~4.0.11",
"@jupyterlab/fileeditor": "~4.0.11",
"@jupyterlab/fileeditor-extension": "~4.0.11",
"@jupyterlab/htmlviewer": "~4.0.11",
"@jupyterlab/htmlviewer-extension": "~4.0.11",
"@jupyterlab/hub-extension": "~4.0.11",
"@jupyterlab/imageviewer": "~4.0.11",
"@jupyterlab/imageviewer-extension": "~4.0.11",
"@jupyterlab/javascript-extension": "~4.0.11",
"@jupyterlab/json-extension": "~4.0.11",
"@jupyterlab/lsp": "~4.0.11",
"@jupyterlab/lsp-extension": "~4.0.11",
"@jupyterlab/mainmenu": "~4.0.11",
"@jupyterlab/mainmenu-extension": "~4.0.11",
"@jupyterlab/markdownviewer": "~4.0.11",
"@jupyterlab/markdownviewer-extension": "~4.0.11",
"@jupyterlab/markedparser-extension": "~4.0.11",
"@jupyterlab/mathjax-extension": "~4.0.11",
"@jupyterlab/metadataform": "~4.0.11",
"@jupyterlab/metadataform-extension": "~4.0.11",
"@jupyterlab/notebook": "~4.0.11",
"@jupyterlab/notebook-extension": "~4.0.11",
"@jupyterlab/observables": "~5.0.11",
"@jupyterlab/outputarea": "~4.0.11",
"@jupyterlab/pdf-extension": "~4.0.11",
"@jupyterlab/rendermime": "~4.0.11",
"@jupyterlab/rendermime-interfaces": "~3.8.11",
"@jupyterlab/running-extension": "~4.0.11",
"@jupyterlab/services": "~7.0.11",
"@jupyterlab/settingeditor": "~4.0.11",
"@jupyterlab/settingeditor-extension": "~4.0.11",
"@jupyterlab/settingregistry": "~4.0.11",
"@jupyterlab/shortcuts-extension": "~4.0.11",
"@jupyterlab/statedb": "~4.0.11",
"@jupyterlab/statusbar": "~4.0.11",
"@jupyterlab/terminal": "~4.0.11",
"@jupyterlab/terminal-extension": "~4.0.11",
"@jupyterlab/theme-dark-extension": "~4.0.11",
"@jupyterlab/theme-light-extension": "~4.0.11",
"@jupyterlab/toc-extension": "~6.0.11",
"@jupyterlab/tooltip": "~4.0.11",
"@jupyterlab/tooltip-extension": "~4.0.11",
"@jupyterlab/translation": "~4.0.11",
"@jupyterlab/translation-extension": "~4.0.11",
"@jupyterlab/ui-components": "~4.0.11",
"@jupyterlab/ui-components-extension": "~4.0.11",
"@jupyterlab/vega5-extension": "~4.0.11",
"@lezer/common": "~1.0.3",
"@lezer/highlight": "~1.1.6",
"@lumino/algorithm": "~2.0.1",
@ -105,7 +105,7 @@
"@lumino/coreutils": "~2.1.2",
"@lumino/disposable": "~2.1.2",
"@lumino/domutils": "~2.0.1",
"@lumino/dragdrop": "~2.1.3",
"@lumino/dragdrop": "~2.1.4",
"@lumino/messaging": "~2.0.1",
"@lumino/properties": "~2.0.1",
"@lumino/signaling": "~2.1.2",
@ -116,67 +116,67 @@
"yjs": "~13.6.7"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyter-notebook/application-extension": "^7.0.6",
"@jupyter-notebook/console-extension": "^7.0.6",
"@jupyter-notebook/docmanager-extension": "^7.0.6",
"@jupyter-notebook/documentsearch-extension": "^7.0.6",
"@jupyter-notebook/help-extension": "^7.0.6",
"@jupyter-notebook/notebook-extension": "^7.0.6",
"@jupyter-notebook/terminal-extension": "^7.0.6",
"@jupyter-notebook/tree": "^7.0.6",
"@jupyter-notebook/tree-extension": "^7.0.6",
"@jupyter-notebook/ui-components": "^7.0.6",
"@jupyterlab/application-extension": "^4.0.7",
"@jupyterlab/apputils-extension": "^4.0.7",
"@jupyterlab/attachments": "^4.0.7",
"@jupyterlab/cell-toolbar-extension": "^4.0.7",
"@jupyterlab/celltags-extension": "^4.0.7",
"@jupyterlab/codemirror": "^4.0.7",
"@jupyterlab/codemirror-extension": "^4.0.7",
"@jupyterlab/completer-extension": "^4.0.7",
"@jupyterlab/console-extension": "^4.0.7",
"@jupyterlab/coreutils": "^6.0.7",
"@jupyterlab/csvviewer-extension": "^4.0.7",
"@jupyterlab/debugger-extension": "^4.0.7",
"@jupyterlab/docmanager-extension": "^4.0.7",
"@jupyterlab/documentsearch-extension": "^4.0.7",
"@jupyterlab/extensionmanager-extension": "^4.0.7",
"@jupyterlab/filebrowser-extension": "^4.0.7",
"@jupyterlab/fileeditor-extension": "^4.0.7",
"@jupyterlab/htmlviewer-extension": "^4.0.7",
"@jupyterlab/hub-extension": "^4.0.7",
"@jupyterlab/imageviewer-extension": "^4.0.7",
"@jupyterlab/javascript-extension": "^4.0.7",
"@jupyterlab/json-extension": "^4.0.7",
"@jupyterlab/lsp": "^4.0.7",
"@jupyterlab/lsp-extension": "^4.0.7",
"@jupyterlab/mainmenu-extension": "^4.0.7",
"@jupyterlab/markdownviewer-extension": "^4.0.7",
"@jupyterlab/markedparser-extension": "^4.0.7",
"@jupyterlab/mathjax-extension": "^4.0.7",
"@jupyterlab/metadataform-extension": "^4.0.7",
"@jupyterlab/notebook-extension": "^4.0.7",
"@jupyterlab/pdf-extension": "^4.0.7",
"@jupyterlab/running-extension": "^4.0.7",
"@jupyterlab/settingeditor": "^4.0.7",
"@jupyterlab/settingeditor-extension": "^4.0.7",
"@jupyterlab/shortcuts-extension": "^4.0.7",
"@jupyterlab/terminal-extension": "^4.0.7",
"@jupyterlab/theme-dark-extension": "^4.0.7",
"@jupyterlab/theme-light-extension": "^4.0.7",
"@jupyterlab/toc-extension": "^6.0.7",
"@jupyterlab/tooltip-extension": "^4.0.7",
"@jupyterlab/translation-extension": "^4.0.7",
"@jupyterlab/ui-components-extension": "^4.0.7",
"@jupyterlab/vega5-extension": "^4.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyter-notebook/application-extension": "^7.0.8",
"@jupyter-notebook/console-extension": "^7.0.8",
"@jupyter-notebook/docmanager-extension": "^7.0.8",
"@jupyter-notebook/documentsearch-extension": "^7.0.8",
"@jupyter-notebook/help-extension": "^7.0.8",
"@jupyter-notebook/notebook-extension": "^7.0.8",
"@jupyter-notebook/terminal-extension": "^7.0.8",
"@jupyter-notebook/tree": "^7.0.8",
"@jupyter-notebook/tree-extension": "^7.0.8",
"@jupyter-notebook/ui-components": "^7.0.8",
"@jupyterlab/application-extension": "^4.0.11",
"@jupyterlab/apputils-extension": "^4.0.11",
"@jupyterlab/attachments": "^4.0.11",
"@jupyterlab/cell-toolbar-extension": "^4.0.11",
"@jupyterlab/celltags-extension": "^4.0.11",
"@jupyterlab/codemirror": "^4.0.11",
"@jupyterlab/codemirror-extension": "^4.0.11",
"@jupyterlab/completer-extension": "^4.0.11",
"@jupyterlab/console-extension": "^4.0.11",
"@jupyterlab/coreutils": "^6.0.11",
"@jupyterlab/csvviewer-extension": "^4.0.11",
"@jupyterlab/debugger-extension": "^4.0.11",
"@jupyterlab/docmanager-extension": "^4.0.11",
"@jupyterlab/documentsearch-extension": "^4.0.11",
"@jupyterlab/extensionmanager-extension": "^4.0.11",
"@jupyterlab/filebrowser-extension": "^4.0.11",
"@jupyterlab/fileeditor-extension": "^4.0.11",
"@jupyterlab/htmlviewer-extension": "^4.0.11",
"@jupyterlab/hub-extension": "^4.0.11",
"@jupyterlab/imageviewer-extension": "^4.0.11",
"@jupyterlab/javascript-extension": "^4.0.11",
"@jupyterlab/json-extension": "^4.0.11",
"@jupyterlab/lsp": "^4.0.11",
"@jupyterlab/lsp-extension": "^4.0.11",
"@jupyterlab/mainmenu-extension": "^4.0.11",
"@jupyterlab/markdownviewer-extension": "^4.0.11",
"@jupyterlab/markedparser-extension": "^4.0.11",
"@jupyterlab/mathjax-extension": "^4.0.11",
"@jupyterlab/metadataform-extension": "^4.0.11",
"@jupyterlab/notebook-extension": "^4.0.11",
"@jupyterlab/pdf-extension": "^4.0.11",
"@jupyterlab/running-extension": "^4.0.11",
"@jupyterlab/settingeditor": "^4.0.11",
"@jupyterlab/settingeditor-extension": "^4.0.11",
"@jupyterlab/shortcuts-extension": "^4.0.11",
"@jupyterlab/terminal-extension": "^4.0.11",
"@jupyterlab/theme-dark-extension": "^4.0.11",
"@jupyterlab/theme-light-extension": "^4.0.11",
"@jupyterlab/toc-extension": "^6.0.11",
"@jupyterlab/tooltip-extension": "^4.0.11",
"@jupyterlab/translation-extension": "^4.0.11",
"@jupyterlab/ui-components-extension": "^4.0.11",
"@jupyterlab/vega5-extension": "^4.0.11",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"yjs": "^13.5.40"
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.7",
"@jupyterlab/buildutils": "^4.0.7",
"@jupyterlab/builder": "^4.0.11",
"@jupyterlab/buildutils": "^4.0.11",
"@types/rimraf": "^3.0.2",
"css-loader": "~5.0.1",
"extra-watch-webpack-plugin": "^1.0.3",

@ -235,7 +235,7 @@
"\\nabla \\times \\vec{\\mathbf{B}} -\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{E}}}{\\partial t} & = \\frac{4\\pi}{c}\\vec{\\mathbf{j}} \\\\\n",
"\\nabla \\cdot \\vec{\\mathbf{E}} & = 4 \\pi \\rho \\\\\n",
"\\nabla \\times \\vec{\\mathbf{E}}\\, +\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{B}}}{\\partial t} & = \\vec{\\mathbf{0}} \\\\\n",
"\\nabla \\cdot \\vec{\\mathbf{B}} & = 0 \n",
"\\nabla \\cdot \\vec{\\mathbf{B}} & = 0\n",
"\\end{eqnarray}\"\"\"\n",
")"
]
@ -277,8 +277,7 @@
"metadata": {},
"outputs": [],
"source": [
"from IPython.display import HTML\n",
"from IPython.display import display\n",
"from IPython.display import HTML, display\n",
"\n",
"s = \"\"\"<table>\n",
"<tr>\n",

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/buildutils",
"version": "7.0.6",
"version": "7.0.8",
"private": true,
"description": "Jupyter Notebook - Build Utilities",
"homepage": "https://github.com/jupyter/notebook",
@ -29,7 +29,7 @@
"watch": "tsc -w --listEmittedFiles"
},
"dependencies": {
"@jupyterlab/buildutils": "^4.0.7",
"@jupyterlab/buildutils": "^4.0.11",
"commander": "^6.2.0",
"fs-extra": "^9.1.0",
"typescript": "~5.0.2"

@ -52,6 +52,12 @@ front-end Notebook client (i.e. the familiar notebook interface).
> - Related: [Configuring a language kernel](https://ipython.readthedocs.io/en/latest/install/kernel_install.html)
> to run in the Jupyter Server enables your server to run other languages, like R or Julia.
```{warning}
Jupyter Notebook 7 is now based on Jupyter Server. This may break some previous `notebook` imports you may have been using, such as `notebook.auth` or `notebook.notebookapp`.
Check out the [migration guide](../migrating/server-imports.md) to learn more on how to update these server imports.
```
(configure-nbextensions)=
## Notebook extensions

@ -124,7 +124,6 @@
"outputs": [],
"source": [
"import sys\n",
"from ctypes import CDLL\n",
"\n",
"# This will crash a Linux or Mac system\n",
"# equivalent calls can be made on Windows\n",
@ -225,9 +224,7 @@
}
],
"source": [
"from __future__ import print_function\n",
"\n",
"print('hi, stderr', file=sys.stderr)"
"print(\"hi, stderr\", file=sys.stderr)"
]
},
{
@ -270,7 +267,8 @@
}
],
"source": [
"import time, sys\n",
"import sys\n",
"import time\n",
"\n",
"for i in range(8):\n",
" print(i)\n",

@ -73,6 +73,7 @@ notebook_7_features.md
migrating/frontend-extensions.md
migrating/server-extensions.md
migrating/server-imports.md
migrating/custom-themes.md
migrating/multiple-interfaces.md
```

@ -0,0 +1,37 @@
# Server Imports in Notebook 7
Notebook 7 is now based on Jupyter Server, which lets users run multiple Jupyter frontends (e.g. Notebook, JupyterLab, NBClassic, etc.) on the same server.
Prior to Notebook 7, the Classic Notebook server included the server modules in the `notebook` package. This means it was possible to import the server modules from the `notebook` package, for example:
```python
from notebook.auth import passwd
passwd("foo")
```
Or:
```python
from notebook import notebookapp
notebookapp.list_running_servers()
```
In Notebook 7, these server modules are now exposed by the `jupyter_server` package. The code snippets above should be updated to:
```python
from jupyter_server.auth import passwd
passwd("foo")
```
And:
```python
from jupyter_server import serverapp
serverapp.list_running_servers()
```
These are just examples, so you may have to adjust your use of `notebook` imports based on the specific server modules you were using.

@ -5,7 +5,7 @@ import re
from collections import namedtuple
# Use "hatch version xx.yy.zz" to handle version changes
__version__ = "7.0.6"
__version__ = "7.0.8"
# PEP440 version parser
_version_regex = re.compile(

@ -210,12 +210,12 @@ class CustomCssHandler(NotebookBaseHandler):
def get(self) -> t.Any:
"""Get the custom css file."""
self.set_header("Content-Type", 'text/css')
self.set_header("Content-Type", "text/css")
page_config = self.get_page_config()
custom_css_file = f"{page_config['jupyterConfigDir']}/custom/custom.css"
if not os.path.isfile(custom_css_file):
static_path_root = re.match('^(.*?)static', page_config['staticDir'])
static_path_root = re.match("^(.*?)static", page_config["staticDir"])
if static_path_root is not None:
custom_dir = static_path_root.groups()[0]
custom_css_file = f"{custom_dir}custom/custom.css"
@ -301,6 +301,8 @@ class JupyterNotebookApp(NotebookConfigShimMixin, LabServerApp): # type:ignore[
def server_extension_is_enabled(self, extension: str) -> bool:
"""Check if server extension is enabled."""
if self.serverapp is None:
return False
try:
extension_enabled = (
self.serverapp.extension_manager.extensions[extension].enabled is True
@ -311,6 +313,7 @@ class JupyterNotebookApp(NotebookConfigShimMixin, LabServerApp): # type:ignore[
def initialize_handlers(self) -> None:
"""Initialize handlers."""
assert self.serverapp is not None # noqa: S101
page_config = self.serverapp.web_app.settings.setdefault("page_config_data", {})
nbclassic_enabled = self.server_extension_is_enabled("nbclassic")
page_config["nbclassic_enabled"] = nbclassic_enabled

@ -49,7 +49,7 @@
"yjs": "^13.5.40"
},
"devDependencies": {
"@jupyterlab/buildutils": "^4.0.7",
"@jupyterlab/buildutils": "^4.0.11",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/metapackage",
"version": "7.0.6",
"version": "7.0.8",
"private": true,
"description": "Jupyter Notebook - Metapackage",
"homepage": "https://github.com/jupyter/notebook",
@ -20,18 +20,18 @@
"watch": "tsc -b -w --preserveWatchOutput"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyter-notebook/application-extension": "^7.0.6",
"@jupyter-notebook/console-extension": "^7.0.6",
"@jupyter-notebook/docmanager-extension": "^7.0.6",
"@jupyter-notebook/documentsearch-extension": "^7.0.6",
"@jupyter-notebook/help-extension": "^7.0.6",
"@jupyter-notebook/lab-extension": "^7.0.6",
"@jupyter-notebook/notebook-extension": "^7.0.6",
"@jupyter-notebook/terminal-extension": "^7.0.6",
"@jupyter-notebook/tree": "^7.0.6",
"@jupyter-notebook/tree-extension": "^7.0.6",
"@jupyter-notebook/ui-components": "^7.0.6"
"@jupyter-notebook/application": "^7.0.8",
"@jupyter-notebook/application-extension": "^7.0.8",
"@jupyter-notebook/console-extension": "^7.0.8",
"@jupyter-notebook/docmanager-extension": "^7.0.8",
"@jupyter-notebook/documentsearch-extension": "^7.0.8",
"@jupyter-notebook/help-extension": "^7.0.8",
"@jupyter-notebook/lab-extension": "^7.0.8",
"@jupyter-notebook/notebook-extension": "^7.0.8",
"@jupyter-notebook/terminal-extension": "^7.0.8",
"@jupyter-notebook/tree": "^7.0.8",
"@jupyter-notebook/tree-extension": "^7.0.8",
"@jupyter-notebook/ui-components": "^7.0.8"
},
"devDependencies": {
"typescript": "~5.0.2"

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/application-extension",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Application Extension",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -38,19 +38,19 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyter-notebook/ui-components": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/apputils": "^4.1.7",
"@jupyterlab/codeeditor": "^4.0.7",
"@jupyterlab/console": "^4.0.7",
"@jupyterlab/coreutils": "^6.0.7",
"@jupyterlab/docmanager": "^4.0.7",
"@jupyterlab/docregistry": "^4.0.7",
"@jupyterlab/mainmenu": "^4.0.7",
"@jupyterlab/rendermime": "^4.0.7",
"@jupyterlab/settingregistry": "^4.0.7",
"@jupyterlab/translation": "^4.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyter-notebook/ui-components": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/apputils": "^4.1.11",
"@jupyterlab/codeeditor": "^4.0.11",
"@jupyterlab/console": "^4.0.11",
"@jupyterlab/coreutils": "^6.0.11",
"@jupyterlab/docmanager": "^4.0.11",
"@jupyterlab/docregistry": "^4.0.11",
"@jupyterlab/mainmenu": "^4.0.11",
"@jupyterlab/rendermime": "^4.0.11",
"@jupyterlab/settingregistry": "^4.0.11",
"@jupyterlab/translation": "^4.0.11",
"@lumino/coreutils": "^2.1.2",
"@lumino/disposable": "^2.1.2",
"@lumino/widgets": "^2.3.0"

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/application",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Application",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -42,11 +42,11 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/coreutils": "^6.0.7",
"@jupyterlab/docregistry": "^4.0.7",
"@jupyterlab/rendermime-interfaces": "^3.8.7",
"@jupyterlab/ui-components": "^4.0.7",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/coreutils": "^6.0.11",
"@jupyterlab/docregistry": "^4.0.11",
"@jupyterlab/rendermime-interfaces": "^3.8.11",
"@jupyterlab/ui-components": "^4.0.11",
"@lumino/algorithm": "^2.0.1",
"@lumino/coreutils": "^2.1.2",
"@lumino/messaging": "^2.0.1",
@ -57,7 +57,7 @@
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.12.1",
"@jupyterlab/testutils": "^4.0.7",
"@jupyterlab/testutils": "^4.0.11",
"@types/jest": "^29.2.5",
"jest": "^29.3.1",
"rimraf": "^3.0.2",

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/console-extension",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Console Extension",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -38,10 +38,10 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/console": "^4.0.7",
"@jupyterlab/coreutils": "^6.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/console": "^4.0.11",
"@jupyterlab/coreutils": "^6.0.11",
"@lumino/algorithm": "^2.0.1"
},
"devDependencies": {

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/docmanager-extension",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Document Manager Extension",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -38,12 +38,12 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/coreutils": "^6.0.7",
"@jupyterlab/docmanager": "^4.0.7",
"@jupyterlab/docregistry": "^4.0.7",
"@jupyterlab/services": "^7.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/coreutils": "^6.0.11",
"@jupyterlab/docmanager": "^4.0.11",
"@jupyterlab/docregistry": "^4.0.11",
"@jupyterlab/services": "^7.0.11",
"@lumino/algorithm": "^2.0.1",
"@lumino/signaling": "^2.1.2"
},

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/documentsearch-extension",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Document Search Extension",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -38,9 +38,9 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/documentsearch": "^4.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/documentsearch": "^4.0.11",
"@lumino/widgets": "^2.3.0"
},
"devDependencies": {

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/help-extension",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Help Extension",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -38,11 +38,11 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter-notebook/ui-components": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/apputils": "^4.1.7",
"@jupyterlab/mainmenu": "^4.0.7",
"@jupyterlab/translation": "^4.0.7",
"@jupyter-notebook/ui-components": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/apputils": "^4.1.11",
"@jupyterlab/mainmenu": "^4.0.11",
"@jupyterlab/translation": "^4.0.11",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/lab-extension",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Lab Extension",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -43,19 +43,19 @@
"watch:src": "tsc -w"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/apputils": "^4.1.7",
"@jupyterlab/coreutils": "^6.0.7",
"@jupyterlab/docregistry": "^4.0.7",
"@jupyterlab/notebook": "^4.0.7",
"@jupyterlab/translation": "^4.0.7",
"@jupyterlab/ui-components": "^4.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/apputils": "^4.1.11",
"@jupyterlab/coreutils": "^6.0.11",
"@jupyterlab/docregistry": "^4.0.11",
"@jupyterlab/notebook": "^4.0.11",
"@jupyterlab/translation": "^4.0.11",
"@jupyterlab/ui-components": "^4.0.11",
"@lumino/commands": "^2.1.3",
"@lumino/disposable": "^2.1.2"
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.7",
"@jupyterlab/builder": "^4.0.11",
"rimraf": "^3.0.2",
"typescript": "~5.0.2"
},

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/notebook-extension",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Notebook Extension",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -38,14 +38,14 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/apputils": "^4.1.7",
"@jupyterlab/cells": "^4.0.7",
"@jupyterlab/docmanager": "^4.0.7",
"@jupyterlab/notebook": "^4.0.7",
"@jupyterlab/settingregistry": "^4.0.7",
"@jupyterlab/translation": "^4.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/apputils": "^4.1.11",
"@jupyterlab/cells": "^4.0.11",
"@jupyterlab/docmanager": "^4.0.11",
"@jupyterlab/notebook": "^4.0.11",
"@jupyterlab/settingregistry": "^4.0.11",
"@jupyterlab/translation": "^4.0.11",
"@lumino/polling": "^2.1.2",
"@lumino/widgets": "^2.3.0",
"react": "^18.2.0",

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/terminal-extension",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Terminal Extension",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -38,10 +38,10 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/coreutils": "^6.0.7",
"@jupyterlab/terminal": "^4.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/coreutils": "^6.0.11",
"@jupyterlab/terminal": "^4.0.11",
"@lumino/algorithm": "^2.0.1"
},
"devDependencies": {

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/tree-extension",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Tree Extension",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -38,20 +38,20 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyter-notebook/tree": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/apputils": "^4.1.7",
"@jupyterlab/coreutils": "^6.0.7",
"@jupyterlab/docmanager": "^4.0.7",
"@jupyterlab/filebrowser": "^4.0.7",
"@jupyterlab/mainmenu": "^4.0.7",
"@jupyterlab/services": "^7.0.7",
"@jupyterlab/settingeditor": "^4.0.7",
"@jupyterlab/settingregistry": "^4.0.7",
"@jupyterlab/statedb": "^4.0.7",
"@jupyterlab/translation": "^4.0.7",
"@jupyterlab/ui-components": "^4.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyter-notebook/tree": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/apputils": "^4.1.11",
"@jupyterlab/coreutils": "^6.0.11",
"@jupyterlab/docmanager": "^4.0.11",
"@jupyterlab/filebrowser": "^4.0.11",
"@jupyterlab/mainmenu": "^4.0.11",
"@jupyterlab/services": "^7.0.11",
"@jupyterlab/settingeditor": "^4.0.11",
"@jupyterlab/settingregistry": "^4.0.11",
"@jupyterlab/statedb": "^4.0.11",
"@jupyterlab/translation": "^4.0.11",
"@jupyterlab/ui-components": "^4.0.11",
"@lumino/algorithm": "^2.0.1",
"@lumino/commands": "^2.1.3",
"@lumino/widgets": "^2.3.0"

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/tree",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - Tree",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -38,18 +38,18 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.6",
"@jupyterlab/application": "^4.0.7",
"@jupyterlab/apputils": "^4.1.7",
"@jupyterlab/coreutils": "^6.0.7",
"@jupyterlab/docmanager": "^4.0.7",
"@jupyterlab/filebrowser": "^4.0.7",
"@jupyterlab/mainmenu": "^4.0.7",
"@jupyterlab/services": "^7.0.7",
"@jupyterlab/settingregistry": "^4.0.7",
"@jupyterlab/statedb": "^4.0.7",
"@jupyterlab/translation": "^4.0.7",
"@jupyterlab/ui-components": "^4.0.7",
"@jupyter-notebook/application": "^7.0.8",
"@jupyterlab/application": "^4.0.11",
"@jupyterlab/apputils": "^4.1.11",
"@jupyterlab/coreutils": "^6.0.11",
"@jupyterlab/docmanager": "^4.0.11",
"@jupyterlab/filebrowser": "^4.0.11",
"@jupyterlab/mainmenu": "^4.0.11",
"@jupyterlab/services": "^7.0.11",
"@jupyterlab/settingregistry": "^4.0.11",
"@jupyterlab/statedb": "^4.0.11",
"@jupyterlab/translation": "^4.0.11",
"@jupyterlab/ui-components": "^4.0.11",
"@lumino/algorithm": "^2.0.1",
"@lumino/commands": "^2.1.3",
"@lumino/coreutils": "^2.1.2",

@ -1,6 +1,6 @@
{
"name": "@jupyter-notebook/ui-components",
"version": "7.0.6",
"version": "7.0.8",
"description": "Jupyter Notebook - UI components",
"homepage": "https://github.com/jupyter/notebook",
"bugs": {
@ -42,14 +42,14 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/ui-components": "^4.0.7",
"@jupyterlab/ui-components": "^4.0.11",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@jupyterlab/testutils": "^4.0.7",
"@jupyterlab/testutils": "^4.0.11",
"@types/jest": "^29.2.5",
"babel-loader": "^8.0.6",
"jest": "^29.3.1",

@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling>=1.11", "jupyterlab>=4.0.2,<5"]
requires = ["hatchling>=1.11", "jupyterlab>=4.0.2,<4.1"]
build-backend = "hatchling.build"
[project]
@ -32,7 +32,7 @@ classifiers = [
]
dependencies = [
"jupyter_server>=2.4.0,<3",
"jupyterlab>=4.0.2,<5",
"jupyterlab>=4.0.2,<4.1",
"jupyterlab_server>=2.22.1,<3",
"notebook_shim>=0.2,<0.3",
"tornado>=6.2.0",
@ -134,32 +134,21 @@ dependencies = ["coverage[toml]", "pytest-cov"]
test = "python -m pytest -vv --cov notebook --cov-branch --cov-report term-missing:skip-covered {args}"
nowarn = "test -W default {args}"
[tool.hatch.envs.typing]
features = ["test"]
dependencies = ["mypy>=1.5.1"]
[tool.hatch.envs.typing.scripts]
test = "mypy --install-types --non-interactive {args}"
[tool.hatch.envs.lint]
dependencies = [
"black[jupyter]==22.10.0",
"mdformat>0.7",
"mdformat-gfm>=0.3.5",
"ruff==0.0.276"
]
detached = true
dependencies = ["pre-commit"]
[tool.hatch.envs.lint.scripts]
style = [
"ruff {args:.}",
"black --check --diff {args:.}",
"mdformat --check {args:CHANGELOG.md}"
]
fmt = [
"black {args:.}",
"ruff --fix {args:.}",
"mdformat {args:CHANGELOG.md}"
build = [
"pre-commit run --all-files ruff",
"pre-commit run --all-files ruff-format"
]
[tool.hatch.envs.typing]
dependencies = [ "pre-commit"]
detached = true
[tool.hatch.envs.typing.scripts]
test = "pre-commit run --all-files --hook-stage manual mypy"
[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder>=0.5"]
build-function = "hatch_jupyter_builder.npm_builder"
@ -186,7 +175,7 @@ version-cmd = "jlpm run release:bump --force --skip-commit"
[tool.jupyter-releaser.hooks]
before-bump-version = [
"python -m pip install --pre -U jupyterlab",
"python -m pip install -U jupyterlab~=4.0",
"jlpm",
"jlpm run build:utils",
"python -m pip install hatch"
@ -204,7 +193,7 @@ minversion = "6.0"
xfail_strict = true
log_cli_level = "info"
addopts = [
"-raXs", "--durations=10", "--color=yes", "--doctest-modules",
"-ra", "--durations=10", "--color=yes", "--doctest-modules",
"--showlocals", "--strict-markers", "--strict-config"
]
testpaths = [
@ -246,16 +235,12 @@ show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
[tool.black]
line-length = 100
target-version = ["py37"]
skip-string-normalization = true
[tool.ruff]
target-version = "py37"
line-length = 100
[tool.ruff.lint]
select = [
"A", "B", "C", "DTZ", "E", "EM", "F", "FBT", "I", "ICN", "ISC", "N",
"A", "B", "C", "DTZ", "E", "EM", "F", "FBT", "I", "ICN", "N",
"PLC", "PLE", "PLR", "PLW", "Q", "RUF", "S", "SIM", "T", "TID", "UP",
"W", "YTT",
]
@ -270,13 +255,14 @@ ignore = [
"RUF012",
]
[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
# S101 Use of `assert` detected
# F841 Local variable `foo` is assigned to but never used
# PLR2004 Magic value used in comparison
"tests/*" = ["S101", "F841", "PLR2004"]
# undefined name 'c'
"ui-tests/test/jupyter_server_config.py" = ["F821"]
"*.ipynb" = ["E402", "B018", "E501", "T201"]
[tool.interrogate]
ignore-init-module=true
@ -289,7 +275,4 @@ fail-under=100
exclude = ["tests", "ui-tests", "docs", "node_modules", "setup.py"]
[tool.repo-review]
ignore = ["PY007", "PP308", "GH102", "PC140", "PC180"]
[tool.codespell]
ignore-words-list = "hart,noteable"
ignore = ["PY007", "GH102", "PC180"]

@ -6,7 +6,9 @@
"id": "6f7028b9-4d2c-4fa2-96ee-bfa77bbee434",
"metadata": {},
"outputs": [],
"source": ["print('1\\n' * 200)"]
"source": [
"print(\"1\\n\" * 200)"
]
},
{
"cell_type": "code",
@ -14,7 +16,9 @@
"id": "6f7028b9-4d2c-4fa2-96ee-bfa77bbee434",
"metadata": {},
"outputs": [],
"source": ["print('1\\n' * 20)"]
"source": [
"print(\"1\\n\" * 20)"
]
}
],
"metadata": {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save