From d9a8b9819407e9e5baa3a485c5ba8661b5064cad Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 00:46:18 +0000 Subject: [PATCH 1/2] Renovate: actions/checkout to 692973e --- .github/workflows/examples.yaml | 4 ++-- .github/workflows/paper.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/examples.yaml b/.github/workflows/examples.yaml index c7e43dcf..b4930854 100644 --- a/.github/workflows/examples.yaml +++ b/.github/workflows/examples.yaml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Set up python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Set up python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 diff --git a/.github/workflows/paper.yaml b/.github/workflows/paper.yaml index 497615ea..981cb6d2 100644 --- a/.github/workflows/paper.yaml +++ b/.github/workflows/paper.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Build draft PDF uses: openjournals/openjournals-draft-action@master From 1513e30535b3ed85bf490480581b5614ef137e42 Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Mon, 1 Jul 2024 10:01:41 +0100 Subject: [PATCH 2/2] Add `python==3.12` support (#229) --- .github/workflows/deploy.yaml | 2 +- .github/workflows/documentation.yaml | 2 +- .github/workflows/examples.yaml | 4 ++-- .github/workflows/test.yaml | 6 ++++-- pyproject.toml | 4 +++- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index b3478489..c3e039c7 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -20,4 +20,4 @@ jobs: - uses: paddyroddy/.github/actions/python/deployment@3135c318562994eafc62974821c6f80aa64b35da # v0 with: pyproject-toml: ./pyproject.toml - python-version: "3.11" + python-version: "3.12" diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index f0fedc77..e5292a7d 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -20,5 +20,5 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} project-directory: ./src/sleplet pyproject-toml: ./pyproject.toml - python-version: "3.11" + python-version: "3.12" template-directory: ./documentation diff --git a/.github/workflows/examples.yaml b/.github/workflows/examples.yaml index b4930854..65f71a84 100644 --- a/.github/workflows/examples.yaml +++ b/.github/workflows/examples.yaml @@ -24,7 +24,7 @@ jobs: - name: Set up python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 with: - python-version: "3.11" + python-version: "3.12" cache: pip cache-dependency-path: pyproject.toml @@ -49,7 +49,7 @@ jobs: - name: Set up python uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 with: - python-version: "3.11" + python-version: "3.12" cache: pip cache-dependency-path: pyproject.toml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bd685e2f..a2c0a7aa 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,6 +21,7 @@ jobs: python-version: - "3.10" - "3.11" + - "3.12" steps: # yamllint disable-line rule:line-length - uses: paddyroddy/.github/actions/python/tox@e59369bbd745ef1eae9b8327fba32a4f87ff13ca # v0 @@ -54,5 +55,6 @@ jobs: run-macos-latest-3.10,\ run-ubuntu-latest-3.10,\ run-macos-latest-3.11,\ - run-ubuntu-latest-3.11\ - " + run-ubuntu-latest-3.11,\ + run-macos-latest-3.12,\ + run-ubuntu-latest-3.12" diff --git a/pyproject.toml b/pyproject.toml index c6cb2faa..78a008d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,7 @@ classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Image Processing", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Scientific/Engineering :: Physics", @@ -211,6 +212,7 @@ legacy_tox_ini = """ python = 3.10: py310 3.11: py311 + 3.12: py312 [gh-actions:env] OS = @@ -224,5 +226,5 @@ legacy_tox_ini = """ pytest-cov [tox] - env_list = py{310,311}-{linux,macos} + env_list = py{310,311,312}-{linux,macos} """