Skip to content

Commit be293a9

Browse files
committed
Test against latest Python versions
Drop Python < 3.8. There are no actual code changes which means that it will still work on older Python versions but there is no guarantees in the future.
1 parent 24e0041 commit be293a9

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

.github/workflows/python.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@ on:
99
jobs:
1010
build:
1111

12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
strategy:
1414
max-parallel: 4
1515
matrix:
16-
python-version: ["3.11", "3.10", "3.9", "3.8", "3.7", "3.6"]
16+
python-version: ["3.13", "3.12", "3.11", "3.10", "3.9", "3.8"]
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v5
2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v6
2222
with:
2323
python-version: ${{ matrix.python-version }}
24+
cache: "pip"
2425
- name: Install Dependencies
2526
run: |
2627
python -m pip install --upgrade pip

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.DS_Store
66
.tox
77
.coverage
8+
.coverage.*
89
.vscode
910
MANIFEST
1011
build

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ def read(filepath):
3737
'Intended Audience :: Developers',
3838
'License :: OSI Approved :: BSD License',
3939
'Operating System :: OS Independent',
40-
'Programming Language :: Python :: 3.6',
41-
'Programming Language :: Python :: 3.7',
4240
'Programming Language :: Python :: 3.8',
4341
'Programming Language :: Python :: 3.9',
4442
'Programming Language :: Python :: 3.10',
4543
'Programming Language :: Python :: 3.11',
44+
'Programming Language :: Python :: 3.12',
45+
'Programming Language :: Python :: 3.13',
46+
'Programming Language :: Python :: 3.14',
4647
'Topic :: Utilities'
4748
],
4849
)

tox.ini

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[tox]
22
envlist =
3-
py{311,310,39,38}-pillow{10,9,8}
4-
py37-pillow{9,8,7}
5-
py36-pillow{8,7}
3+
py314-pillow11
4+
py3{13,12}-pillow{11,10}
5+
py311-pillow{11,10,9}
6+
py3{10,9}-pillow{10,9,8}
7+
py38-pillow{9,8,7}
68
coverage-report
79

810
[gh-actions]
@@ -12,7 +14,10 @@ python =
1214
3.8: py38
1315
3.9: py39
1416
3.10: py310
15-
3.11: py311, coverage-report
17+
3.11: py311
18+
3.12: py312
19+
3.13: py313, coverage-report
20+
3.14: py314
1621

1722
[testenv]
1823
setenv = COVERAGE_FILE=.coverage.{envname}
@@ -23,7 +28,8 @@ deps =
2328
pillow7: Pillow~=7.2.0
2429
pillow8: Pillow~=8.4.0
2530
pillow9: Pillow~=9.5.0
26-
pillow10: Pillow~=10.0.1
31+
pillow10: Pillow~=10.4.0
32+
pillow11: Pillow~=11.3.0
2733

2834

2935
[testenv:coverage-report]

0 commit comments

Comments
 (0)