diff --git a/.github/workflows/job.test.yml b/.github/workflows/job.test.yml index b67e048af..3b8fc298b 100644 --- a/.github/workflows/job.test.yml +++ b/.github/workflows/job.test.yml @@ -208,16 +208,16 @@ jobs: fail-fast: false matrix: os: ['ubuntu', 'macos', 'windows'] - python: ['3.8', '3.11'] + python: ['3.9', '3.12'] include: - - python: '3.8' - # Node 16 end-of-life: 2023-09-11 - nodejs: '>=16,<17.0.0.a0' + - python: '3.9' + # Node 18 end-of-life: 2025-04-30 + nodejs: '>=18,<19.0.0.a0' r: '>=4' lab: '>=4.1.0,<5' - python: '3.11' - # Node 18 end-of-life: 2025-04-30 - nodejs: '>=18,<19.0.0.a0' + # Node 20 end-of-life: 2026-04-30 + nodejs: '>=20,<21.0.0.a0' r: '>=4' lab: '>=4.1.0,<5' @@ -239,9 +239,9 @@ jobs: with: python-version: ${{ matrix.python }} environment-file: requirements/github-actions.yml - mamba-version: '*' channels: conda-forge,nodefaults channel-priority: true + miniforge-version: latest - name: List all packages run: conda list @@ -337,18 +337,18 @@ jobs: max-parallel: 3 matrix: os: ['ubuntu', 'macos', 'windows'] - python: ['3.8', '3.11', 'pypy-3.8'] + python: ['3.9', '3.12', 'pypy-3.9'] include: - - python: '3.8' + - python: '3.9' dist: 'jupyter*lsp*.whl' lab: '>=4.1.0,<5' - - python: '3.8' + - python: '3.9' dist: 'jupyter*lsp*.tar.gz' lab: '>=4.1.0,<5' - python: '3.11' dist: 'jupyter*lsp*.whl' lab: '>=4.1.0,<5' - - python: 'pypy-3.8' + - python: 'pypy-3.9' dist: 'jupyter*lsp*.tar.gz' lab: '>=4.1.0,<5' - os: 'windows' @@ -392,12 +392,12 @@ jobs: fail-fast: false matrix: os: [ubuntu] - python: ['3.8', '3.11'] + python: ['3.9', '3.12'] nodejs: ['20.x'] include: - - python: '3.8' + - python: '3.9' lab: '>=4.1.0,<5' - - python: '3.11' + - python: '3.12' lab: '>=4.1.0,<5' steps: - name: Install Python diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 19c718b36..0fbb143fb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,9 +31,9 @@ Thank you for all your contributions :heart: A development environment requires, at a minimum: -- `python >=3.8,<3.13.0a0` +- `python >=3.9,<3.13.0a0` - `jupyterlab >=4.1.0,<5.0.0a0` -- `nodejs >=18,!=19,!=21,<23` +- `nodejs >=20,!=21,!=23,<25` It is recommended to use a virtual environment (e.g. `virtualenv` or `conda env`) for development. diff --git a/README.md b/README.md index d88e08e35..d1929c2e0 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Use context menu on rows in the panel to filter out diagnostics or copy their me You will need to have both of the following installed: - JupyterLab >=4.1.0,<5.0.0a0 -- Python 3.8+ +- Python 3.9+ 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. diff --git a/binder/environment.yml b/binder/environment.yml index 27fa04297..3967610a8 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -6,12 +6,12 @@ channels: dependencies: # runtime dependencies - - python >=3.8,<3.13.0a0 + - python >=3.9,<3.13.0a0 - jupyterlab >=4.1.0,<5.0.0a0 - jupyter_server >=1.1.2 - notebook >=7 # build dependencies - - nodejs >=18,!=19,!=21,<23 + - nodejs >=20,!=21,!=23,<25 # for python language server (and development) - flake8 >=3.5 - pip diff --git a/versions.py b/versions.py index 0652c7d2c..f0f3c488e 100644 --- a/versions.py +++ b/versions.py @@ -22,4 +22,4 @@ JUPYTERLAB_NEXT_MAJOR_VERSION = int(JUPYTERLAB_VERSION.split('.')[0]) + 1 REQUIRED_JUPYTERLAB = f'>={JUPYTERLAB_VERSION},<{JUPYTERLAB_NEXT_MAJOR_VERSION}.0.0a0' REQUIRED_JUPYTER_SERVER = '>=1.1.2' -REQUIRED_PYTHON = '>=3.8,<3.13.0a0' +REQUIRED_PYTHON = '>=3.9,<3.13.0a0'