pilkit autopkg tests fail with pillow 10.0.0

Bug #2028289 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pilkit (Debian)
Fix Released
Unknown
pilkit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1040633:

Package: src:pilkit
Version: 2.0-4
Severity: serious
Tags: sid trixie

see
https://ci.debian.net/data/autopkgtest/testing/amd64/p/pilkit/35498777/log.gz

  41s ======================================================================
  41s ERROR: Test that the upscale argument works as expected.
  41s ----------------------------------------------------------------------
  41s Traceback (most recent call last):
  41s File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
  41s self.test(*self.arg)
  41s File
"/tmp/autopkgtest-lxc.6edwevyp/downtmp/autopkgtest_tmp/tests/test_processors.py",
line 97, in test_upscale
  41s img2 = P(500, 500, upscale=True).process(img)
  41s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  41s File "/usr/lib/python3/dist-packages/pilkit/processors/resize.py", line
24, in process
  41s img = img.resize((self.width, self.height), Image.ANTIALIAS)
  41s ^^^^^^^^^^^^^^^
  41s AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
  41s
  41s ----------------------------------------------------------------------
  41s Ran 26 tests in 0.048s
  41s
  41s FAILED (errors=6)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pilkit - 2.0-4ubuntu1

---------------
pilkit (2.0-4ubuntu1) mantic; urgency=medium

  * Fix autopkgtest failure due to use of deprecated Image.ANTIALIAS
    (LP: #2028289)

 -- Dan Bungert <email address hidden> Thu, 20 Jul 2023 10:48:35 -0600

Changed in pilkit (Ubuntu):
status: New → Fix Released
Changed in pilkit (Debian):
importance: Undecided → Unknown
Changed in pilkit (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.