Hi Jonathan,

On Sun Sep 1, 2024 at 1:06 AM CEST, Jonathan Kamens wrote:
I had to step away from working on apt-listchanges <https://salsa.debian.org/debian/apt-listchanges/> for quite a while (nearly a year), and upon stepping back into it today and pushing some changes to Salsa, I discovered that the build pipeline—which is configured outside my Salsa project so as far as I know I am unable to modify it—is failing.

It is possible that your build dependencies are wrong. You should make sure that it is possible to run the "clean" target while only satifying the dependencies you've listed in Build-Depends, ignoring Build-Depends-{Arch,Indep}. This is explained in Policy, section 7.7.

The "build source" job you've linked to recently started only installing packages from Build-Depends in order to speed up the step (see <https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/537>), so it is likely that this change revealed the issue to you only now. Sorry for the breakage!

If you're unsure whether a dependency should be in Build-Depends or Build-Depends-Indep and you don't want to spend time figuring it out, I'd just put it in Build-Depends. But in your specific case you have to put python3-pytest and python3-yaml in Build-Depends since they're required in the setup.py script.

Bye :)

Attachment: signature.asc
Description: PGP signature

Reply via email to