diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f119e39..f9d76d8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,7 @@ on: jobs: build-release: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest permissions: # id-token=write is required for pypa/gh-action-pypi-publish, and the PyPI # project needs to be configured to trust this workflow. @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: install build package run: | diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a5fb1a9..4211115 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,7 +24,7 @@ on: jobs: test: - runs-on: ubuntu-22.04 + runs-on: "${{ matrix.runs-on || 'ubuntu-latest' }}" strategy: fail-fast: false @@ -33,12 +33,15 @@ jobs: # oldest supported python and jupyterhub version - python-version: "3.8" pip-install-spec: "jupyterhub==2.3.0 sqlalchemy==1.*" + runs-on: ubuntu-22.04 - python-version: "3.9" pip-install-spec: "jupyterhub==2.* sqlalchemy==1.*" - python-version: "3.10" pip-install-spec: "jupyterhub==3.*" - python-version: "3.11" pip-install-spec: "jupyterhub==4.*" + - python-version: "3.12" + pip-install-spec: "jupyterhub==5.*" # latest version of python and jupyterhub (including pre-releases) - python-version: "3.x" @@ -48,7 +51,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: "18" + node-version: "lts/*" - uses: actions/setup-python@v5 with: python-version: "${{ matrix.python-version }}" diff --git a/pyproject.toml b/pyproject.toml index 961661d..6c88993 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ target_version = [ "py39", "py310", "py311", + "py312", ]