Skip to content
Open
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
1 change: 0 additions & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
matrix:
python-version: [
"pypy3.12",
"pypy3.11",
"3.15t",
"3.15",
"3.14t",
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
]
python-version: [
"pypy3.12",
"pypy3.11",
"3.15t",
"3.15",
"3.14t",
Expand Down
6 changes: 4 additions & 2 deletions Tests/test_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ def test(name: str, function: Callable[[str], str | None]) -> None:
assert function(name) == version
if name != "PIL":
if version is not None:
if name == "zlib" and features.check_feature("zlib_ng"):
version = re.sub(".zlib-ng$", "", version)
if name == "zlib":
# The zlib loaded at runtime may be zlib-ng,
# even if Pillow was not compiled against it
version = re.sub(r"\.zlib-ng$", "", version)
elif name == "libtiff":
version = re.sub("t$", "", version)
assert version is None or re.search(r"\d+(\.\d+)*$", version)
Expand Down
6 changes: 6 additions & 0 deletions docs/releasenotes/13.1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -314,3 +314,9 @@ More descriptive errors
Some errors raised by Pillow now describe the problem, rather than only saying
"image has wrong mode" or "images do not match". Code that matches on those messages
may need to be updated.

PyPy 3.11
^^^^^^^^^

Pillow is no longer tested on PyPy 3.11, and wheels are no longer built for it. Wheels
are still built for PyPy 3.12.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ include-package-data = true
dynamic.version = { attr = "PIL.__version__" }

[tool.cibuildwheel]
skip = "pp311-*"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might be able to drop this skip when the next cibuildwheel comes out, if they remove it from their defaults.

build-verbosity = 1
config-settings = "raqm=enable raqm=vendor fribidi=vendor imagequant=disable"
before-build = ".github/workflows/wheels-dependencies.sh"
Expand Down Expand Up @@ -139,8 +140,6 @@ select = [
"*-ios_*",
"*-win32",
"pp312*",
# NumPy's PyPy 3.11 wheels fail to import on PyPy 3.11 v8.0.0 for Windows
"pp311-win_amd64",
]
test-requires = []

Expand Down
Loading