Bug#889615: python-tifffile: broken autopkgtest, broken package

2018-02-05 Thread Sascha Steinbiss
Hi again,

[...]
>> I wonder whether you have an idea how this can be fixed.
>
> Unfortunately I'm a bit swamped with work and (more so) RL stuff at the
> moment... maybe this has time until the sprint later this week?

Actually this was rather easy to address. I pushed some code that should
fix it.

Cheers
Sascha



Bug#889615: python-tifffile: broken autopkgtest, broken package

2018-02-05 Thread Sascha Steinbiss
Hi Andreas,

>> $ ./debian/tests/python-import 
>> 2017.09.14
>> Traceback (most recent call last):
>>   File "./debian/tests/python-import", line 16, in 
>> 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.
> 
> I cared for the missing dependencied (+ upgrade to latest upstream) in
> Git.  I can confirm that the remaining issue above persists.  Sascha,
> since you wrote the test, I wonder whether you have an idea how this can
> be fixed.

Unfortunately I'm a bit swamped with work and (more so) RL stuff at the
moment... maybe this has time until the sprint later this week?
Will look at it though.

Cheers
Sascha



Bug#889615: python-tifffile: broken autopkgtest, broken package

2018-02-05 Thread Andreas Tille
Hi Sascha,

On Sun, Feb 04, 2018 at 03:46:29PM -0800, Steve Langasek wrote:
> 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 
> 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.

I cared for the missing dependencied (+ upgrade to latest upstream) in
Git.  I can confirm that the remaining issue above persists.  Sascha,
since you wrote the test, I wonder whether you have an idea how this can
be fixed.

Kind regards

   Andreas.

-- 
http://fam-tille.de



Bug#889615: python-tifffile: broken autopkgtest, broken package

2018-02-04 Thread Steve Langasek
Source: tifffile
Version: 20170914-1
Severity: serious
User: ubuntu-de...@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 
import tifffile
  File "/usr/lib/python2.7/dist-packages/tifffile.py", line 313, in 
import enum
ImportError: No module named enum
autopkgtest [19:30:42]: test python-import: ---]
autopkgtest [19:30:42]: test python-import:  - - - - - - - - - - results - - - 
- - - - - - -
python-importFAIL 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 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: PGP signature