Skip to content

fix compat with python3-pil >= 10.0

Sébastien Noel requested to merge twolife/game-data-packager:doom into master
Traceback (most recent call last):
  File "/usr/games/game-data-packager", line 9, in <module>
    game_data_packager.command_line.run_command_line()
  File "/usr/share/games/game-data-packager/game_data_packager/command_line.py", line 387, in run_command_line
    task.run_command_line(parsed)
  File "/usr/share/games/game-data-packager/game_data_packager/build.py", line 1788, in run_command_line
    pkgs = self.build_packages(ready,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/games/game-data-packager/game_data_packager/build.py", line 2193, in build_packages
    self.__fill_dest_dir(per_package_state)
  File "/usr/share/games/game-data-packager/game_data_packager/build.py", line 1524, in __fill_dest_dir
    self.fill_extra_files(per_package_state)
  File "/usr/share/games/game-data-packager/game_data_packager/games/doom_common.py", line 191, in fill_extra_files
    im.thumbnail(canvas, Image.ANTIALIAS)
                         ^^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants

Merge request reports

Loading