From 1f431cfa410c98868ff655c2f84986a10b91f4dc Mon Sep 17 00:00:00 2001 From: Andrii Ieroshenko Date: Wed, 18 Sep 2024 09:49:16 -0700 Subject: [PATCH] Add support for Python 3.12, update versions of github actions (#548) * Add support for Python 3.12 * update actions/upload-artifact to v4 * update actions/checkout to v4 --- .github/workflows/build.yml | 10 +++++----- .github/workflows/check-release.yml | 4 ++-- .github/workflows/e2e-tests.yml | 4 ++-- pyproject.toml | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9aa1286d5..9d94938f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Base Setup uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 @@ -58,7 +58,7 @@ jobs: pip uninstall -y "jupyter_scheduler" jupyterlab - name: Upload extension packages - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: extension-artifacts path: dist/jupyter_scheduler* @@ -70,13 +70,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.9' architecture: 'x64' - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: extension-artifacts - name: Install and Test diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index 5d2575f22..702e56cc1 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -15,14 +15,14 @@ jobs: check_release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 - name: Check Release uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Upload Distributions - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: jupyter-scheduler-releaser-dist-${{ github.run_number }} path: .jupyter_releaser_checkout/dist diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 90a001636..8b21047cc 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Base Setup uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 @@ -65,7 +65,7 @@ jobs: - name: Upload Playwright Test report if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: jupyter_scheduler-playwright-tests-linux path: | diff --git a/pyproject.toml b/pyproject.toml index b2f33d917..ddbb7475b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] dependencies = [ "jupyter_server>=1.6,<3",