Bug#831864: lintian: Should warn about python packages which ship coverage information
Hi,
Axel Beckert wrote:
> I don't know too much about doing coverage computations in Python, but
> this looks wrong twice (i.e. for both packages):
>
> Unpacking python-rows (0.2.0-1) over (0.1.1-3) ...
> dpkg: error processing archive /var/cache/apt/archives/python-rows_0.2.0-1_all.deb (--unpack):
> trying to overwrite '/usr/lib/python2.7/dist-packages/.coverage', which is also in package python-jwt 1.4.0-1
There are now two bug reports against those two packages:
https://bugs.debian.org/831867
https://bugs.debian.org/831868
> IMHO lintian should throw an "Error" level warning if a file matching
> /usr/lib/python*/dist-packages/.coverage exists in a binary package.
In the bug reports mentioned above there's also the idea mentioned
that this might be fixed via the python packaging helpers. It still
might be a good idea to implement a lintian tag for this to be able to
identify this issue in already built packages.
Regards, Axel
--
,''`. | Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Reply to: