Skip to content

Commit 2a87e00

Browse files
authored
Merge pull request #912 from krassowski/maintenance
Prepare relase 4.0.0
2 parents 3782976 + a865783 commit 2a87e00

File tree

20 files changed

+1070
-879
lines changed

20 files changed

+1070
-879
lines changed

.github/workflows/job.test.yml

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
matrix:
4545
os: [ubuntu]
4646
nodejs: ['>=14,<15.0.0a0']
47-
lab: ['>=3.3.0,<4.0.0a0']
47+
lab: ['>=3.6.0,<4.0.0a0']
4848
r: ['>=4']
4949
steps:
5050
- uses: actions/checkout@v3
@@ -124,7 +124,7 @@ jobs:
124124
matrix:
125125
os: [ubuntu]
126126
nodejs: ['>=14,<15.0.0a0']
127-
lab: ['>=3.1.0,<4.0.0a0']
127+
lab: ['>=3.6.0,<4.0.0a0']
128128
r: ['>=4']
129129
steps:
130130
- uses: actions/checkout@v3
@@ -214,19 +214,18 @@ jobs:
214214
fail-fast: false
215215
matrix:
216216
os: ['ubuntu', 'macos', 'windows']
217-
python: ['3.7', '3.10']
217+
python: ['3.8', '3.10']
218218
include:
219-
# if using 3.7, use newer node, etc...
220-
- python: '3.7'
221-
# Node 14 end-of-life: April 2023
222-
nodejs: '>=14,<15.0.0.a0'
223-
r: '<4'
224-
lab: '>=3.3.0,<3.4'
219+
- python: '3.8'
220+
# Node 16 end-of-life: April 2024
221+
nodejs: '>=16,<17.0.0.a0'
222+
r: '>=4'
223+
lab: '>=3.6.0,<4'
225224
- python: '3.10'
226225
# Node 16 end-of-life: April 2024
227226
nodejs: '>=16,<17.0.0.a0'
228227
r: '>=4'
229-
lab: '>=3.4.0,<4'
228+
lab: '>=3.6.0,<4'
230229

231230
steps:
232231
- uses: actions/checkout@v3
@@ -352,26 +351,23 @@ jobs:
352351
max-parallel: 3
353352
matrix:
354353
os: ['ubuntu', 'macos', 'windows']
355-
python: ['3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
354+
python: ['3.8', '3.9', '3.10', 'pypy-3.8']
356355
exclude:
357356
- os: windows
358357
python: pypy-3.7
359358
include:
360-
- python: '3.7'
361-
dist: 'jupyter*lsp*.tar.gz'
362-
lab: '>=3.3,<3.4'
363359
- python: '3.8'
364360
dist: 'jupyter*lsp*.whl'
365-
lab: '>=3.3,<3.4'
361+
lab: '>=3.6,<3.7'
366362
- python: '3.9'
367363
dist: 'jupyter*lsp*.tar.gz'
368-
lab: '>=3.4,<4'
364+
lab: '>=3.6,<4'
369365
- python: '3.10'
370366
dist: 'jupyter*lsp*.whl'
371-
lab: '>=3.4,<4'
372-
- python: 'pypy-3.7'
367+
lab: '>=3.6,<4'
368+
- python: 'pypy-3.8'
373369
dist: 'jupyter*lsp*.tar.gz'
374-
lab: '>=3.4,<4'
370+
lab: '>=3.6,<4'
375371
- os: 'windows'
376372
py_cmd: python
377373
- os: 'macos'
@@ -413,13 +409,13 @@ jobs:
413409
fail-fast: false
414410
matrix:
415411
os: [ubuntu]
416-
python: ['3.7', '3.10']
412+
python: ['3.8', '3.10']
417413
nodejs: ['14']
418414
include:
419-
- python: '3.7'
420-
lab: '>=3.3,<3.4'
415+
- python: '3.8'
416+
lab: '>=3.6,<3.7'
421417
- python: '3.10'
422-
lab: '>=3.3,<4'
418+
lab: '>=3.6,<4'
423419
steps:
424420
- name: Install Python
425421
uses: actions/setup-python@v4

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## Changelog
22

3-
### `@jupyter-lsp/jupyterlab-lsp 4.0.0-alpha.0` (not-yet-released)
3+
### `@jupyter-lsp/jupyterlab-lsp 4.0.0` (not-yet-released)
4+
5+
Requires JupyterLab `>=3.6.0,<4.0.0a0` and Python 3.8 or newer.
46

57
- features:
68
- implement jump target selector and jump to references ([#739])
@@ -37,9 +39,9 @@
3739
- downstreams:
3840
- includes sourcemaps for easier debugging ([#882])
3941
- maintenance:
40-
- handle notifcation promises more explicitly ([#882])
42+
- handle notification promises more explicitly ([#882])
4143

42-
### `jupyter-lsp 1.6.0` (not-yet-released)
44+
### `jupyter-lsp 2.0.0` (not-yet-released)
4345

4446
- dependencies:
4547
- uses `importlib_metadata` (or `importlib.metadata` on 3.10+) for `entry_points` ([#882])

CONTRIBUTING.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@ Thank you for all your contributions :heart:
3131

3232
Development requires, at a minimum:
3333

34-
- `nodejs >=14,!=15,<17`
35-
- `python >=3.7,<3.11.0a0`
36-
- Python 3.7 and 3.10 are fully tested on CI
37-
- Python 3.7 to 3.10 and PyPy 3 are verified to at least install and import
38-
- `jupyterlab >=3.3.0,<4.0.0a0`
34+
- `nodejs >=16,!=17,<19`
35+
- `python >=3.8,<3.11.0a0`
36+
- `jupyterlab >=3.6.0,<4.0.0a0`
3937

4038
It is recommended to use a virtual environment (e.g. `virtualenv` or `conda env`)
4139
for development.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ Use context menu on rows in the panel to filter out diagnostics or copy their me
9090

9191
You will need to have both of the following installed:
9292

93-
- JupyterLab >=3.3.0,<4.0.0a0
94-
- Python 3.7+
93+
- JupyterLab >=3.6.0,<4.0.0a0
94+
- Python 3.8+
9595

9696
In addition, if you wish to use javascript, html, markdown or any other NodeJS-based language server you will need to have appropriate NodeJS version installed.
9797

atest/Keywords.resource

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ Initialize User Settings
9090
Create File
9191
... ${SETTINGS DIR}${/}@jupyterlab${/}apputils-extension${/}palette.jupyterlab-settings
9292
... {"modal": false}
93+
Create File
94+
... ${SETTINGS DIR}${/}@jupyterlab${/}apputils-extension${/}notification.jupyterlab-settings
95+
... {"fetchNews": "false"}
9396

9497
Reset Plugin Settings
9598
[Arguments] ${package}=jupyterlab-lsp ${plugin}=plugin
@@ -381,7 +384,7 @@ Open File
381384

382385
Open in Advanced Settings
383386
[Arguments] ${plugin id}
384-
IF '${LAB VERSION}'.startswith('3.3')
387+
IF '${LAB VERSION}'.startswith('3.')
385388
Lab Command Advanced JSON Settings Editor
386389
ELSE
387390
Lab Command Advanced Settings Editor

binder/environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ channels:
66

77
dependencies:
88
# runtime dependencies
9-
- python >=3.7,<3.11.0a0
10-
- jupyterlab >=3.3.0,<4.0.0a0
9+
- python >=3.8,<3.11.0a0
10+
- jupyterlab >=3.6.0,<4.0.0a0
1111
- jupyter_server >=1.1.2
1212
- retrolab >=0.3.0,<0.4
1313
# build dependencies
14-
- nodejs >=14,!=15,<17
14+
- nodejs >=16,!=17,<19
1515
# for python language server (and development)
1616
- flake8 >=3.5
1717
- pip

docs/rtd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ channels:
77

88
dependencies:
99
- importlib_metadata
10-
- jupyterlab >=3.3.0,<4.0.0a0
10+
- jupyterlab >=3.6.0,<4.0.0a0
1111
- myst-nb
12-
- nodejs >=14,!=15,<17
12+
- nodejs >=16,!=17,<19
1313
- pandas
1414
- pip
1515
- pytest-check-links
16-
- python >=3.7,<3.11.0a0
16+
- python >=3.8,<3.11.0a0
1717
- python-graphviz
1818
- python-lsp-server
1919
- robotframework-lsp

packages/_example-extractor/jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const esModules = [
77
'lib0',
88
'y\\-protocols',
99
'y\\-websocket',
10+
'@jupyter/ydoc',
1011
'yjs'
1112
].join('|');
1213

@@ -26,7 +27,7 @@ let local = {
2627
'\\.(js|jsx)?$': './transform.js',
2728
'\\.svg$': 'jest-raw-loader'
2829
},
29-
transformIgnorePatterns: [`/node_modules/(?!${esModules}).+`],
30+
transformIgnorePatterns: [`/node_modules/(?!${esModules}).*`],
3031
testLocationInResults: true,
3132
reporters: [...upstream['reporters'], 'jest-github-actions-reporter']
3233
};

packages/code-jumpers/jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const esModules = [
1414
'lib0',
1515
'y\\-protocols',
1616
'y\\-websocket',
17+
'@jupyter/ydoc',
1718
'yjs'
1819
].join('|');
1920

@@ -25,7 +26,7 @@ let local = {
2526
'\\.(js|jsx)?$': './transform.js',
2627
'\\.svg$': 'jest-raw-loader'
2728
},
28-
transformIgnorePatterns: [`/node_modules/(?!${esModules}).+`]
29+
transformIgnorePatterns: [`/node_modules/(?!${esModules}).*`]
2930
};
3031

3132
for (const option of reuseFromUpstream) {

packages/jupyterlab-lsp/jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const esModules = [
1414
'lib0',
1515
'y\\-protocols',
1616
'y\\-websocket',
17+
'@jupyter/ydoc',
1718
'yjs'
1819
].join('|');
1920

@@ -25,7 +26,7 @@ let local = {
2526
'\\.(js|jsx)?$': './transform.js',
2627
'\\.svg$': 'jest-raw-loader'
2728
},
28-
transformIgnorePatterns: [`/node_modules/(?!${esModules}).+`],
29+
transformIgnorePatterns: [`/node_modules/(?!${esModules}).*`],
2930
testLocationInResults: true,
3031
reporters: [...upstream['reporters'], 'jest-github-actions-reporter'],
3132
setupFiles: [

0 commit comments

Comments
 (0)