Source: willow
Version: 1.4-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20230726 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args="{interpreter} runtests.py"
> I: pybuild base:240: python3.11 runtests.py
> .................../<<PKGBUILDDIR>>/willow/image.py:141:
> RemovedInWillow05Warning: Image.original_format has been renamed to
> Image.format_name.
> warnings.warn(
> ............x..........ExE.................xx........x..............................x..x....
> ======================================================================
> ERROR: test_resize (tests.test_pillow.TestPillowOperations.test_resize)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/test_pillow.py", line 29, in test_resize
> resized_image = self.image.resize((100, 75))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/willow/plugins/pillow.py", line 66, in resize
> return PillowImage(image.resize(size, _PIL_Image().ANTIALIAS))
> ^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
>
> ======================================================================
> ERROR: test_resize_transparent_gif
> (tests.test_pillow.TestPillowOperations.test_resize_transparent_gif)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/tests/test_pillow.py", line 157, in
> test_resize_transparent_gif
> resized_image = image.resize((100, 75))
> ^^^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/willow/plugins/pillow.py", line 66, in resize
> return PillowImage(image.resize(size, _PIL_Image().ANTIALIAS))
> ^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
>
> ----------------------------------------------------------------------
> Ran 111 tests in 13.681s
>
> FAILED (errors=2, expected failures=7)
> E: pybuild pybuild:388: test: plugin custom failed with: exit code=1:
> python3.11 runtests.py
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11
> --system=custom "--test-args={interpreter} runtests.py" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/07/26/willow_1.4-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.