Bug ID | 1208151 |
---|---|
Summary | dnf does not ship python bytecode |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | All |
OS | openSUSE Tumbleweed |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | brunopitrus@hotmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
python3-dnf and related packages (python3-dnf-plugin*) do not ship pycache. As the programs are often run as root, this causes pycache files to get generated at runtime. This means that stale files remain on the system as the package gets uninstalled, or if the python version in factory gets upgraded. Another problem is that if dnf gets upgraded, stale cache files may get used as the timestamps of the files in the rpm package aren't predictable.