On Mon, 30 Jul 2018 12:37:50 +0200 Matthias Klose <d...@debian.org> wrote:
Package: autodep8
Version: 0.13
Severity: important
The python autopkg tests are always run for all supported python versions,
ignoring, if a module is available for all available versions. This is the case
for extensions only built for the default python/python3 version. The tests
should be only run for all versions, if
- the b-d's contain python-all/python3-all python-all-dev/python3-all-dev
AFAICS, this is - at least in parts - due to Build-Depends: python3-dev:ANY
suffix.
https://salsa.debian.org/ci-team/autodep8/-/blob/master/support/python/generate#L67
grep-dctrl -n -sBuild-Depends -FBuild-Depends -w python3-dev -a '!'
-FBuild-Depends -w python3-all-dev debian/control
this fails to find python3-dev:any but finds python3-dev without
the suffix.
This has another interesting implication due to another
issue in grep-dctrl: it finds commented-out parts of
d/control too. Like this:
Build-Depends:
# python3-all-dev, -- does not work
python3-dev
thinking it has dependency on pyhon3-all-dev while in fact
it does not.
And yet more, it fails to realize there are other types of
build dependencies, like Build-Depends-Arch and Build-Depends-Indep.
*sigh* :)
Thanks,
/mjt