Lintian ReportsBETA

duplicate-p3dist-override

dh_python3 has an override mechanism (debian/py3dist-overrides) that lets you specify different prerequisites for particular Python imports.

debian/py3dist-overrides is mainly used for Python programs that use GObject introspection, since dh_python3 cannot yet detect that the packages gir1.2-- map to Python imports, so overrides are needed.

When the same import appears twice in the file, the information from the first one is used but all the others are discarded. That can lead to missing prerequisites.

An example of a second line that gets ignored:

gi.repository.Gst gir1.2-gst-plugins-base-1.0
gi.repository.Gst gir1.2-gstreamer-1.0

An example of a double dependency that gets kept:

gi.repository.Gst gir1.2-gst-plugins-base-1.0, gir1.2-gstreamer-1.0

For more information please consult:

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.114.0 release tag in our Git repository.

You can find the detection logic for this version at commit ea05801. For merge requests, please use the latest version in the Lintian check languages/python/dist-overrides.

Visibility: error

Found no packages in the archive that triggered the tag.