[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#961686: lintian: false positive: runtime-test-file-uses-supported-python-versions-without-python-all-build-depends



On Wednesday, May 27, 2020 6:11:51 PM EDT you wrote:
> Package: lintian
> Severity: normal
> 
> From lintian.debian.org, so I don't know the lintian version:
> 
> https://lintian.debian.org/sources/dkimpy/1.0.4-1.html
> 
> among other things it says:
> 
>  W
> runtime-test-file-uses-supported-python-versions-without-python-all-build-d
> epends debian/tests/py3 py3versions -sv (line 5)
> 
> There is py3versions -sv is debian/tests/py3, so that part of the check
> is correct, but the build-depends detection is not.  Here's
> debian/tests/control for dkimpy 1.0.4-1:
> 
> Tests: py3
> Depends: python3-all,
>          python3-authres,
>          python3-dnspython,
>          python3-nacl,
>          python3-pkg-resources,
>          @
> Restrictions: allow-stderr
> 
> So the check is wrong.

Same issue affects xml2rfc checks when run locally on Unstable:

W: xml2rfc source: runtime-test-file-uses-supported-python-versions-without-
python-all-build-depends debian/tests/run-pytest py3versions -s (line 14)

Here's debian/tests/control:

Tests: run-pytest
Depends: @, python3-all, fonts-noto-cjk, fonts-noto-core, fonts-noto-unhinted, 
python3-cairo, python3-dict2xml, python3-pypdf2, weasyprint
Restrictions: allow-stderr

Scott K

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: