OpenStack library utils
Go to file
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>
2020-07-05 14:17:47 -04:00
doc Fix pygments style 2020-06-04 14:08:43 +08:00
oslo_utils versionutils: switch from pkg_resources to packaging 2020-07-05 14:17:47 -04:00
releasenotes Fix pygments style 2020-06-04 14:08:43 +08:00
tools Stop to use the __future__ module. 2020-06-02 20:41:31 +02:00
.coveragerc Fix coverage configuration and execution 2015-10-08 17:23:20 -04:00
.gitignore Ignore releasenote cache within git untracked files 2019-12-20 11:17:33 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:27:54 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.stestr.conf Switch to stestr 2018-07-04 08:28:15 +07:00
.zuul.yaml [ussuri][goal] Drop python 2.7 support and testing 2020-02-03 18:30:47 +01:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:34:51 +02:00
HACKING.rst Update hacking version 2019-02-13 14:28:34 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 05:35:56 +00:00
bindep.txt Add bindep.txt file to prevent fallback to generic list 2018-03-19 17:28:53 -05:00
lower-constraints.txt versionutils: switch from pkg_resources to packaging 2020-07-05 14:17:47 -04:00
requirements.txt versionutils: switch from pkg_resources to packaging 2020-07-05 14:17:47 -04:00
setup.cfg Remove translation sections from setup.cfg 2020-05-15 11:28:52 +08:00
setup.py remove outdated header 2020-02-10 18:35:07 +01:00
test-requirements.txt Fix hacking min version to 3.0.1 2020-05-22 10:42:58 +08:00
tox.ini Update hacking for Python3 2020-04-02 15:10:56 +02:00

README.rst

Team and repository tags

image

oslo.utils

Latest Version

Downloads

The oslo.utils library provides support for common utility type functions, such as encoding, exception handling, string manipulation, and time handling.