OpenStack library utils
Go to file
John L. Villalovos 464a73d87f Prevent deprecation error messages from pkg_resources
Currently pkg_resources is creating this warning message:

    RuntimeWarning: You have iterated over the result of
    pkg_resources.parse_version. This is a legacy behavior which is
    inconsistent with the new version class introduced in setuptools
    8.0.  In most cases, conversion to a tuple is unnecessary. For
    comparison of versions, sort the Version instances directly. If
    you have another use case requiring the tuple, please file a bug
    with the setuptools project describing that need.

Get the major_version directly from the version string passed in
instead so that the warning message is not raised.

Depends-on: https://review.openstack.org/554318/

Closes-Bug: #1706394
Change-Id: I663ed579c27e48a34fdd9565037110a43e5b5587
(cherry picked from commit 47b22208ea)
2018-03-19 18:46:57 +00:00
doc/source rearrange existing documentation to fit the new standard layout 2017-07-01 21:05:49 +09:00
oslo_utils Prevent deprecation error messages from pkg_resources 2018-03-19 18:46:57 +00:00
releasenotes switch from oslosphinx to openstackdocstheme 2017-07-01 21:05:48 +09:00
tools Add Constraints support 2016-12-20 14:20:50 +11:00
.coveragerc Fix coverage configuration and execution 2015-10-08 17:23:20 -04:00
.gitignore Add reno for release notes management 2016-11-01 15:43:10 +08:00
.gitreview Update .gitreview for stable/pike 2017-07-28 21:05:38 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.testr.conf Get the tox tests working 2014-06-18 23:12:10 -04:00
CONTRIBUTING.rst Fix wrong bug tracking link 2015-11-16 23:17:37 +08:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 23:34:11 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
README.rst Update URLs in documents according to document migration 2017-07-12 23:34:11 +08:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
requirements.txt Updated from global requirements 2017-05-23 11:58:19 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-12 23:34:11 +08:00
setup.py Updated from global requirements 2017-03-03 00:03:24 +00:00
test-requirements.txt Updated from global requirements 2017-08-11 19:04:27 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/pike 2017-07-28 21:05:39 +00: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.