Skip to content

Commit ceb6f53

Browse files
authored
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
1 parent 2437e4d commit ceb6f53

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
matrix:
1212
# Only test supported Python versions:
1313
# https://endoflife.date/python
14-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.9"]
14+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9"]
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@
4242
'Programming Language :: Python :: 3.9',
4343
'Programming Language :: Python :: 3.10',
4444
'Programming Language :: Python :: 3.11',
45-
'Programming Language :: Python :: Implementation :: PyPy',
45+
'Programming Language :: Python :: 3.12',
4646
'Programming Language :: Python :: Implementation :: CPython',
47+
'Programming Language :: Python :: Implementation :: PyPy',
4748
]
4849

4950
setup_deps = [

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
skipdist = true
33

4-
envlist = py{37,38,39,310,311,py39}-test
4+
envlist = py{38,39,310,311,312,py39}-test
55

66
[pytest]
77
norecursedirs = .eggs build tmp* vips-*

0 commit comments

Comments
 (0)