Skip to content

Commit dc6a587

Browse files
whtskyclaude
andcommitted
Release v0.3.1: update changelog, bump version, add PyPI publish workflow
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e16dc53 commit dc6a587

3 files changed

Lines changed: 43 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Publish to PyPI
2+
on:
3+
push:
4+
tags:
5+
- "v*"
6+
jobs:
7+
build:
8+
name: Build distribution
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- name: Set up Python
13+
uses: actions/setup-python@v5
14+
with:
15+
python-version: "3.13"
16+
- run: pip install poetry
17+
- run: poetry build
18+
- uses: actions/upload-artifact@v4
19+
with:
20+
name: dist
21+
path: dist/
22+
publish:
23+
name: Publish to PyPI
24+
needs: build
25+
runs-on: ubuntu-latest
26+
environment:
27+
name: pypi
28+
url: https://pypi.org/p/pixelmatch
29+
permissions:
30+
id-token: write
31+
steps:
32+
- uses: actions/download-artifact@v4
33+
with:
34+
name: dist
35+
path: dist/
36+
- name: Publish to PyPI
37+
uses: pypa/gh-action-pypi-publish@release/v1

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ Compares two images, writes the output diff and returns the number of mismatched
8989

9090
## Changelog
9191

92+
### v0.3.1
93+
94+
- fix: remove use of deprecated Pillow function [#178](https://github.com/whtsky/pixelmatch-py/pull/178) ([@brianhelba](https://github.com/brianhelba))
95+
- chore: drop EOL Python versions (3.7-3.9), add support for 3.10-3.14 [#171](https://github.com/whtsky/pixelmatch-py/pull/171)
96+
9297
### v0.3.0
9398

9499
- feat: add fail_fast option [#144](https://github.com/whtsky/pixelmatch-py/pull/144)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pixelmatch"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
description = "A pixel-level image comparison library."
55
authors = ["Wu Haotian <whtsky@gmail.com>"]
66
license = "ISC"

0 commit comments

Comments
 (0)