Your message dated Tue, 04 Feb 2014 16:05:54 +0000
with message-id <[email protected]>
and subject line Bug#736242: fixed in pillow 2.3.0-1
has caused the Debian Bug report #736242,
regarding autopkgtest fails: Tests/test_file_webp.py:31:
assert_image_equal(image, target) failed - got different content
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
736242: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736242
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pillow
Version: 2.2.1-3
Severity: serious
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch
Hi doko,
The autopkgtest fails with the new webp. I think that you need to use
the same webp versions to generate and read the image for
assert_image_equal to work.
I've added support for using a just-built webp file and made the
autopkgtest use it. You might want to do something different.
* Support a webp file in $ADTTMP in the testsuite, and generate it in the
autopktests.
Thanks for considering the patch.
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty-proposed'), (500, 'trusty')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13.0-4-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru pillow-2.2.1/debian/patches/generate-webp-file pillow-2.2.1/debian/patches/generate-webp-file
--- pillow-2.2.1/debian/patches/generate-webp-file 1970-01-01 01:00:00.000000000 +0100
+++ pillow-2.2.1/debian/patches/generate-webp-file 2014-01-21 11:36:07.000000000 +0000
@@ -0,0 +1,24 @@
+Index: b/Tests/test_file_webp.py
+===================================================================
+--- a/Tests/test_file_webp.py
++++ b/Tests/test_file_webp.py
+@@ -1,6 +1,7 @@
+ from tester import *
+
+ from PIL import Image
++import os
+
+ try:
+ from PIL import _webp
+@@ -27,7 +28,11 @@
+ assert_no_exception(lambda: image.getdata())
+
+ # generated with: dwebp -ppm ../../Images/lena.webp -o lena_webp_bits.ppm
+- target = Image.open('Tests/images/lena_webp_bits.ppm')
++ if 'ADTTMP' in os.environ:
++ target = Image.open(os.path.join(os.environ['ADTTMP'], 'lena_webp.ppm'))
++ else:
++ target = Image.open('Tests/images/lena_webp_bits.ppm')
++
+ assert_image_equal(image, target)
+
diff -Nru pillow-2.2.1/debian/patches/series pillow-2.2.1/debian/patches/series
--- pillow-2.2.1/debian/patches/series 2013-12-16 12:02:17.000000000 +0000
+++ pillow-2.2.1/debian/patches/series 2014-01-20 17:48:59.000000000 +0000
@@ -2,3 +2,4 @@
toplevel-setup.py
freetype-includes.diff
lcms2.diff
+generate-webp-file
diff -Nru pillow-2.2.1/debian/tests/control pillow-2.2.1/debian/tests/control
--- pillow-2.2.1/debian/tests/control 2013-12-16 11:52:16.000000000 +0000
+++ pillow-2.2.1/debian/tests/control 2014-01-21 11:12:11.000000000 +0000
@@ -2,4 +2,4 @@
Depends: @
Tests: upstream-py2 upstream-py3
-Depends: @
+Depends: @, webp
diff -Nru pillow-2.2.1/debian/tests/upstream-py2 pillow-2.2.1/debian/tests/upstream-py2
--- pillow-2.2.1/debian/tests/upstream-py2 2013-12-16 11:52:16.000000000 +0000
+++ pillow-2.2.1/debian/tests/upstream-py2 2014-01-21 11:56:05.000000000 +0000
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
+dwebp -ppm Images/lena.webp -o $ADTTMP/lena_webp.ppm 2>&1
python Tests/run.py --installed
diff -Nru pillow-2.2.1/debian/tests/upstream-py3 pillow-2.2.1/debian/tests/upstream-py3
--- pillow-2.2.1/debian/tests/upstream-py3 2013-12-16 11:52:16.000000000 +0000
+++ pillow-2.2.1/debian/tests/upstream-py3 2014-01-21 11:56:10.000000000 +0000
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
+dwebp -ppm Images/lena.webp -o $ADTTMP/lena_webp.ppm 2>&1
python3 Tests/run.py --installed
--- End Message ---
--- Begin Message ---
Source: pillow
Source-Version: 2.3.0-1
We believe that the bug you reported is fixed in the latest version of
pillow, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated pillow package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 04 Feb 2014 15:02:06 +0100
Source: pillow
Binary: python-pil python-pil-dbg python-pil.imagetk python-pil.imagetk-dbg
python-sane python-sane-dbg python3-pil python3-pil-dbg python3-pil.imagetk
python3-pil.imagetk-dbg python3-sane python3-sane-dbg python-pil-doc
python-imaging
Architecture: source all amd64
Version: 2.3.0-1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
python-imaging - Python Imaging Library compatibility layer
python-pil - Python Imaging Library (Pillow fork)
python-pil-dbg - Python Imaging Library (debug extension)
python-pil-doc - Examples for the Python Imaging Library
python-pil.imagetk - Python Imaging Library - ImageTk Module (Pillow fork)
python-pil.imagetk-dbg - Python Imaging Library - ImageTk Module (debug
extension)
python-sane - Python Imaging Library - SANE interface (Pillow fork)
python-sane-dbg - Python Imaging Library - SANE interface (debug extension)
python3-pil - Python Imaging Library (Python3)
python3-pil-dbg - Python Imaging Library (Python3 debug extension)
python3-pil.imagetk - Python Imaging Library - ImageTk Module (Python3)
python3-pil.imagetk-dbg - Python Imaging Library - ImageTk Module (Python3
debug extension)
python3-sane - Python Imaging Library - SANE interface (Python3)
python3-sane-dbg - Python Imaging Library - SANE interface (Python3 debug
extension)
Closes: 736242 737425
Changes:
pillow (2.3.0-1) unstable; urgency=medium
.
* New upstream version.
* Don't ship the color profiles in the source and disable the tests
using the profiles. Closes: #737425.
* Support a webp file in $ADTTMP in the testsuite, and generate it in the
autopktests. Closes: #736242.
Checksums-Sha1:
58b5278b31d9c2262725880642c82a7f4728d8d7 2052 pillow_2.3.0-1.dsc
efccc57c4c3e2d7b5ef30e46101a360456afd40f 2197082 pillow_2.3.0.orig.tar.gz
0c9c2cbfb5cf3eabffb2bed1a38795c25886b569 12668 pillow_2.3.0-1.debian.tar.xz
914103951bbaf10d3b452eb3c4329c9e2f612b41 18318 python-pil-doc_2.3.0-1_all.deb
362afe11cbe094bd65cc63ef7e96ef8ac31eecce 9262 python-imaging_2.3.0-1_all.deb
5b7669d1258791440ac5117cc90146fd6d6a1b58 284366 python-pil_2.3.0-1_amd64.deb
3000dc39e78a85cf0471054494efe50fd9ffb4e0 396578
python-pil-dbg_2.3.0-1_amd64.deb
4ddf53a8022651d34f50cca17278b0f1bb7ddd2f 12856
python-pil.imagetk_2.3.0-1_amd64.deb
69af7c72c9d472d86b422c6edd8ab45366f6fc51 13060
python-pil.imagetk-dbg_2.3.0-1_amd64.deb
e59f5e4f2dee42365911f5d3f0976a58f7c970da 23908 python-sane_2.3.0-1_amd64.deb
009aefc473aba679517157e6be8e7c447f5babe5 28466
python-sane-dbg_2.3.0-1_amd64.deb
65299202a7ac0df64d74786cc8d82b806ec42cd4 286098 python3-pil_2.3.0-1_amd64.deb
4a1688ac82b7be59e5eeef7ab76c29e71e734ade 418718
python3-pil-dbg_2.3.0-1_amd64.deb
4bb38d3d7a7e796faeba2d8f6de425126ebe9019 12896
python3-pil.imagetk_2.3.0-1_amd64.deb
a3d4b85661792ba3ab262b91b60a5672b0e5d7ee 13184
python3-pil.imagetk-dbg_2.3.0-1_amd64.deb
4f76d31656677a28a12a2ea4f8ae0f2e2d1fb773 19628 python3-sane_2.3.0-1_amd64.deb
480664d828d6e4015f9b88ca96a4a5818d696d56 30866
python3-sane-dbg_2.3.0-1_amd64.deb
Checksums-Sha256:
644abb9800b024897d0f5e9255619a9c9193473c8a65f103333d738d641dc19e 2052
pillow_2.3.0-1.dsc
a85361f99cdc8d6d12c44716b648754ee2a903937b87e74a55c3425c901d94de 2197082
pillow_2.3.0.orig.tar.gz
03aff2425f459727e0b792d8a5b6622a41ebdd4604342b50ae4af55676da9e6f 12668
pillow_2.3.0-1.debian.tar.xz
3c006b37068257cce42019a4706637220e4e95fe925bac7c70b45d3cb2e604ad 18318
python-pil-doc_2.3.0-1_all.deb
056c9bc4f5efe04773248621221e9a380c2df9b7dbe9db91c95078e6c8d16da4 9262
python-imaging_2.3.0-1_all.deb
8806242c206b1e341dfdceb09da5daaf1e031bf4784ef848844aa96b95a9c6ea 284366
python-pil_2.3.0-1_amd64.deb
7141dd76d6fbe4c5dd0b57da5d49ce48e8df4f7664c73ff156572b36f8d326ab 396578
python-pil-dbg_2.3.0-1_amd64.deb
9cee73235699eb0be9e351ac30ec55fb057155d831a83b40c2772c8852a20c37 12856
python-pil.imagetk_2.3.0-1_amd64.deb
b5b4a9c89e976bcc03e6ffaf64798ec8b0f985e1c159fbadb2fab704c65ec86d 13060
python-pil.imagetk-dbg_2.3.0-1_amd64.deb
341d5317a43c862d8436c6ebc559909f5a2729de0b00a8f23d3765c775d14eb8 23908
python-sane_2.3.0-1_amd64.deb
1b71be7ee720217b2ae0fa8c10fda97329aebc6f373a3bf89a31263aa63803d0 28466
python-sane-dbg_2.3.0-1_amd64.deb
68d2f8dad04e6f563d0633b091f2513cbcd066d5710e0bbae6983a92bcf85667 286098
python3-pil_2.3.0-1_amd64.deb
3d6f4a2b8a32d8277e8fa2636512e3f676469b2a2668ac5eed01cea15b6cd395 418718
python3-pil-dbg_2.3.0-1_amd64.deb
b23450a53aa424e10645834a458a277b0fc872a87686ddf7db3a9b6f4aacfbde 12896
python3-pil.imagetk_2.3.0-1_amd64.deb
a47a0dc05c74817d5b0d264a49605e73b48d234951ad78be7ea50c9329edcfd4 13184
python3-pil.imagetk-dbg_2.3.0-1_amd64.deb
5bd99895263325f70bff0252d4dbf7039c2b2e5c0b9eeaead0d9e4701ab70dfc 19628
python3-sane_2.3.0-1_amd64.deb
730228273cff2b56191376d2aea01649e50d94e367f5880231cdfdb9e30ace50 30866
python3-sane-dbg_2.3.0-1_amd64.deb
Files:
54725bd1101e51687d34e6717a9ad532 2052 python optional pillow_2.3.0-1.dsc
80f039823ae3bc6a7773cbdbfc78a01c 2197082 python optional
pillow_2.3.0.orig.tar.gz
00b3596182e77ca92c827078f4a20f37 12668 python optional
pillow_2.3.0-1.debian.tar.xz
e78bf9c36c34dd064fbab9074a0e6252 18318 doc optional
python-pil-doc_2.3.0-1_all.deb
d3deceb36533623217373e231ae46045 9262 python optional
python-imaging_2.3.0-1_all.deb
97b19dd75adeafba9a3616f9bc6bf1e6 284366 python optional
python-pil_2.3.0-1_amd64.deb
1a412521f7ea3ff372d49ff7144d2f9a 396578 debug extra
python-pil-dbg_2.3.0-1_amd64.deb
2dc80020645a3a957f36fc0d6f721692 12856 python optional
python-pil.imagetk_2.3.0-1_amd64.deb
5ad103aa111adf973feb892c5c76e16b 13060 debug extra
python-pil.imagetk-dbg_2.3.0-1_amd64.deb
5d5b79f8adeb3bf9678c6b41146edb23 23908 python optional
python-sane_2.3.0-1_amd64.deb
993e2d857509855a12cc38c6915b1ea7 28466 debug extra
python-sane-dbg_2.3.0-1_amd64.deb
85c250301f05dcd543defd0150c34361 286098 python optional
python3-pil_2.3.0-1_amd64.deb
d5fb386f51e111530158b988b52373e4 418718 debug extra
python3-pil-dbg_2.3.0-1_amd64.deb
27793678b4dc47e4f2509abd8457b99f 12896 python optional
python3-pil.imagetk_2.3.0-1_amd64.deb
c382672a8e7b9a243323eeda9ba80ebf 13184 debug extra
python3-pil.imagetk-dbg_2.3.0-1_amd64.deb
2c655eb305fc15218cd85a85843d8c4d 19628 python optional
python3-sane_2.3.0-1_amd64.deb
7a59654a6cf69aa7381582f37eabf8ee 30866 debug extra
python3-sane-dbg_2.3.0-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEARECAAYFAlLxC4oACgkQStlRaw+TLJzl4wCguQ0tyQLfx8lwsKBKA3QJ9KpU
mXgAnjBpIAaAU0/ycfY462UTF5juf8+m
=+jOE
-----END PGP SIGNATURE-----
--- End Message ---