Skip to content

Relax Pillow version constraint to support Python 3.14#489

Open
Br1an67 wants to merge 1 commit into
datalab-to:masterfrom
Br1an67:fix/relax-pillow-constraint
Open

Relax Pillow version constraint to support Python 3.14#489
Br1an67 wants to merge 1 commit into
datalab-to:masterfrom
Br1an67:fix/relax-pillow-constraint

Conversation

@Br1an67

@Br1an67 Br1an67 commented Mar 1, 2026

Copy link
Copy Markdown

Summary

Relax the Pillow version constraint from ^10.2.0 (which caps at <11.0.0) to >=10.2.0, allowing Pillow 11.x and 12.x to be installed.

Motivation

Python 3.14 only has pre-built wheels for Pillow 12.x, and Pillow 10.x fails to build from source on Windows due to C++ compatibility issues. This blocks downstream packages like marker-pdf from supporting Python 3.14 (see marker issue #942).

Changes

  • pyproject.toml: Changed pillow = "^10.2.0" to pillow = ">=10.2.0"

Fixes #480

Change pillow constraint from ^10.2.0 (which caps at <11.0.0) to >=10.2.0,
allowing Pillow 11.x and 12.x to be used.

Python 3.14 only has pre-built wheels for Pillow 12.x, and Pillow 10.x fails
to build from source on Windows due to C++ compatibility issues.

Fixes datalab-to#480
@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown
Contributor

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@Br1an67

Br1an67 commented Mar 1, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Pillow version constraint to support Python 3.14

1 participant