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

Paul Gevers elbrus at debian.org
Sun Jul 29 17:33:27 BST 2018


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.

> 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.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20180729/69f133a5/attachment.sig>


More information about the Debian-med-packaging mailing list