Skip to content

Request: Update Pillow dependency to support version 11 #459

@bmjjr

Description

@bmjjr

Title: 📄 Request: Update Pillow dependency to support version 11

Is this a bug report or a feature request?
Feature Request / Maintenance

Describe the issue
Hello surya team, thank you for your work on this fantastic library!

I've encountered a dependency conflict when trying to integrate surya into my project's CI/CD pipeline (using GitHub Actions). The build fails because surya's dependency on Pillow is pinned to version 10, while other packages in my environment require version 11.

Details of the Conflict

The pyproject.toml in the surya repository specifies:

pillow = "^10.2.0"

This resolves to a version requirement of >=10.2.0 and <11.0.0.

In my project, I have other dependencies that require pillow>=11.2.1. When pip tries to resolve the environment, it fails with the following error because the requirements are mutually exclusive:

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Proposed Solution
Pillow version 11 has been out for some time and is becoming a common requirement for other libraries. Would it be possible to test surya for compatibility with Pillow 11 and update the dependency constraint in pyproject.toml?

A potential change could be:

pillow = ">=10.2.0"

Or if you prefer to set a new lower bound with the latest major version:

pillow = "^11.0.0"

This change would greatly improve compatibility with other modern packages in the Python ecosystem and resolve build failures for users like myself.

Thank you for your consideration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions