Skip to content

Jupyter 2.0.1 support #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Quickly open a file in JupyterLab by typing part of its name
## Compatibility

- Python >=3.7.x
- JupyterLab >=1.0,<2.0
- JupyterLab >=2.0,<3.0
- Jupyter Notebook >=6.0,<7.0
- Notebook server configurations where notebook documents and other files reside on the local
filesystem (which is the the notebook server default)
Expand Down Expand Up @@ -86,6 +86,12 @@ The project includes a Makefile which makes setting up a development environment
easy. You must also install the latest Node LTS release as a prerequisite.

```
# Install poetry
make poetry

# Refresh the poetry.lock file if upgrading jupyterlab in pyproject.toml
poetry lock

# Create a dev environment
make venv

Expand All @@ -101,6 +107,7 @@ make watch-src

# In a second terminal, watch for rebuilt extension packages and rebuild
# jupyterlab to include them
make shell
make watch-lab
```

Expand Down
2 changes: 1 addition & 1 deletion binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jupyterlab>=1.0,<2.0a
jupyterlab>=2.0,<3.0a
jupyterlab-quickopen
notebook>=6.0,<7.0a
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,19 @@
"watch": "tsc -w"
},
"dependencies": {
"@jupyterlab/application": "^1.0.0",
"@jupyterlab/apputils": "^1.0.0",
"@jupyterlab/coreutils": "^3.0.0",
"@jupyterlab/docmanager": "^1.0.0",
"@jupyterlab/filebrowser": "^1.0.1",
"@jupyterlab/services": "^4.0.0",
"@phosphor/messaging": "^1.2.3",
"@phosphor/widgets": "^1.8.1"
"@jupyterlab/application": "^2.0.2",
"@jupyterlab/apputils": "^2.0.2",
"@jupyterlab/coreutils": "^4.0.2",
"@jupyterlab/settingregistry": "^2.0.1",
"@jupyterlab/docmanager": "^2.0.2",
"@jupyterlab/filebrowser": "^2.0.2",
"@jupyterlab/services": "^5.0.2",
"@lumino/messaging": "^1.3.3",
"@lumino/widgets": "^1.11.1"
},
"devDependencies": {
"rimraf": "^2.6.1",
"typescript": "~3.5.2"
"typescript": "~3.7.2"
},
"jupyterlab": {
"extension": true,
Expand Down
56 changes: 28 additions & 28 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ version = "0.4.1"
description = "Quickly open a file in JupyterLab by typing part of its name"
authors = ["Peter Parente <[email protected]>"]


[tool.poetry.dependencies]
python = ">=3.7"
jupyterlab = ">=1.0,<2.0a"
jupyterlab = ">=2.0,<3.0a"
notebook = ">=6.0,<7.0a"

[tool.poetry.dev-dependencies]
Expand Down
13 changes: 7 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import { ILabShell, JupyterFrontEnd, JupyterFrontEndPlugin } from "@jupyterlab/application";
import { ICommandPalette } from "@jupyterlab/apputils";
import { ISettingRegistry, URLExt, PathExt } from "@jupyterlab/coreutils";
import { URLExt, PathExt } from "@jupyterlab/coreutils";
import { IDocumentManager } from "@jupyterlab/docmanager";
import { ServerConnection } from "@jupyterlab/services";
import { ISettingRegistry } from "@jupyterlab/settingregistry";
import { FileBrowser, IFileBrowserFactory } from '@jupyterlab/filebrowser';
import { CommandRegistry } from "@phosphor/commands";
import { ReadonlyJSONObject } from "@phosphor/coreutils";
import { Message } from "@phosphor/messaging";
import { ISignal, Signal } from "@phosphor/signaling";
import { CommandPalette } from "@phosphor/widgets";
import { CommandRegistry } from "@lumino/commands";
import { ReadonlyJSONObject } from "@lumino/coreutils";
import { Message } from "@lumino/messaging";
import { ISignal, Signal } from "@lumino/signaling";
import { CommandPalette } from "@lumino/widgets";
import "../style/index.css";

/** Structure of the JSON response from the server */
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": true,
"lib": ["es2017", "dom"],
"module": "commonjs",
Expand Down
Loading