Lintian Reports

E python-script-but-no-python-dep

Packages with Python scripts should depend on the package python. Those with scripts that specify a specific version of Python must depend, recommend or suggest on that version of Python (exactly).

For example, if a script in the package uses #!/usr/bin/python, the package needs a dependency on python. If a script uses #!/usr/bin/python2.6, the package needs a dependency on python2.6. A dependency on python (>= 2.6) is not correct, since later versions of Python may not provide the /usr/bin/python2.6 binary.

If you are using debhelper, adding ${python3:Depends} or ${python:Depends} to the Depends field and ensuring dh_python2 or dh_python3 are run during the build should take care of adding the correct dependency.

In some cases a weaker relationship, such as Suggests or Recommends, will be more appropriate.

Visibility: error

Check: scripts

These source packages in the archive trigger the tag.