From 8c57e09090740372e802658243610cf0d2be6e9c Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 3 Dec 2024 21:29:16 +0000 Subject: [PATCH 1/3] Bump Python version used on CI --- .github/workflows/build.yml | 2 +- .github/workflows/buildutils.yml | 2 +- pyproject.toml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe53675e48..74dadffd63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/buildutils.yml b/.github/workflows/buildutils.yml index 433f005d4f..6bee9df42f 100644 --- a/.github/workflows/buildutils.yml +++ b/.github/workflows/buildutils.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 2a2b798b1d..ea18b9e259 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 From 93075a93aa845c2dc7c102d63639d16385b0f238 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 3 Dec 2024 21:39:12 +0000 Subject: [PATCH 2/3] more bumps --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74dadffd63..f3001b7c10 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 From 03619496f24e437e40c3d3b161dac4d2f1432b51 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 3 Dec 2024 22:17:11 +0000 Subject: [PATCH 3/3] remove architecture --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3001b7c10..8f36140033 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: