Skip to content

Update Pillow version constraint to support Python 3.14 #480

@ben-bernanke

Description

@ben-bernanke

Problem

The current Pillow constraint pillow = "^10.2.0" in pyproject.toml prevents installation on Python 3.14.

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).

Proposed Solution

Relax the Pillow upper bound constraint:

# Current
pillow = "^10.2.0"  # >=10.2.0, <11.0.0

# Proposed (option A - recommended)
pillow = ">=10.2.0"

# Proposed (option B - conservative)
pillow = ">=10.2.0,<13.0.0"

Environment

  • Python 3.14
  • Windows 11
  • Pillow 12.x (only available wheel for Python 3.14)

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions