Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1025164: lintian: missing-prerequisite-for-pyproject-backend tag needs to check Build-Depends-Indep too

23 views
Skip to first unread message

Scott Kitterman

unread,
Nov 30, 2022, 10:30:04 AM11/30/22
to
Package: lintian
Version: 2.115.3
Severity: normal
X-Debbugs-Cc: debian...@lists.debian.org

The missing-prerequisite-for-pyproject-backend check appears to only
look for the prerequisite packages in Build-Depends, but since they
aren't needed for clean, they could be in Build-Depends-Indep, leading
to false positives.

Scott K

Stuart Prescott

unread,
Nov 30, 2022, 10:40:04 PM11/30/22
to
Hi Scott,
I contemplated filing a similar the other day but in writing it up, I
realised that lintian was correct. Policy requires that the 'clean'
target be functional with only the Build-Depends (and Build-Conflicts)
satisfied, and pybuild + the build-backend dependencies are involved in
the cleaning step.

cheers
Stuart


--
Stuart Prescott http://www.nanonanonano.net/ stu...@nanonanonano.net
Debian Developer http://www.debian.org/ stu...@debian.org
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

Scott Kitterman

unread,
Nov 30, 2022, 11:20:04 PM11/30/22
to
On Wednesday, November 30, 2022 10:38:30 PM EST Stuart Prescott wrote:
> Hi Scott,
>
> On 01/12/2022 02:16, Scott Kitterman wrote:
> > Package: lintian
> > Version: 2.115.3
> > Severity: normal
> > X-Debbugs-Cc: debian...@lists.debian.org
> >
> > The missing-prerequisite-for-pyproject-backend check appears to only
> > look for the prerequisite packages in Build-Depends, but since they
> > aren't needed for clean, they could be in Build-Depends-Indep, leading
> > to false positives.
> >
> > Scott K
>
> I contemplated filing a similar the other day but in writing it up, I
> realised that lintian was correct. Policy requires that the 'clean'
> target be functional with only the Build-Depends (and Build-Conflicts)
> satisfied, and pybuild + the build-backend dependencies are involved in
> the cleaning step.

Not always. At least with the package I ran into this on, clean works fine
without them.

Scott K
signature.asc
0 new messages