Bug#1099545: hugin-tools: hugin's Python3.12 cache files are not cleared on Python3.13 upgrades

Andreas Metzler ametzler at bebt.de
Wed Mar 5 17:30:46 GMT 2025


On 2025-03-04 Alexandre Detiste <alexandre.detiste at gmail.com> wrote:
> Package: hugin-tools
> Version: 2024.0.1+dfsg-1+b1
> Severity: normal

> Dear Maintainer,

> I've notice that the upgrade of Python to 3.13
> and removal of Python 3.12 will left two Python 3.12 cache files behind
> in /usr/share/hugin/data/plugins-templates/__pycache__/

> Greetings

> Alexandre


> root at antec:~# cruft | grep -v debputy
> cruft report: mar 04 mar 2025 21:22:45
> ---- missing: dpkg ----
> ---- unexplained: / ----
>         /usr/share/hugin/data/plugins-templates/__pycache__/dual_use.cpython-312.pyc
>         /usr/share/hugin/data/plugins-templates/__pycache__/plugin_skeleton.cpython-312.pyc

> end.

> root at antec:~# ls /usr/share/hugin/data/plugins-templates/__pycache__/ -l
> total 16
> -rw-r--r-- 1 root root 2187 21 déc 14:25 dual_use.cpython-312.pyc
> -rw-r--r-- 1 root root 2189  3 fév 14:59 dual_use.cpython-313.pyc
> -rw-r--r-- 1 root root  571 21 déc 14:25 plugin_skeleton.cpython-312.pyc
> -rw-r--r-- 1 root root  573  3 fév 14:59 plugin_skeleton.cpython-313.pyc
[...]

Hello,

The py-files for both of these are part of hugin-data (a dependency of
hugin-tools). Are the python cache files removed when uninstalling
_this_ package?

cu Andreas



More information about the Pkg-phototools-devel mailing list