Skip to content

Commit 4628ce6

Browse files
authored
Update Python/Node versions on CI and in docs (#1118)
* Update tested Python and nodejs versions * Update versions in docs * Update binder env * Update one more * Try mamba 2.0.6 * Try `miniforge-version: latest`, fix typo in node version comment
1 parent b2eb9b1 commit 4628ce6

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

.github/workflows/job.test.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -208,16 +208,16 @@ jobs:
208208
fail-fast: false
209209
matrix:
210210
os: ['ubuntu', 'macos', 'windows']
211-
python: ['3.8', '3.11']
211+
python: ['3.9', '3.12']
212212
include:
213-
- python: '3.8'
214-
# Node 16 end-of-life: 2023-09-11
215-
nodejs: '>=16,<17.0.0.a0'
213+
- python: '3.9'
214+
# Node 18 end-of-life: 2025-04-30
215+
nodejs: '>=18,<19.0.0.a0'
216216
r: '>=4'
217217
lab: '>=4.1.0,<5'
218218
- python: '3.11'
219-
# Node 18 end-of-life: 2025-04-30
220-
nodejs: '>=18,<19.0.0.a0'
219+
# Node 20 end-of-life: 2026-04-30
220+
nodejs: '>=20,<21.0.0.a0'
221221
r: '>=4'
222222
lab: '>=4.1.0,<5'
223223

@@ -239,9 +239,9 @@ jobs:
239239
with:
240240
python-version: ${{ matrix.python }}
241241
environment-file: requirements/github-actions.yml
242-
mamba-version: '*'
243242
channels: conda-forge,nodefaults
244243
channel-priority: true
244+
miniforge-version: latest
245245

246246
- name: List all packages
247247
run: conda list
@@ -337,18 +337,18 @@ jobs:
337337
max-parallel: 3
338338
matrix:
339339
os: ['ubuntu', 'macos', 'windows']
340-
python: ['3.8', '3.11', 'pypy-3.8']
340+
python: ['3.9', '3.12', 'pypy-3.9']
341341
include:
342-
- python: '3.8'
342+
- python: '3.9'
343343
dist: 'jupyter*lsp*.whl'
344344
lab: '>=4.1.0,<5'
345-
- python: '3.8'
345+
- python: '3.9'
346346
dist: 'jupyter*lsp*.tar.gz'
347347
lab: '>=4.1.0,<5'
348348
- python: '3.11'
349349
dist: 'jupyter*lsp*.whl'
350350
lab: '>=4.1.0,<5'
351-
- python: 'pypy-3.8'
351+
- python: 'pypy-3.9'
352352
dist: 'jupyter*lsp*.tar.gz'
353353
lab: '>=4.1.0,<5'
354354
- os: 'windows'
@@ -392,12 +392,12 @@ jobs:
392392
fail-fast: false
393393
matrix:
394394
os: [ubuntu]
395-
python: ['3.8', '3.11']
395+
python: ['3.9', '3.12']
396396
nodejs: ['20.x']
397397
include:
398-
- python: '3.8'
398+
- python: '3.9'
399399
lab: '>=4.1.0,<5'
400-
- python: '3.11'
400+
- python: '3.12'
401401
lab: '>=4.1.0,<5'
402402
steps:
403403
- name: Install Python

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ Thank you for all your contributions :heart:
3131

3232
A development environment requires, at a minimum:
3333

34-
- `python >=3.8,<3.13.0a0`
34+
- `python >=3.9,<3.13.0a0`
3535
- `jupyterlab >=4.1.0,<5.0.0a0`
36-
- `nodejs >=18,!=19,!=21,<23`
36+
- `nodejs >=20,!=21,!=23,<25`
3737

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

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Use context menu on rows in the panel to filter out diagnostics or copy their me
9191
You will need to have both of the following installed:
9292

9393
- JupyterLab >=4.1.0,<5.0.0a0
94-
- Python 3.8+
94+
- Python 3.9+
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

binder/environment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ channels:
66

77
dependencies:
88
# runtime dependencies
9-
- python >=3.8,<3.13.0a0
9+
- python >=3.9,<3.13.0a0
1010
- jupyterlab >=4.1.0,<5.0.0a0
1111
- jupyter_server >=1.1.2
1212
- notebook >=7
1313
# build dependencies
14-
- nodejs >=18,!=19,!=21,<23
14+
- nodejs >=20,!=21,!=23,<25
1515
# for python language server (and development)
1616
- flake8 >=3.5
1717
- pip

versions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
JUPYTERLAB_NEXT_MAJOR_VERSION = int(JUPYTERLAB_VERSION.split('.')[0]) + 1
2323
REQUIRED_JUPYTERLAB = f'>={JUPYTERLAB_VERSION},<{JUPYTERLAB_NEXT_MAJOR_VERSION}.0.0a0'
2424
REQUIRED_JUPYTER_SERVER = '>=1.1.2'
25-
REQUIRED_PYTHON = '>=3.8,<3.13.0a0'
25+
REQUIRED_PYTHON = '>=3.9,<3.13.0a0'

0 commit comments

Comments
 (0)