kas/detect-old-python-modules
1
0
Fork
You've already forked detect-old-python-modules
0
Warn about old python modules
  • Python 99.6%
  • Roff 0.4%
2025年06月14日 14:42:32 +02:00
img Initial commit 2024年05月10日 15:22:24 +02:00
src Re-license under European Union Public Licence v1.2+ 2025年06月14日 14:42:32 +02:00
EUPL-1.2 EN.txt Re-license under European Union Public Licence v1.2+ 2025年06月14日 14:42:32 +02:00
LICENSE Re-license under European Union Public Licence v1.2+ 2025年06月14日 14:42:32 +02:00
LICENSE-EUPL Re-license under European Union Public Licence v1.2+ 2025年06月14日 14:42:32 +02:00
LICENSE-EUPL-1.2 Re-license under European Union Public Licence v1.2+ 2025年06月14日 14:42:32 +02:00
README.md Add link to Codeberg 2024年05月10日 17:05:10 +02:00

🐍 Detect old python modules

This is a simple pacman hook into the ArchLinux python package to warn the user about old python modules installed from e.g. AUR when python sees a major upgrade — i.e., where the python minor version goes from N to N+2 (e.g. from python v3.11 to python v3.12):

Upon each python update the hook will query ALPM to see if any packages are owning /usr/lib/python3.N, where N is any N lower than the current sys.version_info.minor.

If the hook finds no old modules it will exit silently, otherwise it will print the name of all old modules to standard output.

The hook will never modify the filesystem or make changes to any packages.

Install

$AUR_HELPER -S detect-old-python-modules

AUR

Issues

Please report issues on Codeberg: