Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,26 @@ on:

jobs:
build:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy3.10"
- "3.14"
os:
- ubuntu-latest
- windows-latest
include:
# pypy on windows has trouble building Pillow from source because
# how are you going to apt-get install -y zlib-dev libjpeg-dev
# when you're on Windows, eh?
- python-version: "pypy3.10"
os: ubuntu-latest

steps:
- name: Git clone
Expand All @@ -36,15 +43,10 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"

- name: Pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-pip-
cache: pip
cache-dependency-path: |
setup.py
tox.ini

- name: Install OS-level dependencies (Linux)
if: runner.os == 'Linux' && matrix.python-version == 'pypy3.10'
Expand All @@ -56,7 +58,7 @@ jobs:
python -m pip install -U pip
python -m pip install -U setuptools wheel
python -m pip install -U coverage
python -m pip install -e .[test]
python -m pip install -e '.[test]'

- name: Run tests
run: coverage run tests.py
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Changes
1.9.0 (unreleased)
------------------

- Drop Python 3.7 support.
- Add Python 3.14 support.

- Drop Python 3.7, 3.8 and 3.9 support.


1.8.0 (2024-10-09)
Expand Down
32 changes: 0 additions & 32 deletions appveyor.yml

This file was deleted.

5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,16 @@ def get_description():
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Multimedia :: Graphics',
],
python_requires=">=3.8",
python_requires=">=3.10",
py_modules=['imgdiff'],
zip_safe=False,
install_requires=['Pillow'],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py38,py39,py310,py311,py312,py313,pypy3
py310,py311,py312,py313,py314,pypy3

[testenv]
extras = test
Expand Down