From ca6224aa4edc2e176a0ae7a55aabd5f418b8c972 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Fri, 5 Jan 2024 11:28:56 +0100 Subject: [PATCH 1/3] CI: test with Python 3.12, drop Python 3.7 --- .github/workflows/ci.yml | 2 +- setup.py | 3 ++- tox.ini | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0954e5f..c131524 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: matrix: # Only test supported Python versions: # https://endoflife.date/python - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.9"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9"] steps: - name: Checkout code diff --git a/setup.py b/setup.py index 175ffb6..9bebd31 100644 --- a/setup.py +++ b/setup.py @@ -42,8 +42,9 @@ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: Implementation :: PyPy', + 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: Implementation :: CPython', + 'Programming Language :: Python :: Implementation :: PyPy', ] setup_deps = [ diff --git a/tox.ini b/tox.ini index 4fcb2f4..5654ec1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] skipdist = true -envlist = py{37,38,39,310,311,py39}-test +envlist = py{38,39,310,311,312,py39}-test [pytest] norecursedirs = .eggs build tmp* vips-* From 065d87e68002bd6ab844591b58b8adf105285b0f Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Fri, 5 Jan 2024 11:29:29 +0100 Subject: [PATCH 2/3] CI: upgrade `actions/checkout` to v4 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c131524..82077b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 From bc58dbd70e27778966072a1af36baad8baaf323c Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Fri, 5 Jan 2024 11:29:49 +0100 Subject: [PATCH 3/3] CI: upgrade `actions/setup-python` to v5 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82077b8..da9ae18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }}