Skip to content

Commit 7537ce8

Browse files
authored
Merge pull request #8181 from hugovk/add-3.13
Add support for Python 3.13
2 parents 674e8e0 + 40d3b2c commit 7537ce8

File tree

5 files changed

+22
-13
lines changed

5 files changed

+22
-13
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 - 10.4,,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
@@ -28,6 +28,7 @@ classifiers = [
2828
"Programming Language :: Python :: 3.10",
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
31+
"Programming Language :: Python :: 3.13",
3132
"Programming Language :: Python :: Implementation :: CPython",
3233
"Programming Language :: Python :: Implementation :: PyPy",
3334
"Topic :: Multimedia :: Graphics",
@@ -136,6 +137,9 @@ lint.isort.required-imports = [
136137
"from __future__ import annotations",
137138
]
138139

140+
[tool.pyproject-fmt]
141+
max_supported_python = "3.13"
142+
139143
[tool.pytest.ini_options]
140144
addopts = "-ra --color=yes"
141145
testpaths = [

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def get_version():
4343
ZLIB_ROOT = None
4444
FUZZING_BUILD = "LIB_FUZZING_ENGINE" in os.environ
4545

46-
if sys.platform == "win32" and sys.version_info >= (3, 13):
46+
if sys.platform == "win32" and sys.version_info >= (3, 14):
4747
import atexit
4848

4949
atexit.register(

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)