Bump Python version used on CI (#7528)

* Bump Python version used on CI

* more bumps

* remove architecture
This commit is contained in:
Jeremy Tuloup 2024-12-03 23:32:16 +01:00 committed by GitHub
parent 7724c41ff1
commit 32fa1c5d89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 10 deletions

View File

@ -38,7 +38,7 @@ jobs:
fail-fast: false
matrix:
# used by the jupyterlab/maintainer-tools base-setup action
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout
uses: actions/checkout@v4
@ -121,18 +121,18 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-12, windows-latest]
python: ['3.8', '3.11', '3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
python: ['3.9', '3.11', '3.13']
include:
- python: '3.8'
- python: '3.9'
dist: 'notebook*.tar.gz'
- python: '3.11'
dist: 'notebook*.whl'
- python: '3.12'
- python: '3.13'
dist: 'notebook*.whl'
- os: windows-latest
py_cmd: python
- os: macos-12
- os: macos-latest
py_cmd: python3
- os: ubuntu-latest
py_cmd: python
@ -141,7 +141,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: 'x64'
allow-prereleases: true
- uses: actions/download-artifact@v4
with:

View File

@ -74,7 +74,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'
architecture: 'x64'
- name: Install dependencies

View File

@ -23,11 +23,11 @@ classifiers = [
"Intended Audience :: System Administrators",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
@ -228,7 +228,7 @@ source = ["notebook"]
[tool.mypy]
files = "notebook"
python_version = "3.8"
python_version = "3.9"
strict = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true