[Debian-med-packaging] Bug#889615: python-tifffile: broken autopkgtest, broken package

Steve Langasek steve.langasek at canonical.com
Sun Feb 4 23:46:29 UTC 2018


Source: tifffile
Version: 20170914-1
Severity: serious
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu bionic autopkgtest

Dear Andreas,

Since the upload of tifffile 20170914-1, the autopkgtests for this package
hav been consistently failing in both Debian and Ubuntu.  While the test
failure is (unfortunately) not considered a blocker for Debian testing,
autopkgtest regressions are blockers for Ubuntu releases.

The failure shows that the module simply fails a python import test,
indicating that the package has missing dependencies; therefore I am marking
this bug 'serious'.

autopkgtest [19:30:42]: test python-import: [-----------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest-lxc.1pxu7uus/downtmp/build.LXT/src/debian/tests/python-import", line 5, in <module>
    import tifffile
  File "/usr/lib/python2.7/dist-packages/tifffile.py", line 313, in <module>
    import enum
ImportError: No module named enum
autopkgtest [19:30:42]: test python-import: -----------------------]
autopkgtest [19:30:42]: test python-import:  - - - - - - - - - - results - - - - - - - - - -
python-import        FAIL non-zero exit status 1

  https://ci.debian.net/packages/t/tifffile/unstable/amd64/

After installing the python-enum34 package, the autopkgtest still fails with
another import error about concurrent.futures (package:
python-concurrent.futures).

And if all of these undeclared dependencies are installed, the test still
fails:

$ ./debian/tests/python-import 
2017.09.14
Traceback (most recent call last):
  File "./debian/tests/python-import", line 16, in <module>
    for page in tif:
TypeError: 'TiffFile' object is not iterable
$

This part looks like it might be a bug in the test rather than the package,
but without being familiar with the package it's hard for me to know.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20180204/ee58baa8/attachment.sig>


More information about the Debian-med-packaging mailing list