From ceb6f53ec0fd0b2ef755f494a4a09b4bb1416975 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Tue, 2 Apr 2024 01:32:17 +0200 Subject: [PATCH] CI: various improvements (#462) * CI: test with Python 3.12, drop Python 3.7 * CI: upgrade `actions/checkout` to v4 * CI: upgrade `actions/setup-python` to v5 --- .github/workflows/ci.yml | 6 +++--- setup.py | 3 ++- tox.ini | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0954e5f..da9ae18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,14 +11,14 @@ 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 - uses: actions/checkout@v3 + 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 }} 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-*