Hello community,
here is the log from the commit of package python-oslo.serialization for
openSUSE:Factory checked in at 2017-08-28 15:31:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.serialization (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.serialization.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.serialization"
Mon Aug 28 15:31:34 2017 rev:8 rq:514999 version:2.20.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-oslo.serialization/python-oslo.serialization.changes
2017-02-21 13:42:21.675904777 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.serialization.new/python-oslo.serialization.changes
2017-08-28 15:31:35.759029598 +0200
@@ -1,0 +2,16 @@
+Mon Aug 7 13:52:57 UTC 2017 - [email protected]
+
+- update to version 2.20.0
+ - rearrange existing documentation to fit the new standard layout
+ - Remove references to Python 3.4
+ - Revert "Explicitly raise ValueError in to_primitive"
+ - Don't iterate through addresses in netaddr.IPNetwork
+ - Update URLs in documents according to document migration
+ - [Fix gate]Update test requirement
+ - switch from oslosphinx to openstackdocstheme
+ - Update reno for stable/ocata
+ - Explicitly raise ValueError in to_primitive
+ - Updated from global requirements
+ - Use Sphinx 1.5 warning-is-error
+
+-------------------------------------------------------------------
Old:
----
oslo.serialization-2.16.0.tar.gz
New:
----
oslo.serialization-2.20.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.serialization.spec ++++++
--- /var/tmp/diff_new_pack.W8GPhA/_old 2017-08-28 15:31:36.542919394 +0200
+++ /var/tmp/diff_new_pack.W8GPhA/_new 2017-08-28 15:31:36.554917707 +0200
@@ -18,7 +18,7 @@
%global sname oslo.serialization
Name: python-oslo.serialization
-Version: 2.16.0
+Version: 2.20.0
Release: 0
Summary: OpenStack serialization library
License: Apache-2.0
@@ -32,11 +32,11 @@
BuildRequires: python-msgpack-python >= 0.4.0
BuildRequires: python-netaddr >= 0.7.13
BuildRequires: python-oslo.i18n >= 2.1.0
-BuildRequires: python-oslo.utils >= 3.18.0
+BuildRequires: python-oslo.utils >= 3.20.0
BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 1.8
+BuildRequires: python-pbr >= 2.0.0
Requires: python-msgpack-python >= 0.4.0
-Requires: python-oslo.utils >= 3.18.0
+Requires: python-oslo.utils >= 3.20.0
Requires: python-pytz >= 2013.6
Requires: python-six >= 1.9.0
BuildArch: noarch
@@ -49,7 +49,7 @@
Summary: Documentation for OpenStack serialization library
Group: Development/Languages/Python
BuildRequires: python-Sphinx
-BuildRequires: python-oslosphinx >= 4.7.0
+BuildRequires: python-openstackdocstheme >= 1.11.0
%description doc
The oslo.serialization library provides support for representing objects
@@ -59,6 +59,7 @@
%prep
%autosetup -n %{sname}-%{version}
%py_req_cleanup
+sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{py2_build}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.W8GPhA/_old 2017-08-28 15:31:36.630907024 +0200
+++ /var/tmp/diff_new_pack.W8GPhA/_new 2017-08-28 15:31:36.642905337 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/openstack/oslo.serialization/oslo.serialization.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/oslo.serialization/oslo.serialization.spec.j2</param>
<param name="output-name">python-oslo.serialization.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/global-requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,oslo.serialization</param>
</service>
++++++ oslo.serialization-2.16.0.tar.gz -> oslo.serialization-2.20.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/AUTHORS
new/oslo.serialization-2.20.0/AUTHORS
--- old/oslo.serialization-2.16.0/AUTHORS 2017-01-19 20:16:22.000000000
+0100
+++ new/oslo.serialization-2.20.0/AUTHORS 2017-07-18 15:11:29.000000000
+0200
@@ -1,3 +1,4 @@
+Akihiro Motoki <[email protected]>
Alexander Gorodnev <[email protected]>
Andreas Jaeger <[email protected]>
Ann Kamyshnikova <[email protected]>
@@ -16,6 +17,7 @@
Dirk Mueller <[email protected]>
Doug Hellmann <[email protected]>
Edan David <[email protected]>
+Eric Brown <[email protected]>
Flavio Percoco <[email protected]>
Gary Kotton <[email protected]>
Gevorg Davoian <[email protected]>
@@ -42,6 +44,7 @@
Mike Heald <[email protected]>
Monty Taylor <[email protected]>
Nataliia Uvarova <[email protected]>
+OpenStack Release Bot <[email protected]>
Phil Day <[email protected]>
Ronald Bradford <[email protected]>
Russell Bryant <[email protected]>
@@ -60,5 +63,6 @@
Zhongyue Luo <[email protected]>
avnish <[email protected]>
gecong1973 <[email protected]>
+ricolin <[email protected]>
xianming.mao <[email protected]>
yanheven <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/CONTRIBUTING.rst
new/oslo.serialization-2.20.0/CONTRIBUTING.rst
--- old/oslo.serialization-2.16.0/CONTRIBUTING.rst 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/CONTRIBUTING.rst 2017-07-18
15:09:00.000000000 +0200
@@ -1,16 +1,13 @@
If you would like to contribute to the development of OpenStack,
you must follow the steps in this page:
-
- http://docs.openstack.org/infra/manual/developers.html
+http://docs.openstack.org/infra/manual/developers.html
Once those steps have been completed, changes to OpenStack
should be submitted for review via the Gerrit tool, following
the workflow documented at:
-
- http://docs.openstack.org/infra/manual/developers.html#development-workflow
+http://docs.openstack.org/infra/manual/developers.html#development-workflow
Pull requests submitted through GitHub will be ignored.
Bugs should be filed on Launchpad, not GitHub:
-
- https://bugs.launchpad.net/oslo.serialization
+https://bugs.launchpad.net/oslo.serialization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/ChangeLog
new/oslo.serialization-2.20.0/ChangeLog
--- old/oslo.serialization-2.16.0/ChangeLog 2017-01-19 20:16:22.000000000
+0100
+++ new/oslo.serialization-2.20.0/ChangeLog 2017-07-18 15:11:29.000000000
+0200
@@ -1,6 +1,43 @@
CHANGES
=======
+2.20.0
+------
+
+* Revert "Explicitly raise ValueError in to\_primitive"
+* Update URLs in documents according to document migration
+* rearrange existing documentation to fit the new standard layout
+* switch from oslosphinx to openstackdocstheme
+
+2.19.1
+------
+
+
+2.19.0
+------
+
+* Updated from global requirements
+* Don't iterate through addresses in netaddr.IPNetwork
+* Updated from global requirements
+* Updated from global requirements
+* Explicitly raise ValueError in to\_primitive
+* Updated from global requirements
+* Updated from global requirements
+
+2.18.0
+------
+
+* Use Sphinx 1.5 warning-is-error
+
+2.17.0
+------
+
+* Updated from global requirements
+* [Fix gate]Update test requirement
+* Updated from global requirements
+* Update reno for stable/ocata
+* Remove references to Python 3.4
+
2.16.0
------
@@ -8,7 +45,7 @@
* Add Constraints support
* Don't raise TypeError for invalid b64
* Replace six.iteritems() with .items()
-* Replaces uuid.uuid4 with uuidutils.generate_uuid()
+* Replaces uuid.uuid4 with uuidutils.generate\_uuid()
* Show team and repo badges on README
2.15.0
@@ -80,7 +117,7 @@
* Drop babel as requirement since its not used
* Updated from global requirements
* Unified and simplified API for all serializers
-* Make msgpack registries copyable (and add __contains__)
+* Make msgpack registries copyable (and add \_\_contains\_\_)
* msgpack: fix datetime serialization
2.4.0
@@ -130,10 +167,10 @@
------
* Add utilities for base64
-* Also check for the existence of `items` in to_primitive()
+* Also check for the existence of \`items\` in to\_primitive()
* Move 'history' -> release notes section
-* Add jsonutils.dump_as_bytes() function for py3
-* Change ignore-errors to ignore_errors
+* Add jsonutils.dump\_as\_bytes() function for py3
+* Change ignore-errors to ignore\_errors
* Updated from global requirements
1.9.0
@@ -153,12 +190,12 @@
* Updated from global requirements
* Updated from global requirements
* Updated from global requirements
-* Drop stale test - test_jsonutils
+* Drop stale test - test\_jsonutils
1.7.0
-----
-* Stop using deprecated oslo_utils.timeutils.strtime
+* Stop using deprecated oslo\_utils.timeutils.strtime
* Add tox target to find missing requirements
* Remove oslo namespace package
* Do not use oslo namespace for oslo.i18n lib
@@ -174,9 +211,9 @@
* jsonutils: simplify simple value handling
* jsonutils: replace strtime() usage with isoformat()
* Advertise support for Python3.4 / Remove support for Python 3.3
-* Do not sync run_cross_tests.sh
+* Do not sync run\_cross\_tests.sh
* Updated from global requirements
-* Remove run_cross_tests.sh
+* Remove run\_cross\_tests.sh
* Fixes wrong folder for listing tests
1.5.0
@@ -216,7 +253,7 @@
-----
* Move files out of the namespace package
-* Activate pep8 check that _ is imported
+* Activate pep8 check that \_ is imported
* Updated from global requirements
* Workflow documentation is now in infra-manual
@@ -241,7 +278,7 @@
0.2.0
-----
-* Check for namedtuple_as_object support before using it
+* Check for namedtuple\_as\_object support before using it
* Work toward Python 3.4 support and testing
0.1.0
@@ -254,7 +291,7 @@
* Add some basic docstring(s)
* Fix docs build to run properly
* Use oslo libraries - i18n and utils
-* Specify namedtuple_as_object=False when using simplejson
+* Specify namedtuple\_as\_object=False when using simplejson
* Get unit tests passing
* exported from oslo-incubator by graduate.sh
* Added missing jsonutils.dump() function
@@ -264,8 +301,8 @@
* jsonutils.load() accepts file pointer, not string
* On Python <= 2.6, use simplejson if available
* Use oslotest instead of common test module
-* Python3: enable test_jsonutils.py
-* Use six.moves.xmlrpc_client instead of xmlrpclib
+* Python3: enable test\_jsonutils.py
+* Use six.moves.xmlrpc\_client instead of xmlrpclib
* Translation Message improvements
* Python3 support for xmlrpclib
* Use six.iteritems to make dict work on Python2/3
@@ -277,23 +314,23 @@
* Bump hacking to 0.7.0
* Replace using tests.utils with openstack.common.test
* Enable H302 hacking check
-* Add netaddr.IPAddress support to to_primitive()
+* Add netaddr.IPAddress support to to\_primitive()
* python3: python3 binary/text data compatbility
* Convert unicode for python3 portability
-* Optimise to_primitive common cases
+* Optimise to\_primitive common cases
* Update to use flake8
* Fix Copyright Headers - Rename LLC to Foundation
-* Don't LOG.error on max_depth (by default)
-* to_primitive imposes what seems to be an arbitary data structure depth of 3,
but there is at least on case in Nova (Security group Rules) which requires a
depth beyond this
-* Allow to_primitive to ignore datetimes
+* Don't LOG.error on max\_depth (by default)
+* to\_primitive imposes what seems to be an arbitary data structure depth of
3, but there is at least on case in Nova (Security group Rules) which requires
a depth beyond this
+* Allow to\_primitive to ignore datetimes
* Replace direct use of testtools BaseTestCase
* Use testtools as test base class
* Fixes import order errors
* Make project pyflakes clean
-* Add missing convert_instances arg
-* Track to_primitive() depth after iteritems()
+* Add missing convert\_instances arg
+* Track to\_primitive() depth after iteritems()
* Update iteritems test case to actually test iteritems
-* Use strtime() in to_primitive() for datetime objs
+* Use strtime() in to\_primitive() for datetime objs
* Add 'filedecoder' method to the jsonutils wrapper module
* Make jsonutils.dumps more general
* Handle xmlrpclib.DateTime types when serializing to JSON
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/HACKING.rst
new/oslo.serialization-2.20.0/HACKING.rst
--- old/oslo.serialization-2.16.0/HACKING.rst 2017-01-19 20:14:00.000000000
+0100
+++ new/oslo.serialization-2.20.0/HACKING.rst 2017-07-18 15:09:00.000000000
+0200
@@ -1,4 +1,4 @@
oslo.serialization Style Commandments
======================================================
-Read the OpenStack Style Commandments
http://docs.openstack.org/developer/hacking/
\ No newline at end of file
+Read the OpenStack Style Commandments https://docs.openstack.org/hacking/latest
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/PKG-INFO
new/oslo.serialization-2.20.0/PKG-INFO
--- old/oslo.serialization-2.16.0/PKG-INFO 2017-01-19 20:16:23.000000000
+0100
+++ new/oslo.serialization-2.20.0/PKG-INFO 2017-07-18 15:11:29.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.serialization
-Version: 2.16.0
+Version: 2.20.0
Summary: Oslo Serialization library
Home-page: http://docs.openstack.org/developer/oslo.serialization/
Author: OpenStack
@@ -31,9 +31,9 @@
in transmittable and storable formats, such as Base64, JSON and
MessagePack.
* Free software: Apache license
- * Documentation: http://docs.openstack.org/developer/oslo.serialization
- * Source: http://git.openstack.org/cgit/openstack/oslo.serialization
- * Bugs: http://bugs.launchpad.net/oslo.serialization
+ * Documentation: https://docs.openstack.org/oslo.serialization/latest/
+ * Source: https://git.openstack.org/cgit/openstack/oslo.serialization
+ * Bugs: https://docs.openstack.org/oslo.serialization/latest/
Platform: UNKNOWN
@@ -46,5 +46,4 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/README.rst
new/oslo.serialization-2.20.0/README.rst
--- old/oslo.serialization-2.16.0/README.rst 2017-01-19 20:14:00.000000000
+0100
+++ new/oslo.serialization-2.20.0/README.rst 2017-07-18 15:09:00.000000000
+0200
@@ -23,6 +23,6 @@
in transmittable and storable formats, such as Base64, JSON and MessagePack.
* Free software: Apache license
-* Documentation: http://docs.openstack.org/developer/oslo.serialization
-* Source: http://git.openstack.org/cgit/openstack/oslo.serialization
-* Bugs: http://bugs.launchpad.net/oslo.serialization
+* Documentation: https://docs.openstack.org/oslo.serialization/latest/
+* Source: https://git.openstack.org/cgit/openstack/oslo.serialization
+* Bugs: https://docs.openstack.org/oslo.serialization/latest/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/doc/source/api.rst
new/oslo.serialization-2.20.0/doc/source/api.rst
--- old/oslo.serialization-2.16.0/doc/source/api.rst 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/api.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-=================
-API Documentation
-=================
-
-
-base64
-======
-
-.. automodule:: oslo_serialization.base64
- :members:
-
-jsonutils
-=========
-
-.. automodule:: oslo_serialization.jsonutils
- :members:
-
-msgpackutils
-============
-
-.. automodule:: oslo_serialization.msgpackutils
- :members:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/doc/source/conf.py
new/oslo.serialization-2.20.0/doc/source/conf.py
--- old/oslo.serialization-2.16.0/doc/source/conf.py 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/conf.py 2017-07-18
15:09:00.000000000 +0200
@@ -23,9 +23,14 @@
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
- 'oslosphinx'
+ 'openstackdocstheme'
]
+# openstackdocstheme options
+repository_name = 'openstack/oslo.serialization'
+bug_project = 'oslo.serialization'
+bug_tag = ''
+
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable
@@ -57,6 +62,9 @@
# html_theme_path = ["."]
# html_theme = '_theme'
# html_static_path = ['static']
+html_theme = 'openstackdocs'
+
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
@@ -72,4 +80,4 @@
]
# Example configuration for intersphinx: refer to the Python standard library.
-#intersphinx_mapping = {'http://docs.python.org/': None}
\ No newline at end of file
+#intersphinx_mapping = {'http://docs.python.org/': None}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/doc/source/contributing.rst
new/oslo.serialization-2.20.0/doc/source/contributing.rst
--- old/oslo.serialization-2.16.0/doc/source/contributing.rst 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/contributing.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-==============
- Contributing
-==============
-
-.. include:: ../../CONTRIBUTING.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/doc/source/contributor/index.rst
new/oslo.serialization-2.20.0/doc/source/contributor/index.rst
--- old/oslo.serialization-2.16.0/doc/source/contributor/index.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/contributor/index.rst
2017-07-18 15:09:00.000000000 +0200
@@ -0,0 +1,5 @@
+==============
+ Contributing
+==============
+
+.. include:: ../../../CONTRIBUTING.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/doc/source/history.rst
new/oslo.serialization-2.20.0/doc/source/history.rst
--- old/oslo.serialization-2.16.0/doc/source/history.rst 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/history.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-.. include:: ../../ChangeLog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/doc/source/index.rst
new/oslo.serialization-2.20.0/doc/source/index.rst
--- old/oslo.serialization-2.16.0/doc/source/index.rst 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/index.rst 2017-07-18
15:09:00.000000000 +0200
@@ -8,27 +8,12 @@
.. toctree::
:maxdepth: 1
- installation
- contributing
+ install/index
+ user/index
+ contributor/index
+ reference/index
-API Documentation
-=================
-
-.. toctree::
- :maxdepth: 2
-
- api
-
-Release Notes
-=============
-
-.. toctree::
- :maxdepth: 1
-
- history
-
-Indices and tables
-==================
+.. rubric:: Indices and tables
* :ref:`genindex`
* :ref:`modindex`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/doc/source/install/index.rst
new/oslo.serialization-2.20.0/doc/source/install/index.rst
--- old/oslo.serialization-2.16.0/doc/source/install/index.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/install/index.rst 2017-07-18
15:09:00.000000000 +0200
@@ -0,0 +1,12 @@
+============
+Installation
+============
+
+At the command line::
+
+ $ pip install oslo.serialization
+
+Or, if you have virtualenvwrapper installed::
+
+ $ mkvirtualenv oslo.serialization
+ $ pip install oslo.serialization
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/doc/source/installation.rst
new/oslo.serialization-2.20.0/doc/source/installation.rst
--- old/oslo.serialization-2.16.0/doc/source/installation.rst 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/installation.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-============
-Installation
-============
-
-At the command line::
-
- $ pip install oslo.serialization
-
-Or, if you have virtualenvwrapper installed::
-
- $ mkvirtualenv oslo.serialization
- $ pip install oslo.serialization
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/doc/source/reference/index.rst
new/oslo.serialization-2.20.0/doc/source/reference/index.rst
--- old/oslo.serialization-2.16.0/doc/source/reference/index.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/reference/index.rst
2017-07-18 15:09:00.000000000 +0200
@@ -0,0 +1,22 @@
+=============
+API Reference
+=============
+
+
+base64
+======
+
+.. automodule:: oslo_serialization.base64
+ :members:
+
+jsonutils
+=========
+
+.. automodule:: oslo_serialization.jsonutils
+ :members:
+
+msgpackutils
+============
+
+.. automodule:: oslo_serialization.msgpackutils
+ :members:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/doc/source/user/history.rst
new/oslo.serialization-2.20.0/doc/source/user/history.rst
--- old/oslo.serialization-2.16.0/doc/source/user/history.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/user/history.rst 2017-07-18
15:09:00.000000000 +0200
@@ -0,0 +1 @@
+.. include:: ../../../ChangeLog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/doc/source/user/index.rst
new/oslo.serialization-2.20.0/doc/source/user/index.rst
--- old/oslo.serialization-2.16.0/doc/source/user/index.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/doc/source/user/index.rst 2017-07-18
15:09:00.000000000 +0200
@@ -0,0 +1,14 @@
+========================
+Using oslo.serialization
+========================
+
+.. toctree::
+ :maxdepth: 2
+
+.. Add more contents here
+
+.. history contains a lot of sections, toctree with maxdepth 1 is used.
+.. toctree::
+ :maxdepth: 1
+
+ Release Notes <history>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/oslo.serialization.egg-info/PKG-INFO
new/oslo.serialization-2.20.0/oslo.serialization.egg-info/PKG-INFO
--- old/oslo.serialization-2.16.0/oslo.serialization.egg-info/PKG-INFO
2017-01-19 20:16:22.000000000 +0100
+++ new/oslo.serialization-2.20.0/oslo.serialization.egg-info/PKG-INFO
2017-07-18 15:11:29.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.serialization
-Version: 2.16.0
+Version: 2.20.0
Summary: Oslo Serialization library
Home-page: http://docs.openstack.org/developer/oslo.serialization/
Author: OpenStack
@@ -31,9 +31,9 @@
in transmittable and storable formats, such as Base64, JSON and
MessagePack.
* Free software: Apache license
- * Documentation: http://docs.openstack.org/developer/oslo.serialization
- * Source: http://git.openstack.org/cgit/openstack/oslo.serialization
- * Bugs: http://bugs.launchpad.net/oslo.serialization
+ * Documentation: https://docs.openstack.org/oslo.serialization/latest/
+ * Source: https://git.openstack.org/cgit/openstack/oslo.serialization
+ * Bugs: https://docs.openstack.org/oslo.serialization/latest/
Platform: UNKNOWN
@@ -46,5 +46,4 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/oslo.serialization.egg-info/SOURCES.txt
new/oslo.serialization-2.20.0/oslo.serialization.egg-info/SOURCES.txt
--- old/oslo.serialization-2.16.0/oslo.serialization.egg-info/SOURCES.txt
2017-01-19 20:16:23.000000000 +0100
+++ new/oslo.serialization-2.20.0/oslo.serialization.egg-info/SOURCES.txt
2017-07-18 15:11:29.000000000 +0200
@@ -13,12 +13,13 @@
setup.py
test-requirements.txt
tox.ini
-doc/source/api.rst
doc/source/conf.py
-doc/source/contributing.rst
-doc/source/history.rst
doc/source/index.rst
-doc/source/installation.rst
+doc/source/contributor/index.rst
+doc/source/install/index.rst
+doc/source/reference/index.rst
+doc/source/user/history.rst
+doc/source/user/index.rst
oslo.serialization.egg-info/PKG-INFO
oslo.serialization.egg-info/SOURCES.txt
oslo.serialization.egg-info/dependency_links.txt
@@ -41,6 +42,7 @@
releasenotes/notes/add-reno-996dd44974d53238.yaml
releasenotes/source/conf.py
releasenotes/source/index.rst
+releasenotes/source/ocata.rst
releasenotes/source/unreleased.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/oslo.serialization.egg-info/pbr.json
new/oslo.serialization-2.20.0/oslo.serialization.egg-info/pbr.json
--- old/oslo.serialization-2.16.0/oslo.serialization.egg-info/pbr.json
2017-01-19 20:16:22.000000000 +0100
+++ new/oslo.serialization-2.20.0/oslo.serialization.egg-info/pbr.json
2017-07-18 15:11:29.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "ac5787d"}
\ No newline at end of file
+{"git_version": "bbee6d1", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/oslo.serialization.egg-info/requires.txt
new/oslo.serialization-2.20.0/oslo.serialization.egg-info/requires.txt
--- old/oslo.serialization-2.16.0/oslo.serialization.egg-info/requires.txt
2017-01-19 20:16:22.000000000 +0100
+++ new/oslo.serialization-2.20.0/oslo.serialization.egg-info/requires.txt
2017-07-18 15:11:29.000000000 +0200
@@ -1,5 +1,5 @@
-pbr>=1.8
+pbr!=2.1.0,>=2.0.0
six>=1.9.0
msgpack-python>=0.4.0
-oslo.utils>=3.18.0
+oslo.utils>=3.20.0
pytz>=2013.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/oslo_serialization/jsonutils.py
new/oslo.serialization-2.20.0/oslo_serialization/jsonutils.py
--- old/oslo.serialization-2.16.0/oslo_serialization/jsonutils.py
2017-01-19 20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/oslo_serialization/jsonutils.py
2017-07-18 15:09:01.000000000 +0200
@@ -112,7 +112,7 @@
if isinstance(value, uuid.UUID):
return six.text_type(value)
- if netaddr and isinstance(value, netaddr.IPAddress):
+ if netaddr and isinstance(value, (netaddr.IPAddress, netaddr.IPNetwork)):
return six.text_type(value)
if ipaddress and isinstance(value,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/oslo_serialization/tests/test_jsonutils.py
new/oslo.serialization-2.20.0/oslo_serialization/tests/test_jsonutils.py
--- old/oslo.serialization-2.16.0/oslo_serialization/tests/test_jsonutils.py
2017-01-19 20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/oslo_serialization/tests/test_jsonutils.py
2017-07-18 15:09:01.000000000 +0200
@@ -320,6 +320,11 @@
ret = jsonutils.to_primitive(thing)
self.assertEqual({'ip_addr': '2001:db8::'}, ret)
+ def test_ipnet_using_netaddr(self):
+ thing = {'ip_net': netaddr.IPNetwork('1.2.3.0/24')}
+ ret = jsonutils.to_primitive(thing)
+ self.assertEqual({'ip_net': '1.2.3.0/24'}, ret)
+
def test_message_with_param(self):
msg = self.trans_fixture.lazy('A message with param: %s')
msg = msg % 'test_domain'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/releasenotes/source/conf.py
new/oslo.serialization-2.20.0/releasenotes/source/conf.py
--- old/oslo.serialization-2.16.0/releasenotes/source/conf.py 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/releasenotes/source/conf.py 2017-07-18
15:09:00.000000000 +0200
@@ -35,10 +35,15 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- 'oslosphinx',
+ 'openstackdocstheme',
'reno.sphinxext',
]
+# openstackdocstheme options
+repository_name = 'openstack/oslo.serialization'
+bug_project = 'oslo.serialization'
+bug_tag = ''
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -109,7 +114,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'openstackdocs'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@@ -147,7 +152,7 @@
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
-# html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/releasenotes/source/index.rst
new/oslo.serialization-2.20.0/releasenotes/source/index.rst
--- old/oslo.serialization-2.16.0/releasenotes/source/index.rst 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/releasenotes/source/index.rst 2017-07-18
15:09:00.000000000 +0200
@@ -2,7 +2,8 @@
oslo.serialization Release Notes
==================================
- .. toctree::
- :maxdepth: 1
+.. toctree::
+ :maxdepth: 1
- unreleased
+ unreleased
+ ocata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.16.0/releasenotes/source/ocata.rst
new/oslo.serialization-2.20.0/releasenotes/source/ocata.rst
--- old/oslo.serialization-2.16.0/releasenotes/source/ocata.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/releasenotes/source/ocata.rst 2017-07-18
15:09:00.000000000 +0200
@@ -0,0 +1,6 @@
+===================================
+ Ocata Series Release Notes
+===================================
+
+.. release-notes::
+ :branch: origin/stable/ocata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/requirements.txt
new/oslo.serialization-2.20.0/requirements.txt
--- old/oslo.serialization-2.16.0/requirements.txt 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/requirements.txt 2017-07-18
15:09:00.000000000 +0200
@@ -7,8 +7,8 @@
# adding a new feature to oslo.serialization means adding a new dependency,
# that is a likely indicator that the feature belongs somewhere else.
-pbr>=1.8 # Apache-2.0
+pbr!=2.1.0,>=2.0.0 # Apache-2.0
six>=1.9.0 # MIT
msgpack-python>=0.4.0 # Apache-2.0
-oslo.utils>=3.18.0 # Apache-2.0
+oslo.utils>=3.20.0 # Apache-2.0
pytz>=2013.6 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/setup.cfg
new/oslo.serialization-2.20.0/setup.cfg
--- old/oslo.serialization-2.16.0/setup.cfg 2017-01-19 20:16:23.000000000
+0100
+++ new/oslo.serialization-2.20.0/setup.cfg 2017-07-18 15:11:29.000000000
+0200
@@ -16,20 +16,17 @@
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
[files]
packages =
oslo_serialization
-[pbr]
-warnerrors = true
-
[build_sphinx]
+all-files = 1
+warning-is-error = 1
source-dir = doc/source
build-dir = doc/build
-all_files = 1
[upload_sphinx]
upload-dir = doc/build/html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/setup.py
new/oslo.serialization-2.20.0/setup.py
--- old/oslo.serialization-2.16.0/setup.py 2017-01-19 20:14:00.000000000
+0100
+++ new/oslo.serialization-2.20.0/setup.py 2017-07-18 15:09:00.000000000
+0200
@@ -25,5 +25,5 @@
pass
setuptools.setup(
- setup_requires=['pbr>=1.8'],
+ setup_requires=['pbr>=2.0.0'],
pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/test-requirements.txt
new/oslo.serialization-2.20.0/test-requirements.txt
--- old/oslo.serialization-2.16.0/test-requirements.txt 2017-01-19
20:14:00.000000000 +0100
+++ new/oslo.serialization-2.20.0/test-requirements.txt 2017-07-18
15:09:00.000000000 +0200
@@ -1,16 +1,16 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking<0.11,>=0.10.0
+hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
ipaddress>=1.0.7;python_version<'3.3' # PSF
mock>=2.0 # BSD
netaddr!=0.7.16,>=0.7.13 # BSD
# this is required for the docs build jobs
-sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
-oslosphinx>=4.7.0 # Apache-2.0
+sphinx>=1.6.2 # BSD
+openstackdocstheme>=1.11.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
-oslo.i18n>=2.1.0 # Apache-2.0
-coverage>=4.0 # Apache-2.0
-reno>=1.8.0 # Apache-2.0
+oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
+coverage!=4.4,>=4.0 # Apache-2.0
+reno!=2.3.1,>=1.8.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.16.0/tox.ini
new/oslo.serialization-2.20.0/tox.ini
--- old/oslo.serialization-2.16.0/tox.ini 2017-01-19 20:14:00.000000000
+0100
+++ new/oslo.serialization-2.20.0/tox.ini 2017-07-18 15:09:00.000000000
+0200
@@ -1,6 +1,6 @@
[tox]
minversion = 2.0
-envlist = py35,py34,py27,pypy,pep8
+envlist = py35,py27,pypy,pep8
[testenv]
setenv =