Skip to content

Add support for Python 3.15#9624

Merged
radarhere merged 1 commit into
python-pillow:mainfrom
radarhere:python315
May 12, 2026
Merged

Add support for Python 3.15#9624
radarhere merged 1 commit into
python-pillow:mainfrom
radarhere:python315

Conversation

@radarhere
Copy link
Copy Markdown
Member

Pillow/setup.py

Lines 60 to 71 in 3ce6812

if sys.platform == "win32" and sys.version_info >= (3, 15):
import atexit
atexit.register(
lambda: warnings.warn(
f"Pillow {PILLOW_VERSION} does not support Python "
f"{sys.version_info.major}.{sys.version_info.minor} and does not provide "
"prebuilt Windows binaries. We do not recommend building from source on "
"Windows.",
RuntimeWarning,
)
)

Since Python 3.15 has now reached beta, we would like users to be able to install and use it, so let's increment the version check.

Copy link
Copy Markdown
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Thanks!

@radarhere radarhere merged commit 9289863 into python-pillow:main May 12, 2026
75 checks passed
@radarhere radarhere deleted the python315 branch May 12, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants