Open opoplawski opened 1 year ago
Which version of Pillow are you using? Pillow dropped support for Qt5 in Pillow 10 so we've been seeing issues with other ETS projects when pip-installing Pillow into Qt5-based environments.
This is indeed with pillow 10.0.0. Is this a show stopper for pyface and Qt5 then?
The only work-around is to restrict to pillow < 10.0 or not use Pillow at all.
Pillow is nominally an optional dependency of Pyface for Qt backends - it should work without Pillow installed as long as the application code avoids using PILImage
. I expect that if you test in an environment without Pillow installed, tests should pass (the PILImage
tests will be skipped).
The end-user failure mode if pillow 10 is installed will only occur if a PILImage
is created by application code. PILImage
is a fairly new class, so it's probably not in a lot of downstream code.
I don't know if this helps your use-case.
Thank you, that's very helpful information.
Environment
OS: Fedora Rawhide Python version: 3.12 Toolkit: Qt 5.15.10 Qt API: PyQt5 5.15.9
Description
Steps to Reproduce