Hello community,
here is the log from the commit of package python-oslo.serialization for
openSUSE:Factory checked in at 2015-12-21 12:03:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.serialization (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.serialization.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.serialization"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-oslo.serialization/python-oslo.serialization.changes
2015-10-30 13:42:21.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.serialization.new/python-oslo.serialization.changes
2015-12-21 12:03:54.000000000 +0100
@@ -1,0 +2,12 @@
+Fri Nov 20 07:50:48 UTC 2015 - [email protected]
+
+- update to 1.11.0
+ * Fix coverage configuration and execution
+- update to 1.10.0:
+ * Add utilities for base64
+ * 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
+
+-------------------------------------------------------------------
Old:
----
oslo.serialization-1.9.0.tar.gz
New:
----
oslo.serialization-1.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.serialization.spec ++++++
--- /var/tmp/diff_new_pack.xButNW/_old 2015-12-21 12:03:55.000000000 +0100
+++ /var/tmp/diff_new_pack.xButNW/_new 2015-12-21 12:03:55.000000000 +0100
@@ -17,7 +17,7 @@
Name: python-oslo.serialization
-Version: 1.9.0
+Version: 1.11.0
Release: 0
Summary: OpenStack serialization API
License: Apache-2.0
@@ -39,7 +39,7 @@
Requires: python-Babel >= 1.3
Requires: python-iso8601 >= 0.1.9
Requires: python-msgpack-python >= 0.4.0
-Requires: python-oslo.utils >= 2.0.0
+Requires: python-oslo.utils >= 2.4.0
Requires: python-pytz >= 2013.6
Requires: python-six >= 1.9.0
BuildArch: noarch
++++++ oslo.serialization-1.9.0.tar.gz -> oslo.serialization-1.11.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/.coveragerc
new/oslo.serialization-1.11.0/.coveragerc
--- old/oslo.serialization-1.9.0/.coveragerc 2015-09-08 18:00:19.000000000
+0200
+++ new/oslo.serialization-1.11.0/.coveragerc 2015-10-19 19:10:50.000000000
+0200
@@ -1,7 +1,8 @@
[run]
branch = True
-source = serialization
-omit = serialization/tests/*,serialization/openstack/*
+source = oslo_serialization
+omit = oslo_serialization/tests/*
[report]
-ignore-errors = True
\ No newline at end of file
+ignore_errors = True
+precision = 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/AUTHORS
new/oslo.serialization-1.11.0/AUTHORS
--- old/oslo.serialization-1.9.0/AUTHORS 2015-09-08 18:00:55.000000000
+0200
+++ new/oslo.serialization-1.11.0/AUTHORS 2015-10-19 19:11:26.000000000
+0200
@@ -33,12 +33,15 @@
Monty Taylor <[email protected]>
Nataliia Uvarova <[email protected]>
Phil Day <[email protected]>
+Ronald Bradford <[email protected]>
Russell Bryant <[email protected]>
+Sirushti Murugesan <[email protected]>
Stanislaw Pitucha <[email protected]>
Steve Martinelli <[email protected]>
Thomas Goirand <[email protected]>
Tim Daly Jr <[email protected]>
Victor Sergeyev <[email protected]>
+Victor Stinner <[email protected]>
YAMAMOTO Takashi <[email protected]>
Zhongyue Luo <[email protected]>
Zhongyue Luo <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/ChangeLog
new/oslo.serialization-1.11.0/ChangeLog
--- old/oslo.serialization-1.9.0/ChangeLog 2015-09-08 18:00:55.000000000
+0200
+++ new/oslo.serialization-1.11.0/ChangeLog 2015-10-19 19:11:26.000000000
+0200
@@ -1,6 +1,22 @@
CHANGES
=======
+1.11.0
+------
+
+* Updated from global requirements
+* Fix coverage configuration and execution
+
+1.10.0
+------
+
+* Add utilities for base64
+* 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
+* Updated from global requirements
+
1.9.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/PKG-INFO
new/oslo.serialization-1.11.0/PKG-INFO
--- old/oslo.serialization-1.9.0/PKG-INFO 2015-09-08 18:00:56.000000000
+0200
+++ new/oslo.serialization-1.11.0/PKG-INFO 2015-10-19 19:11:27.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.serialization
-Version: 1.9.0
+Version: 1.11.0
Summary: Oslo Serialization library
Home-page: http://launchpad.net/oslo
Author: OpenStack
@@ -19,7 +19,7 @@
:alt: Downloads
The oslo.serialization library provides support for representing
objects
- in transmittable and storable formats, such as JSON and MessagePack.
+ in transmittable and storable formats, such as Base64, JSON and
MessagePack.
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/oslo.serialization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/README.rst
new/oslo.serialization-1.11.0/README.rst
--- old/oslo.serialization-1.9.0/README.rst 2015-09-08 18:00:19.000000000
+0200
+++ new/oslo.serialization-1.11.0/README.rst 2015-10-19 19:10:50.000000000
+0200
@@ -11,7 +11,7 @@
:alt: Downloads
The oslo.serialization library provides support for representing objects
-in transmittable and storable formats, such as JSON and MessagePack.
+in transmittable and storable formats, such as Base64, JSON and MessagePack.
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/oslo.serialization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/doc/source/api.rst
new/oslo.serialization-1.11.0/doc/source/api.rst
--- old/oslo.serialization-1.9.0/doc/source/api.rst 2015-09-08
18:00:19.000000000 +0200
+++ new/oslo.serialization-1.11.0/doc/source/api.rst 2015-10-19
19:10:50.000000000 +0200
@@ -1,3 +1,9 @@
+base64
+======
+
+.. automodule:: oslo_serialization.base64
+ :members:
+
jsonutils
=========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/doc/source/index.rst
new/oslo.serialization-1.11.0/doc/source/index.rst
--- old/oslo.serialization-1.9.0/doc/source/index.rst 2015-09-08
18:00:19.000000000 +0200
+++ new/oslo.serialization-1.11.0/doc/source/index.rst 2015-10-19
19:10:50.000000000 +0200
@@ -10,7 +10,6 @@
installation
contributing
- history
API Documentation
=================
@@ -20,6 +19,14 @@
api
+Release Notes
+=============
+
+.. toctree::
+ :maxdepth: 1
+
+ history
+
Indices and tables
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-1.9.0/oslo.serialization.egg-info/PKG-INFO
new/oslo.serialization-1.11.0/oslo.serialization.egg-info/PKG-INFO
--- old/oslo.serialization-1.9.0/oslo.serialization.egg-info/PKG-INFO
2015-09-08 18:00:55.000000000 +0200
+++ new/oslo.serialization-1.11.0/oslo.serialization.egg-info/PKG-INFO
2015-10-19 19:11:26.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.serialization
-Version: 1.9.0
+Version: 1.11.0
Summary: Oslo Serialization library
Home-page: http://launchpad.net/oslo
Author: OpenStack
@@ -19,7 +19,7 @@
:alt: Downloads
The oslo.serialization library provides support for representing
objects
- in transmittable and storable formats, such as JSON and MessagePack.
+ in transmittable and storable formats, such as Base64, JSON and
MessagePack.
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/oslo.serialization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-1.9.0/oslo.serialization.egg-info/SOURCES.txt
new/oslo.serialization-1.11.0/oslo.serialization.egg-info/SOURCES.txt
--- old/oslo.serialization-1.9.0/oslo.serialization.egg-info/SOURCES.txt
2015-09-08 18:00:56.000000000 +0200
+++ new/oslo.serialization-1.11.0/oslo.serialization.egg-info/SOURCES.txt
2015-10-19 19:11:27.000000000 +0200
@@ -28,7 +28,9 @@
oslo.serialization.egg-info/requires.txt
oslo.serialization.egg-info/top_level.txt
oslo_serialization/__init__.py
+oslo_serialization/base64.py
oslo_serialization/jsonutils.py
oslo_serialization/msgpackutils.py
oslo_serialization/tests/__init__.py
+oslo_serialization/tests/test_base64.py
oslo_serialization/tests/test_jsonutils.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-1.9.0/oslo.serialization.egg-info/pbr.json
new/oslo.serialization-1.11.0/oslo.serialization.egg-info/pbr.json
--- old/oslo.serialization-1.9.0/oslo.serialization.egg-info/pbr.json
2015-09-08 18:00:55.000000000 +0200
+++ new/oslo.serialization-1.11.0/oslo.serialization.egg-info/pbr.json
2015-10-19 19:11:26.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "03f3431"}
\ No newline at end of file
+{"is_release": true, "git_version": "a8626ea"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-1.9.0/oslo.serialization.egg-info/requires.txt
new/oslo.serialization-1.11.0/oslo.serialization.egg-info/requires.txt
--- old/oslo.serialization-1.9.0/oslo.serialization.egg-info/requires.txt
2015-09-08 18:00:55.000000000 +0200
+++ new/oslo.serialization-1.11.0/oslo.serialization.egg-info/requires.txt
2015-10-19 19:11:26.000000000 +0200
@@ -1,7 +1,7 @@
-pbr<2.0,>=1.6
+pbr>=1.6
Babel>=1.3
six>=1.9.0
msgpack-python>=0.4.0
iso8601>=0.1.9
-oslo.utils>=2.0.0
+oslo.utils>=2.4.0
pytz>=2013.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-1.9.0/oslo_serialization/base64.py
new/oslo.serialization-1.11.0/oslo_serialization/base64.py
--- old/oslo.serialization-1.9.0/oslo_serialization/base64.py 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.serialization-1.11.0/oslo_serialization/base64.py 2015-10-19
19:10:50.000000000 +0200
@@ -0,0 +1,79 @@
+# Copyright 2015 Red Hat
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+from __future__ import absolute_import
+
+import base64
+
+import six
+
+
+def encode_as_bytes(s, encoding='utf-8'):
+ """Encode a string using Base64.
+
+ If *s* is a text string, first encode it to *encoding* (UTF-8 by default).
+
+ :param s: bytes or text string to be encoded
+ :param encoding: encoding used to encode *s* if it's a text string
+ :returns: Base64 encoded byte string (bytes)
+
+ Use encode_as_text() to get the Base64 encoded string as text.
+ """
+ if isinstance(s, six.text_type):
+ s = s.encode(encoding)
+ return base64.b64encode(s)
+
+
+def encode_as_text(s, encoding='utf-8'):
+ """Encode a string using Base64.
+
+ If *s* is a text string, first encode it to *encoding* (UTF-8 by default).
+
+ :param s: bytes or text string to be encoded
+ :param encoding: encoding used to encode *s* if it's a text string
+ :returns: Base64 encoded text string (Unicode)
+
+ Use encode_as_bytes() to get the Base64 encoded string as bytes.
+ """
+ encoded = encode_as_bytes(s, encoding=encoding)
+ return encoded.decode('ascii')
+
+
+def decode_as_bytes(encoded):
+ """Decode a Base64 encoded string.
+
+ :param encoded: bytes or text Base64 encoded string to be decoded
+ :returns: decoded bytes string (bytes)
+
+ Use decode_as_text() to get the decoded string as text.
+ """
+ if isinstance(encoded, bytes):
+ encoded = encoded.decode('ascii')
+ return base64.b64decode(encoded)
+
+
+def decode_as_text(encoded, encoding='utf-8'):
+ """Decode a Base64 encoded string.
+
+ Decode the Base64 string and then decode the result from *encoding*
+ (UTF-8 by default).
+
+ :param encoded: bytes or text Base64 encoded string to be decoded
+ :returns: decoded text string (bytes)
+
+ Use decode_as_bytes() to get the decoded string as bytes.
+ """
+ decoded = decode_as_bytes(encoded)
+ return decoded.decode(encoding)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-1.9.0/oslo_serialization/jsonutils.py
new/oslo.serialization-1.11.0/oslo_serialization/jsonutils.py
--- old/oslo.serialization-1.9.0/oslo_serialization/jsonutils.py
2015-09-08 18:00:19.000000000 +0200
+++ new/oslo.serialization-1.11.0/oslo_serialization/jsonutils.py
2015-10-19 19:10:50.000000000 +0200
@@ -153,6 +153,9 @@
for k, v in six.iteritems(value))
elif hasattr(value, 'iteritems'):
return recursive(dict(value.iteritems()), level=level + 1)
+ # Python 3 does not have iteritems
+ elif hasattr(value, 'items'):
+ return recursive(dict(value.items()), level=level + 1)
elif hasattr(value, '__iter__'):
return list(map(recursive, value))
elif convert_instances and hasattr(value, '__dict__'):
@@ -179,12 +182,34 @@
:param kwargs: extra named parameters, please see documentation \
of `json.dumps <https://docs.python.org/2/library/json.html#basic-usage>`_
:returns: json formatted string
+
+ Use dump_as_bytes() to ensure that the result type is ``bytes`` on Python 2
+ and Python 3.
"""
if is_simplejson:
kwargs['namedtuple_as_object'] = False
return json.dumps(obj, default=default, **kwargs)
+def dump_as_bytes(obj, default=to_primitive, encoding='utf-8', **kwargs):
+ """Serialize ``obj`` to a JSON formatted ``bytes``.
+
+ :param obj: object to be serialized
+ :param default: function that returns a serializable version of an object
+ :param encoding: encoding used to encode the serialized JSON output
+ :param kwargs: extra named parameters, please see documentation \
+ of `json.dumps <https://docs.python.org/2/library/json.html#basic-usage>`_
+ :returns: json formatted string
+
+ .. versionadded:: 2.0
+ """
+ serialized = dumps(obj, default=default, **kwargs)
+ if isinstance(serialized, six.text_type):
+ # On Python 3, json.dumps() returns Unicode
+ serialized = serialized.encode(encoding)
+ return serialized
+
+
def dump(obj, fp, *args, **kwargs):
"""Serialize ``obj`` as a JSON formatted stream to ``fp``
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-1.9.0/oslo_serialization/tests/test_base64.py
new/oslo.serialization-1.11.0/oslo_serialization/tests/test_base64.py
--- old/oslo.serialization-1.9.0/oslo_serialization/tests/test_base64.py
1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.serialization-1.11.0/oslo_serialization/tests/test_base64.py
2015-10-19 19:10:50.000000000 +0200
@@ -0,0 +1,56 @@
+# Copyright 2015 Red Hat
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+from oslo_serialization import base64
+from oslotest import base as test_base
+
+
+class Base64Tests(test_base.BaseTestCase):
+
+ def test_encode_as_bytes(self):
+ self.assertEqual(base64.encode_as_bytes(b'text'),
+ b'dGV4dA==')
+ self.assertEqual(base64.encode_as_bytes(u'text'),
+ b'dGV4dA==')
+ self.assertEqual(base64.encode_as_bytes(u'e:\xe9'),
+ b'ZTrDqQ==')
+ self.assertEqual(base64.encode_as_bytes(u'e:\xe9', encoding='latin1'),
+ b'ZTrp')
+
+ def test_encode_as_text(self):
+ self.assertEqual(base64.encode_as_text(b'text'),
+ u'dGV4dA==')
+ self.assertEqual(base64.encode_as_text(u'text'),
+ u'dGV4dA==')
+ self.assertEqual(base64.encode_as_text(u'e:\xe9'),
+ u'ZTrDqQ==')
+ self.assertEqual(base64.encode_as_text(u'e:\xe9', encoding='latin1'),
+ u'ZTrp')
+
+ def test_decode_as_bytes(self):
+ self.assertEqual(base64.decode_as_bytes(b'dGV4dA=='),
+ b'text')
+ self.assertEqual(base64.decode_as_bytes(u'dGV4dA=='),
+ b'text')
+
+ def test_decode_as_text(self):
+ self.assertEqual(base64.decode_as_text(b'dGV4dA=='),
+ u'text')
+ self.assertEqual(base64.decode_as_text(u'dGV4dA=='),
+ u'text')
+ self.assertEqual(base64.decode_as_text(u'ZTrDqQ=='),
+ u'e:\xe9')
+ self.assertEqual(base64.decode_as_text(u'ZTrp', encoding='latin1'),
+ u'e:\xe9')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-1.9.0/oslo_serialization/tests/test_jsonutils.py
new/oslo.serialization-1.11.0/oslo_serialization/tests/test_jsonutils.py
--- old/oslo.serialization-1.9.0/oslo_serialization/tests/test_jsonutils.py
2015-09-08 18:00:19.000000000 +0200
+++ new/oslo.serialization-1.11.0/oslo_serialization/tests/test_jsonutils.py
2015-10-19 19:10:50.000000000 +0200
@@ -46,6 +46,9 @@
def test_dumps(self):
self.assertEqual('{"a": "b"}', jsonutils.dumps({'a': 'b'}))
+ def test_dump_as_bytes(self):
+ self.assertEqual(b'{"a": "b"}', jsonutils.dump_as_bytes({'a': 'b'}))
+
def test_dumps_namedtuple(self):
n = collections.namedtuple("foo", "bar baz")(1, 2)
self.assertEqual('[1, 2]', jsonutils.dumps(n))
@@ -195,6 +198,52 @@
# an exception due to excessive recursion depth.
jsonutils.to_primitive(x)
+ def test_items(self):
+ # Use items() when iteritems() is not available.
+ class ItemsClass(object):
+ def __init__(self):
+ self.data = dict(a=1, b=2, c=3)
+
+ def items(self):
+ return self.data.items()
+
+ x = ItemsClass()
+ p = jsonutils.to_primitive(x)
+ self.assertEqual(p, {'a': 1, 'b': 2, 'c': 3})
+
+ def test_precedence_items_iteritems(self):
+ class ItemsIterItemsClass(object):
+ def items(self):
+ return {'items': 'items'}
+
+ def iteritems(self):
+ return {'iteritems': 'iteritems'}
+
+ x = ItemsIterItemsClass()
+ p = jsonutils.to_primitive(x)
+ # Prefer iteritems over items
+ self.assertEqual(p, {'iteritems': 'iteritems'})
+
+ def test_mapping(self):
+ # Make sure collections.Mapping is converted to a dict
+ # and not a list.
+ class MappingClass(collections.Mapping):
+ def __init__(self):
+ self.data = dict(a=1, b=2, c=3)
+
+ def __getitem__(self, val):
+ return self.data[val]
+
+ def __iter__(self):
+ return iter(self.data)
+
+ def __len__(self):
+ return len(self.data)
+
+ x = MappingClass()
+ p = jsonutils.to_primitive(x)
+ self.assertEqual(p, {'a': 1, 'b': 2, 'c': 3})
+
def test_instance(self):
class MysteryClass(object):
a = 10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/requirements.txt
new/oslo.serialization-1.11.0/requirements.txt
--- old/oslo.serialization-1.9.0/requirements.txt 2015-09-08
18:00:19.000000000 +0200
+++ new/oslo.serialization-1.11.0/requirements.txt 2015-10-19
19:10:50.000000000 +0200
@@ -7,12 +7,12 @@
# adding a new feature to oslo.serialization means adding a new dependency,
# that is a likely indicator that the feature belongs somewhere else.
-pbr<2.0,>=1.6
+pbr>=1.6
Babel>=1.3
six>=1.9.0
msgpack-python>=0.4.0
# Only for timeutils in openstack.common - once we're using the
# library version this can be removed.
iso8601>=0.1.9
-oslo.utils>=2.0.0 # Apache-2.0
+oslo.utils>=2.4.0 # Apache-2.0
pytz>=2013.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/setup.py
new/oslo.serialization-1.11.0/setup.py
--- old/oslo.serialization-1.9.0/setup.py 2015-09-08 18:00:19.000000000
+0200
+++ new/oslo.serialization-1.11.0/setup.py 2015-10-19 19:10:50.000000000
+0200
@@ -25,5 +25,5 @@
pass
setuptools.setup(
- setup_requires=['pbr>=1.3'],
+ setup_requires=['pbr>=1.8'],
pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-1.9.0/tox.ini
new/oslo.serialization-1.11.0/tox.ini
--- old/oslo.serialization-1.9.0/tox.ini 2015-09-08 18:00:19.000000000
+0200
+++ new/oslo.serialization-1.11.0/tox.ini 2015-10-19 19:10:50.000000000
+0200
@@ -26,7 +26,7 @@
commands = python setup.py build_sphinx
[testenv:cover]
-commands = python setup.py testr --coverage --testr-args='{posargs}'
+commands = python setup.py test --coverage
--coverage-package-name=oslo_serialization --testr-args='{posargs}'
[flake8]
# H803 skipped on purpose per list discussion.
@@ -42,4 +42,4 @@
# this also means that pip-missing-reqs must be installed separately, outside
# of the requirements.txt files
deps = pip_missing_reqs
-commands = pip-missing-reqs -d --ignore-module=oslo_serialization*
--ignore-module=pkg_resources --ignore-file=oslo_serialization/test.py
--ignore-file=oslo_serialization/tests/* oslo_serialization
\ No newline at end of file
+commands = pip-missing-reqs -d --ignore-module=oslo_serialization*
--ignore-module=pkg_resources --ignore-file=oslo_serialization/test.py
--ignore-file=oslo_serialization/tests/* oslo_serialization