#943366 please add an error for any (build) dependency or autopkg test dependency on python/python-dev

#943366#5
Date:
2019-10-23 21:51:55 UTC
From:
To:
bullseye will ship without the unversioned python binary and packages, details
at https://lists.debian.org/debian-python/2019/10/msg00082.html.  While we aim
for removing Python2 entirely, this is probably too ambitious, and we should at
least remove the unversioned python packages.  Please could lintian generate
errors messages for any (build) dependency or autopkg test dependency on
python/python-dev. Maybe even look for python shebangs in binary packages and
sources?

#943366#12
Date:
2019-10-24 11:17:04 UTC
From:
To:
severity 943366 wishlist
thanks

Matthias Klose wrote:

This sounds like two separate (albeit related) issues; can you kindly
split this bug to match?


Regards,

#943366#17
Date:
2019-10-24 12:09:34 UTC
From:
To:
just to be clear, is the distinction about the (build) dependencies and the
autopkg tests, or about any dependencies and the shebangs?

#943366#22
Date:
2019-10-24 16:57:03 UTC
From:
To:
Matthias Klose wrote:

The latter.


Regards,

#943366#27
Date:
2019-10-24 17:53:37 UTC
From:
To:
Hi Chris,

Please note that python checks are available in checks/python (which I
converted recently to the standard shebang facility) and in
checks/files/python (which I recently split off from checks/files,
except for tags and tests).

The 'files' facility, which iterates over $info->sorted_index is used
in both. The checks may even be combined in the future.

Kind regards,
Felix Lechner