Doug Hellmann
c804ba7da6
versionutils: switch from pkg_resources to packaging
Importing pkg_resources has a side-effect of scanning the metadata of every installed python package. That is excessive overhead for a function that needs to compare two version strings. This change replaces pkg_resources with the packaging library, which is also used as the implementation for version parsing within setuptools and pkg_resources. Change-Id: Ic9bda0783d3664e1f518d513d81b3271028335fd Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Team and repository tags
oslo.utils
The oslo.utils library provides support for common utility type functions, such as encoding, exception handling, string manipulation, and time handling.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.utils/latest/
- Source: https://opendev.org/openstack/oslo.utils
- Bugs: https://bugs.launchpad.net/oslo.utils
- Release notes: https://docs.openstack.org/releasenotes/oslo.utils/
Description
Languages
Python
100%