Skip to content

Commit 8fae116

Browse files
committed
Add support for Python 3.13
1 parent 585bd6a commit 8fae116

File tree

4 files changed

+21
-12
lines changed

4 files changed

+21
-12
lines changed
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
Python,3.12,3.11,3.10,3.9,3.8,3.7,3.6,3.5
2-
Pillow >= 10.1,Yes,Yes,Yes,Yes,Yes,,,
3-
Pillow 10.0,,Yes,Yes,Yes,Yes,,,
4-
Pillow 9.3 - 9.5,,Yes,Yes,Yes,Yes,Yes,,
5-
Pillow 9.0 - 9.2,,,Yes,Yes,Yes,Yes,,
6-
Pillow 8.3.2 - 8.4,,,Yes,Yes,Yes,Yes,Yes,
7-
Pillow 8.0 - 8.3.1,,,,Yes,Yes,Yes,Yes,
8-
Pillow 7.0 - 7.2,,,,,Yes,Yes,Yes,Yes
1+
Python,3.13,3.12,3.11,3.10,3.9,3.8,3.7,3.6,3.5
2+
Pillow >= 11,Yes,Yes,Yes,Yes,Yes,Yes,,,
3+
Pillow >= 10.1,,Yes,Yes,Yes,Yes,Yes,,,
4+
Pillow 10.0,,,Yes,Yes,Yes,Yes,,,
5+
Pillow 9.3 - 9.5,,,Yes,Yes,Yes,Yes,Yes,,
6+
Pillow 9.0 - 9.2,,,,Yes,Yes,Yes,Yes,,
7+
Pillow 8.3.2 - 8.4,,,,Yes,Yes,Yes,Yes,Yes,
8+
Pillow 8.0 - 8.3.1,,,,,Yes,Yes,Yes,Yes,
9+
Pillow 7.0 - 7.2,,,,,,Yes,Yes,Yes,Yes

docs/releasenotes/11.0.0.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ TODO
6161
Other Changes
6262
=============
6363

64-
TODO
65-
^^^^
64+
Python 3.13
65+
^^^^^^^^^^^
6666

67-
TODO
67+
Pillow 10.4.0 had wheels built against Python 3.13 beta, available as a preview to help
68+
others prepare for 3.13, and to ensure Pillow could be used immediately at the release
69+
of 3.13.0 final (2024-10-01, :pep:`719`).
70+
71+
Pillow 11.0.0 now officially supports Python 3.13.

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3.11",
2828
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
2930
"Programming Language :: Python :: Implementation :: CPython",
3031
"Programming Language :: Python :: Implementation :: PyPy",
3132
"Topic :: Multimedia :: Graphics",
@@ -131,6 +132,9 @@ ignore = [
131132
known-first-party = ["PIL"]
132133
required-imports = ["from __future__ import annotations"]
133134

135+
[tool.pyproject-fmt]
136+
max_supported_python = "3.13"
137+
134138
[tool.pytest.ini_options]
135139
addopts = "-ra --color=yes"
136140
testpaths = ["Tests"]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires =
33
tox>=4.2
44
env_list =
55
lint
6-
py{py3, 312, 311, 310, 39, 38}
6+
py{py3, 313, 312, 311, 310, 39, 38}
77

88
[testenv]
99
deps =

0 commit comments

Comments
 (0)