Skip to content

[Bug]: Pillow 11.x breaks Gradio 3.x #312

@iwr-redmond

Description

@iwr-redmond

Checklist

  • The issue has not been resolved by following the troubleshooting guide
  • The issue exists on a clean installation of FooocusPlus
  • The issue exists in the current version of FooocusPlus
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

Dependency resolution breaks when pillow==11.0.0

Steps to reproduce the problem

  1. Fresh download of FooocusPlus on Linux
  2. pip install -r requirements_versions.txt

What should have happened?

Pillow will need to be downgraded to pillow<11.0.0 in requirements_versions.txt

What browsers do you use to access FooocusPlus?

Mozilla Firefox

Where are you running FooocusPlus?

Locally

What operating system are you using?

Ubuntu 24.04

Console logs

INFO: pip is looking at multiple versions of gradio to determine which version is compatible with other requirements. This could take a while.

The conflict is caused by:
    The user requested pillow==11.0.0
    diffusers 0.32.2 depends on Pillow
    gradio 3.43.2 depends on pillow<11.0 and >=8.0

Additionally, some packages in these conflicts have no matching distributions available for your environment:
    pillow

Additional information

Upstream requirements.txt file

Metadata

Metadata

Labels

bugSomething isn't working

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions