Skip to content

Commit 7321d36

Browse files
Backport PR #7528: Bump Python version used on CI (#7533)
Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
1 parent d1d232b commit 7321d36

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
fail-fast: false
3939
matrix:
4040
# used by the jupyterlab/maintainer-tools base-setup action
41-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
41+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
4242
steps:
4343
- name: Checkout
4444
uses: actions/checkout@v4
@@ -121,18 +121,18 @@ jobs:
121121
strategy:
122122
fail-fast: false
123123
matrix:
124-
os: [ubuntu-latest, macos-12, windows-latest]
125-
python: ['3.8', '3.11', '3.12']
124+
os: [ubuntu-latest, macos-latest, windows-latest]
125+
python: ['3.9', '3.11', '3.13']
126126
include:
127-
- python: '3.8'
127+
- python: '3.9'
128128
dist: 'notebook*.tar.gz'
129129
- python: '3.11'
130130
dist: 'notebook*.whl'
131-
- python: '3.12'
131+
- python: '3.13'
132132
dist: 'notebook*.whl'
133133
- os: windows-latest
134134
py_cmd: python
135-
- os: macos-12
135+
- os: macos-latest
136136
py_cmd: python3
137137
- os: ubuntu-latest
138138
py_cmd: python
@@ -141,7 +141,6 @@ jobs:
141141
uses: actions/setup-python@v5
142142
with:
143143
python-version: ${{ matrix.python }}
144-
architecture: 'x64'
145144
allow-prereleases: true
146145
- uses: actions/download-artifact@v4
147146
with:

.github/workflows/buildutils.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: Install Python
7575
uses: actions/setup-python@v5
7676
with:
77-
python-version: '3.9'
77+
python-version: '3.10'
7878
architecture: 'x64'
7979

8080
- name: Install dependencies

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ classifiers = [
2323
"Intended Audience :: System Administrators",
2424
"License :: OSI Approved :: BSD License",
2525
"Programming Language :: Python",
26-
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
2928
"Programming Language :: Python :: 3.11",
3029
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
3131
"Typing :: Typed",
3232
]
3333
dependencies = [
@@ -229,7 +229,7 @@ source = ["notebook"]
229229

230230
[tool.mypy]
231231
files = "notebook"
232-
python_version = "3.8"
232+
python_version = "3.9"
233233
strict = true
234234
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
235235
warn_unreachable = true

0 commit comments

Comments
 (0)