[Debian-med-packaging] Bug#896953: python-biom-format: autopkgtest fails with new version while succeeded in the past; autodep8 not ready yet

Matthias Klose doko at debian.org
Mon Jul 30 00:55:28 BST 2018


On 29.07.2018 18:33, Paul Gevers wrote:
> Dear doko,
> 
> On 28-07-18 04:54, Matthias Klose wrote:
>> the command1 and command2 tests try to import the biom_format module, which
>> doesn't exist.  I assume the name is derived from the egg name, and thus the
>> import fails.
>>
>> work around:
>> http://launchpadlibrarian.net/380438436/python-biom-format_2.1.6+dfsg-2build1_2.1.6+dfsg-2ubuntu1.diff.gz
> 
> You now also skip the "manually" added autopkgtests. Your Ubuntu diff
> should include a rename of debian/tests/control.autodep8 to
> debian/tests/control.

ok

>> why do you need these tests, when you already have the unittests?
> 
> I expected you to know the difference with unittests that only work at
> build time and autopkgtests that run on as installed packages, so I
> really wonder what you mean here. These tests catch failures when
> underlying dependencies break a package as you are well aware of. On top
> of that autodep8 may grow tests that aren't there yet. So if autodep8
> works for a package, it is good to use it, however, it doesn't for
> python-biom-format, because the package name doesn't match enough with
> the python module name.

I know the difference.  However what value have these automatically added tests
when you already have the unit tests in the autopkg tests?



More information about the Debian-med-packaging mailing list