Bug#1017916: lintian: false positive: runtime-test-file-uses-supported-python-versions-without-test-depends does not expand @builddeps@
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Bug#1017916: lintian: false positive: runtime-test-file-uses-supported-python-versions-without-test-depends does not expand @builddeps@
- From: Simon McVittie <smcv@debian.org>
- Date: Mon, 22 Aug 2022 14:09:07 +0100
- Message-id: <YwN/82tdJgn504Th@momentum.pseudorandom.co.uk>
- Reply-to: Simon McVittie <smcv@debian.org>, 1017916@bugs.debian.org
Package: lintian
Version: 2.115.2
Severity: normal
src:pysdl2 has python3-all in its Build-Depends, and an autopkgtest
that is listed in d/tests/control with "Depends: @builddeps@" and
invokes py3versions -s.
Expected result: Lintian sees that the test has a dependency on
python3-all via @builddeps@, and does not emit a warning.
Actual result: Lintian flags this with
> runtime-test-file-uses-supported-python-versions-without-test-depends py3versions -s [debian/tests/upstream:9]
I think this probably implies that Lintian doesn't expand @builddeps@
before checking whether python3-all is a dependency.
smcv
Reply to: