Fails to start after upgrading pillow to 10.0.0: grozin@bilbo ~ $ pysol.py Traceback (most recent call last): File "/usr/bin/pysol.py", line 36, in <module> from pysollib.main import main # noqa: E402,I202 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pysollib/main.py", line 30, in <module> from pysollib.app import Application File "/usr/lib/python3.11/site-packages/pysollib/app.py", line 32, in <module> from pysollib.actions import PysolMenubar File "/usr/lib/python3.11/site-packages/pysollib/actions.py", line 28, in <module> from pysollib.help import help_about, help_html File "/usr/lib/python3.11/site-packages/pysollib/help.py", line 29, in <module> from pysollib.pysoltk import HTMLViewer File "/usr/lib/python3.11/site-packages/pysollib/pysoltk.py", line 28, in <module> from pysollib.ui.tktile.tkutil import * # noqa: F401,F403 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/pysollib/ui/tktile/tkutil.py", line 250, in <module> class PIL_Image(ImageTk.PhotoImage): File "/usr/lib/python3.11/site-packages/pysollib/ui/tktile/tkutil.py", line 291, in PIL_Image def resize(self, xf, yf, resample=Image.ANTIALIAS): ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' grozin@bilbo ~ $
https://github.com/shlomif/PySolFC/commit/75a3000ca1301e15d5fdbc6bae6df8dbf1cac066
I'll backport it now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e257ac22ca19d6f9594eb9a6ccde4401dd11c6 commit 43e257ac22ca19d6f9594eb9a6ccde4401dd11c6 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-07-09 08:05:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-09 08:08:42 +0000 games-board/pysolfc: fix compat w/ pillow 10 Closes: https://bugs.gentoo.org/910081 Signed-off-by: Sam James <sam@gentoo.org> .../pysolfc/files/pysolfc-2.20.1-pillow-10.patch | 138 +++++++++++++++++++++ games-board/pysolfc/pysolfc-2.20.1-r1.ebuild | 72 +++++++++++ 2 files changed, 210 insertions(+)
Now that pillow 10 has gone stable, pysolfc is broken. Whatever fix was claimed here does not appear to have made it to the stable version.
(In reply to Karl Hakimian from comment #4) > Now that pillow 10 has gone stable, pysolfc is broken. Whatever fix was > claimed here does not appear to have made it to the stable version. Perhaps you could try pysolfc-2.20.1-r1 to confirm it's OK? I'll request stabling for it anyway.
(In reply to Sam James from comment #5) > (In reply to Karl Hakimian from comment #4) > > Now that pillow 10 has gone stable, pysolfc is broken. Whatever fix was > > claimed here does not appear to have made it to the stable version. > > Perhaps you could try pysolfc-2.20.1-r1 to confirm it's OK? > > I'll request stabling for it anyway. Oh wait, pysolfc has no stable keywords. So your package.accept_keywords entry is likely wrong.
OK. I misunderstood on two points. I thought the change was to pillow, not pysolfc and you are right, my keywords file was wrong. Thanks and sorry for unnecessary report.
(In reply to Karl Hakimian from comment #7) > OK. I misunderstood on two points. I thought the change was to pillow, not > pysolfc and you are right, my keywords file was wrong. > > Thanks and sorry for unnecessary report. No worries, glad you're sorted!