Package: lintian Version: 2.104.0 Control: affects -1 python3-gpg This is a peculiar error message: lintian seems confused about what the interpreter is for an example python script shipped in python3-gpg: $ lintian python3-gpg_1.14.0-1+b2_amd64.deb | head -n1 P: python3-gpg: example-unusual-interpreter usr/share/doc/python3-gpg/examples/assuan.py #!python $ head -n1 /usr/share/doc/python3-gpg/examples/assuan.py #!/usr/bin/env python $ lintian's warning completely elides the "/usr/bin/env" part of the interpreter, which makes it look like lintian doesn't know what the actual interpreter is. If that's the case, then lintian is confused. If lintian is in fact trying to complain about "python" vs "python3" (if we're trying to ensure that we don't have anything pointing to "python"), that is a sufficiently important, specific situation that it should offer a dedicated tag for it. Either way, the warning message shouldn't omit /usr/bin/env if it's present in the file in question, as the mismatch between the warning and the file is a distraction from the intent of the message. fwiw, i don't know whether upstream would change these examples to have a python3 shebang line, and i'm not inclined to ask them to do so -- i've got bigger fish to fry, and technically /usr/bin/python is supposed to be used for things that are both py3- and py2-compatible (which hopefully these examples all are). Thanks for maintaining lintian! --dkg
Attachment:
signature.asc
Description: PGP signature