Draft: *: Replace distutils.LooseVersion with packaging
distutils has deprecated its version classes: https://github.com/pypa/distutils/pull/75
In addition, there are errors when comparing versions in bookworm.
It can be replaced with packaging.version and packaging.specifiers: https://github.com/pypa/packaging/blob/main/docs/specifiers.rst
Tests:
-
Run functional tests for affected apps.
-
Downgrade firewalld to older versions, and trigger force upgrade. Confirm that it is successful.
I only tested firewalld directly, but I believe the other apps should work the same.
Signed-off-by: James Valleroy jvalleroy@mailbox.org
Edited by James Valleroy