ac791f7
Stop using deprecated pkg_resources Use packaging.version and importlib.metadata instead. Note that packaging.version only parses versions compatible with Python packaging (originally defined in PEP 440). https://packaging.python.org/en/latest/specifications/version-specifiers/ Fixes https://pagure.io/freeipa/issue/9676 Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>