multi-arch-same-package-calls-pycompile
This Multi-Arch: same
package uses pycompile
or
py3compile
in the specified maintainer script.
py{,3}compile
are tools used to byte-compile Python source
files. It is typically run on installation of Debian packages that ship
Python modules. However, they do not support installing several
architectures of the same package and this is not Multi-Arch: safe.
If the contents of the package is not architecture dependent, it should usually be made binary-all.
If the contents of the package is architecture dependent, it should
usually get a dependency on the Python interpreter for the same
architecture. This is a dependency in the form of python3
, not
an architecture-qualified dependency such as python3:any
(which
can be fulfilled by the Python interpreter for any architecture).
If a dependency on the Python interpreter for the same architecture
exists (usually generated by dh-python
), the
Multi-Arch: same
has no effect and should be dropped.
For more information please consult:
- the pycompile(1) manual page
- the py3compile(1) manual page
- Bug#812228
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.112.0
release tag in our Git
repository.
You can find the detection logic for this version at commit 131c0f4. For merge requests, please use the latest version in the Lintian check scripts.
Visibility: warning