Skip to content

Commit f38f629

Browse files
committed
Support lab 4
1 parent c9ead08 commit f38f629

File tree

7 files changed

+3679
-3472
lines changed

7 files changed

+3679
-3472
lines changed

.github/workflows/test.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,20 @@ jobs:
3131
matrix:
3232
python-version: ["3.8", "3.11"]
3333
jupyter_server-version: ["1", "2"]
34-
jupyterlab-version: ["3"]
34+
jupyterlab-version: ["3", "4"]
3535
os: [ubuntu-22.04]
3636
include:
3737
- python-version: "3.11"
3838
jupyter_server-version: "2"
3939
jupyterlab-version: "3"
4040
os: windows-2022
41+
- python-version: "3.11"
42+
jupyter_server-version: "2"
43+
jupyterlab-version: "4"
44+
os: windows-2022
45+
exclude:
46+
- jupyter_server-version: "1"
47+
jupyterlab-version: "4"
4148

4249
runs-on: ${{ matrix.os }}
4350
defaults:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,4 @@ dmypy.json
148148

149149
# Cython debug symbols
150150
cython_debug/
151+
labextension/.yarn/

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Welcome! As a [Jupyter](https://jupyter.org) project, we follow the [Jupyter contributor guide](https://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html).
44

5-
To setup a local development environment and ru tests, see the small section in
5+
To setup a local development environment and run tests, see the small section in
66
the README.md file.
77

88
## Local development setup

labextension/.yarnrc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nodeLinker: node-modules
2+
httpTimeout: 300000
3+
npmRegistryServer: "https://registry.npmjs.org/"

labextension/package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,15 @@
4343
"deduplicate": "yarn-deduplicate -s fewer --fail"
4444
},
4545
"dependencies": {
46-
"@jupyterlab/application": "^2.0 || ^3.0",
47-
"@jupyterlab/launcher": "^2.0 || ^3.0"
48-
},
49-
"resolutions": {
50-
"loader-utils": ">=2.0.3"
46+
"@jupyterlab/application": "^2.0 || ^3.0 || ^4.0",
47+
"@jupyterlab/launcher": "^2.0 || ^3.0 || ^4.0"
5148
},
5249
"devDependencies": {
53-
"@jupyterlab/builder": "^3.2.4",
50+
"@jupyterlab/builder": "^3.2.4 || ^4.0.0",
51+
"npm-run-all": "^4.1.5",
5452
"rimraf": "^3.0.2",
5553
"typescript": "~4.8.4",
56-
"yarn-deduplicate": "^6.0.0",
57-
"npm-run-all": "^4.1.5"
54+
"yarn-deduplicate": "^6.0.0"
5855
},
5956
"jupyterlab": {
6057
"extension": true,

0 commit comments

Comments
 (0)