Lintian tag: package-installs-python-pycache-dir

Type: error

Description (from lintian-explain-tags)

The package installs a __pycache__ directory, which is normally only used
to store compiled Python source files. Compiled Python source files must
not be included in the package, instead they should be generated at
installation time in the postinst.

Note this tag is issues even if the directory is empty.

Please refer to Documentation (Section 3.7) in the Debian Python Policy
0.12.0.0 documentation for details.

Visibility: error
Show-Always: no
Check: languages/python

Affected packages

source version binary tag type tag information count
llvm-toolchain-14 1:14.0.6-20 llvm-14-tools/1:14.0.6-20 error package-installs-python-pycache-dir [usr/lib/llvm-14/build/utils/lit/lit/__pycache__/] 8
llvm-toolchain-14 1:14.0.6-20 llvm-14-tools/1:14.0.6-20 error package-installs-python-pycache-dir [usr/lib/llvm-14/build/utils/lit/lit/formats/__pycache__/] 8
llvm-toolchain-14 1:14.0.6-20 llvm-14-tools/1:14.0.6-20 error package-installs-python-pycache-dir [usr/lib/llvm-14/build/utils/lit/lit/llvm/__pycache__/] 8
llvm-toolchain-16 1:16.0.6-27 llvm-16-tools/1:16.0.6-27+b1 error package-installs-python-pycache-dir [usr/lib/llvm-16/build/utils/lit/lit/llvm/__pycache__/] 8
llvm-toolchain-16 1:16.0.6-27 llvm-16-tools/1:16.0.6-27+b1 error package-installs-python-pycache-dir [usr/lib/llvm-16/build/utils/lit/lit/__pycache__/] 8
llvm-toolchain-16 1:16.0.6-27 llvm-16-tools/1:16.0.6-27+b1 error package-installs-python-pycache-dir [usr/lib/llvm-16/build/utils/lit/lit/formats/__pycache__/] 8
llvm-toolchain-17 1:17.0.6-18 llvm-17-tools/1:17.0.6-18 error package-installs-python-pycache-dir [usr/lib/llvm-17/build/utils/lit/lit/formats/__pycache__/] 8
llvm-toolchain-17 1:17.0.6-18 llvm-17-tools/1:17.0.6-18 error package-installs-python-pycache-dir [usr/lib/llvm-17/build/utils/lit/lit/llvm/__pycache__/] 8
llvm-toolchain-17 1:17.0.6-18 llvm-17-tools/1:17.0.6-18 error package-installs-python-pycache-dir [usr/lib/llvm-17/build/utils/lit/lit/__pycache__/] 8
llvm-toolchain-18 1:18.1.8-12 llvm-18-tools/1:18.1.8-12 error package-installs-python-pycache-dir [usr/lib/llvm-18/build/utils/lit/lit/llvm/__pycache__/] 7
llvm-toolchain-18 1:18.1.8-12 llvm-18-tools/1:18.1.8-12 error package-installs-python-pycache-dir [usr/lib/llvm-18/build/utils/lit/lit/formats/__pycache__/] 7
llvm-toolchain-18 1:18.1.8-12 llvm-18-tools/1:18.1.8-12 error package-installs-python-pycache-dir [usr/lib/llvm-18/build/utils/lit/lit/__pycache__/] 7
llvm-toolchain-19 1:19.1.1-1 llvm-19-tools/1:19.1.1-1 error package-installs-python-pycache-dir [usr/lib/llvm-19/build/utils/lit/lit/formats/__pycache__/] 8
llvm-toolchain-19 1:19.1.1-1 llvm-19-tools/1:19.1.1-1 error package-installs-python-pycache-dir [usr/lib/llvm-19/build/utils/lit/lit/llvm/__pycache__/] 8
llvm-toolchain-19 1:19.1.1-1 llvm-19-tools/1:19.1.1-1 error package-installs-python-pycache-dir [usr/lib/llvm-19/build/utils/lit/lit/__pycache__/] 8
llvm-toolchain-snapshot 1:20~++20240921071058+b177a9b6efb6-1~exp1 llvm-20-tools/1:20~++20240921071058+b177a9b6efb6-1~exp1 error package-installs-python-pycache-dir [usr/lib/llvm-20/build/utils/lit/lit/__pycache__/] 8
llvm-toolchain-snapshot 1:20~++20240921071058+b177a9b6efb6-1~exp1 llvm-20-tools/1:20~++20240921071058+b177a9b6efb6-1~exp1 error package-installs-python-pycache-dir [usr/lib/llvm-20/build/utils/lit/lit/llvm/__pycache__/] 8
llvm-toolchain-snapshot 1:20~++20240921071058+b177a9b6efb6-1~exp1 llvm-20-tools/1:20~++20240921071058+b177a9b6efb6-1~exp1 error package-installs-python-pycache-dir [usr/lib/llvm-20/build/utils/lit/lit/formats/__pycache__/] 8
nautilus-scripts-manager 2.0-1.1 nautilus-scripts-manager/2.0-1.1 error package-installs-python-pycache-dir [usr/lib/python3.9/dist-packages/__pycache__/] 1
python-xarray 2024.09.0-1 python-xarray-doc/2024.09.0-1 error package-installs-python-pycache-dir [usr/share/doc/python-xarray-doc/html/_static/__pycache__/] 1