OpenStack versioned objects library
Go to file
Sean McGinnis c95f0c8768 Handle TZ change in iso8601 >=0.1.12
The iso8601 lib introduced a change such that if running on python
3.2 or later it internally uses the python timezone information
instead of its own implementation. This does not change direct
date handling, but when converting this value there is a slight
difference where now python 2.x will show UTC times as "UTC", but
on python 3 they will end up with "UTC+00:00".

The to_primitive call for DateTime fields was doing an exact match
on "UTC" to determine whether to include "Z" in the resulting string.
This updates that handling to recognize either of the new values.

Change-Id: Iff2e5a5b056605fae59f2489cc7baa1fc2e3352f
Closes-bug: #1744160
(cherry picked from commit 9c4aefb8ea)
Signed-off-by: Matthew Thode <mthode@mthode.org>
2018-01-26 09:23:31 -05:00
doc Updated from global requirements 2017-12-21 17:18:24 +00:00
oslo_versionedobjects Handle TZ change in iso8601 >=0.1.12 2018-01-26 09:23:31 -05:00
playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode Migrate to zuulv3 - move legacy jobs to project 2017-10-16 08:40:11 +07:00
releasenotes Fix wrong indent of releasenotes 2018-01-03 07:46:22 +01:00
.coveragerc Fix coverage configuration and execution 2015-10-01 19:54:59 +00:00
.gitignore Add reno for release notes management 2016-11-03 14:43:46 +08:00
.gitreview Update .gitreview for stable/queens 2018-01-24 18:08:34 +00:00
.mailmap apply oslo-cookiecutter template 2015-02-02 15:08:43 -05:00
.testr.conf apply oslo-cookiecutter template 2015-02-02 15:08:43 -05:00
.zuul.yaml Zuul: add file extension to playbook path 2017-10-29 05:39:51 -07:00
CONTRIBUTING.rst rearrange existing documentation to fit the new standard layout 2017-07-01 21:02:49 +09:00
HACKING.rst Update URLs in documents according to document migration 2017-07-13 10:00:49 +08:00
LICENSE apply oslo-cookiecutter template 2015-02-02 15:08:43 -05:00
README.rst Update URLs in documents according to document migration 2017-07-13 10:00:49 +08:00
babel.cfg apply oslo-cookiecutter template 2015-02-02 15:08:43 -05:00
requirements.txt Updated from global requirements 2017-12-21 17:18:24 +00:00
setup.cfg Treat doc warnings as errors 2018-01-08 11:59:49 -06:00
setup.py Updated from global requirements 2017-03-03 00:03:27 +00:00
test-requirements.txt Add bandit to pep8 job 2017-12-26 18:56:35 +08:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/queens 2018-01-24 18:08:36 +00:00

README.rst

Team and repository tags

image

oslo.versionedobjects

Latest Version

Downloads

The oslo.versionedobjects library provides a generic versioned object model that is RPC-friendly, with inbuilt serialization, field typing, and remotable method calls. It can be used to define a data model within a project independent of external APIs or database schema for the purposes of providing upgrade compatibility across distributed services.