surya icon indicating copy to clipboard operation
surya copied to clipboard

Request: Update Pillow dependency to support version 11

Open bmjjr opened this issue 3 months ago • 1 comments

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

bmjjr avatar Sep 11 '25 22:09 bmjjr

See also #464

wkpark avatar Sep 25 '25 02:09 wkpark