#904999 autodep8: python autopkg tests are always run for all supported python versions

#904999#5
Date:
2018-07-30 10:37:50 UTC
From:
To:
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

 - looking at upper dependencies on python/python3 in the python-foo
   packages, and only try to run within that range.  That works for
   binary extensions, but not for binary-indep packages.

Not sure about the best approach to address that.

#904999#10
Date:
2022-04-13 16:57:40 UTC
From:
To:
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

#904999#15
Date:
2022-04-13 17:57:42 UTC
From:
To:
Hi Matthias (2018.07.30_06:37:50_-0400)

I think this bug was fixed in 0.20, except for the :any issue that mjt
describes.