Dear Maintainer, dh-python is synced to Ubuntu and therefore Ubuntu inherits the manually generated cpython3_fallback file. This file appears to be generated on Debian, as expected. However, if it is generated on Ubuntu, the contents will differ. I've attached the Ubuntu delta (it is not a patch) just for reference. Would you object to generating cpython3_fallback on the fly during the package build? If so I'm happy to submit a patch. Thanks for considering. Corey
Generating these files requires network so it cannot be enabled on Debian. Dunno what policy Ubuntu has in that regard but I added --ubuntu option for ./pydist/generate_fallback_list.py - let me know if Contents URL needs an update, BTW
Ah, I didn't realize it needed network. Thanks for checking.
Hi Corey (2023.02.24_20:48:54_+0000) really like the idea of pulling apt-file data during a build. (There was some misunderstanding about exactly how dh-python does this, of course...) I'd say the main concerns are: 1. Guarantees of Contents.gz availability. 2. Guarantees of reproducibility. I guess we'd have to merge between all configured apt suites. But there is no guarantee that a build chroot will have a correctly configured apt. Some other options we could consider: 1. Including Ubuntu data when we build pydist. Assuming there are only additions, not different packages providing the same python module... 2. Building a separate Ubuntu pydist, and selecting the appropriate one to install, at build time. SR