Hello community,
here is the log from the commit of package python-oslo.serialization for
openSUSE:Factory checked in at 2020-02-18 10:41:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.serialization (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.serialization.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.serialization"
Tue Feb 18 10:41:42 2020 rev:13 rq:774921 version:2.29.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-oslo.serialization/python-oslo.serialization.changes
2019-05-03 22:42:42.795277680 +0200
+++
/work/SRC/openSUSE:Factory/.python-oslo.serialization.new.26092/python-oslo.serialization.changes
2020-02-18 10:41:53.325126096 +0100
@@ -1,0 +2,15 @@
+Wed Oct 9 12:29:27 UTC 2019 - [email protected]
+
+- update to version 2.29.2
+ - Dropping the py35 testing
+ - Introduce a base yaml parser for all openstack components
+ - Sync Sphinx requirement
+ - Cap sphinx for py2 to match global requirements
+ - Explicitly set default_flow_style to False
+ - Resolve some issue with tox.ini, setup.cfg
+ - OpenDev Migration Patch
+ - Add Python 3 Train unit tests
+ - Update master for stable/stein
+ - Replace git.openstack.org URLs with opendev.org URLs
+
+-------------------------------------------------------------------
Old:
----
oslo.serialization-2.28.2.tar.gz
New:
----
oslo.serialization-2.29.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.serialization.spec ++++++
--- /var/tmp/diff_new_pack.1vbSFt/_old 2020-02-18 10:41:53.997127467 +0100
+++ /var/tmp/diff_new_pack.1vbSFt/_new 2020-02-18 10:41:54.001127475 +0100
@@ -17,15 +17,14 @@
Name: python-oslo.serialization
-Version: 2.28.2
+Version: 2.29.2
Release: 0
Summary: OpenStack serialization library
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/oslo.serialization
-Source0:
https://files.pythonhosted.org/packages/source/o/oslo.serialization/oslo.serialization-2.28.2.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/o/oslo.serialization/oslo.serialization-2.29.2.tar.gz
BuildRequires: openstack-macros
-BuildRequires: python-devel
BuildRequires: python2-ipaddress
BuildRequires: python2-mock
BuildRequires: python2-msgpack >= 0.5.2
@@ -35,7 +34,6 @@
BuildRequires: python2-oslotest
BuildRequires: python2-pbr >= 2.0.0
BuildRequires: python2-stestr
-BuildRequires: python3-devel
BuildRequires: python3-mock
BuildRequires: python3-msgpack >= 0.5.2
BuildRequires: python3-netaddr
@@ -58,8 +56,8 @@
%package -n python-oslo.serialization-doc
Summary: Documentation for OpenStack serialization library
Group: Development/Languages/Python
-BuildRequires: python-Sphinx
-BuildRequires: python-openstackdocstheme
+BuildRequires: python3-Sphinx
+BuildRequires: python3-openstackdocstheme
%description -n python-oslo.serialization-doc
The oslo.serialization library provides support for representing objects
@@ -67,7 +65,7 @@
This package contains the documentation.
%prep
-%autosetup -p1 -n oslo.serialization-2.28.2
+%autosetup -p1 -n oslo.serialization-2.29.2
sed -i -e "s,bandit.*,," test-requirements.txt
%py_req_cleanup
@@ -75,7 +73,7 @@
%{python_build}
# generate html docs
-%{__python2} setup.py build_sphinx
+PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.1vbSFt/_old 2020-02-18 10:41:54.225127932 +0100
+++ /var/tmp/diff_new_pack.1vbSFt/_new 2020-02-18 10:41:54.225127932 +0100
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/oslo.serialization/oslo.serialization.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/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/oslo.serialization/stable/stein/requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/oslo.serialization/stable/train/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,oslo.serialization</param>
</service>
++++++ oslo.serialization-2.28.2.tar.gz -> oslo.serialization-2.29.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.28.2/.zuul.yaml
new/oslo.serialization-2.29.2/.zuul.yaml
--- old/oslo.serialization-2.28.2/.zuul.yaml 2019-02-28 19:03:05.000000000
+0100
+++ new/oslo.serialization-2.29.2/.zuul.yaml 2019-09-04 16:25:05.000000000
+0200
@@ -5,9 +5,7 @@
- lib-forward-testing-python3
- openstack-lower-constraints-jobs
- openstack-python-jobs
- - openstack-python35-jobs
- - openstack-python36-jobs
- - openstack-python37-jobs
+ - openstack-python3-train-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.28.2/AUTHORS
new/oslo.serialization-2.29.2/AUTHORS
--- old/oslo.serialization-2.28.2/AUTHORS 2019-02-28 19:05:44.000000000
+0100
+++ new/oslo.serialization-2.29.2/AUTHORS 2019-09-04 16:25:46.000000000
+0200
@@ -23,7 +23,9 @@
Flavio Percoco <[email protected]>
Gary Kotton <[email protected]>
Gevorg Davoian <[email protected]>
+Ghanshyam Mann <[email protected]>
He Jie Xu <[email protected]>
+Hervé Beraud <[email protected]>
Ian Cordasco <[email protected]>
Ihar Hrachyshka <[email protected]>
James Carey <[email protected]>
@@ -72,7 +74,10 @@
Zhongyue Luo <[email protected]>
avnish <[email protected]>
gecong1973 <[email protected]>
+gujin <[email protected]>
+jacky06 <[email protected]>
melissaml <[email protected]>
ricolin <[email protected]>
xianming.mao <[email protected]>
yanheven <[email protected]>
+zhangboye <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.28.2/ChangeLog
new/oslo.serialization-2.29.2/ChangeLog
--- old/oslo.serialization-2.28.2/ChangeLog 2019-02-28 19:05:44.000000000
+0100
+++ new/oslo.serialization-2.29.2/ChangeLog 2019-09-04 16:25:46.000000000
+0200
@@ -1,6 +1,28 @@
CHANGES
=======
+2.29.2
+------
+
+* Add Python 3 Train unit tests
+* Cap sphinx for py2 to match global requirements
+* Sync Sphinx requirement
+* Resolve some issue with tox.ini, setup.cfg
+* Dropping the py35 testing
+
+2.29.1
+------
+
+* Replace git.openstack.org URLs with opendev.org URLs
+* Explicitly set default\_flow\_style to False
+
+2.29.0
+------
+
+* OpenDev Migration Patch
+* Update master for stable/stein
+* Introduce a base yaml parser for all openstack components
+
2.28.2
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.28.2/PKG-INFO
new/oslo.serialization-2.29.2/PKG-INFO
--- old/oslo.serialization-2.28.2/PKG-INFO 2019-02-28 19:05:44.000000000
+0100
+++ new/oslo.serialization-2.29.2/PKG-INFO 2019-09-04 16:25:47.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.serialization
-Version: 2.28.2
+Version: 2.29.2
Summary: Oslo Serialization library
Home-page: https://docs.openstack.org/oslo.serialization/latest/
Author: OpenStack
@@ -32,7 +32,7 @@
* Free software: Apache license
* Documentation: https://docs.openstack.org/oslo.serialization/latest/
- * Source: https://git.openstack.org/cgit/openstack/oslo.serialization
+ * Source: https://opendev.org/openstack/oslo.serialization
* Bugs: https://bugs.launchpad.net/oslo.serialization
* Release notes:
https://docs.openstack.org/releasenotes/oslo.serialization/
@@ -47,4 +47,5 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.28.2/README.rst
new/oslo.serialization-2.29.2/README.rst
--- old/oslo.serialization-2.28.2/README.rst 2019-02-28 19:03:05.000000000
+0100
+++ new/oslo.serialization-2.29.2/README.rst 2019-09-04 16:25:05.000000000
+0200
@@ -24,6 +24,6 @@
* Free software: Apache license
* Documentation: https://docs.openstack.org/oslo.serialization/latest/
-* Source: https://git.openstack.org/cgit/openstack/oslo.serialization
+* Source: https://opendev.org/openstack/oslo.serialization
* Bugs: https://bugs.launchpad.net/oslo.serialization
* Release notes: https://docs.openstack.org/releasenotes/oslo.serialization/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.28.2/doc/requirements.txt
new/oslo.serialization-2.29.2/doc/requirements.txt
--- old/oslo.serialization-2.28.2/doc/requirements.txt 2019-02-28
19:03:05.000000000 +0100
+++ new/oslo.serialization-2.29.2/doc/requirements.txt 2019-09-04
16:25:05.000000000 +0200
@@ -3,5 +3,6 @@
# process, which may cause wedges in the gate later.
# These are needed for docs generation
openstackdocstheme>=1.18.1 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
reno>=2.5.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.28.2/oslo.serialization.egg-info/PKG-INFO
new/oslo.serialization-2.29.2/oslo.serialization.egg-info/PKG-INFO
--- old/oslo.serialization-2.28.2/oslo.serialization.egg-info/PKG-INFO
2019-02-28 19:05:44.000000000 +0100
+++ new/oslo.serialization-2.29.2/oslo.serialization.egg-info/PKG-INFO
2019-09-04 16:25:46.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.serialization
-Version: 2.28.2
+Version: 2.29.2
Summary: Oslo Serialization library
Home-page: https://docs.openstack.org/oslo.serialization/latest/
Author: OpenStack
@@ -32,7 +32,7 @@
* Free software: Apache license
* Documentation: https://docs.openstack.org/oslo.serialization/latest/
- * Source: https://git.openstack.org/cgit/openstack/oslo.serialization
+ * Source: https://opendev.org/openstack/oslo.serialization
* Bugs: https://bugs.launchpad.net/oslo.serialization
* Release notes:
https://docs.openstack.org/releasenotes/oslo.serialization/
@@ -47,4 +47,5 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.28.2/oslo.serialization.egg-info/SOURCES.txt
new/oslo.serialization-2.29.2/oslo.serialization.egg-info/SOURCES.txt
--- old/oslo.serialization-2.28.2/oslo.serialization.egg-info/SOURCES.txt
2019-02-28 19:05:44.000000000 +0100
+++ new/oslo.serialization-2.29.2/oslo.serialization.egg-info/SOURCES.txt
2019-09-04 16:25:47.000000000 +0200
@@ -34,6 +34,7 @@
oslo_serialization/base64.py
oslo_serialization/jsonutils.py
oslo_serialization/msgpackutils.py
+oslo_serialization/yamlutils.py
oslo_serialization/serializer/__init__.py
oslo_serialization/serializer/base_serializer.py
oslo_serialization/serializer/json_serializer.py
@@ -42,6 +43,7 @@
oslo_serialization/tests/test_base64.py
oslo_serialization/tests/test_jsonutils.py
oslo_serialization/tests/test_msgpackutils.py
+oslo_serialization/tests/test_yamlutils.py
releasenotes/notes/add-reno-996dd44974d53238.yaml
releasenotes/source/conf.py
releasenotes/source/index.rst
@@ -49,6 +51,7 @@
releasenotes/source/pike.rst
releasenotes/source/queens.rst
releasenotes/source/rocky.rst
+releasenotes/source/stein.rst
releasenotes/source/unreleased.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.28.2/oslo.serialization.egg-info/pbr.json
new/oslo.serialization-2.29.2/oslo.serialization.egg-info/pbr.json
--- old/oslo.serialization-2.28.2/oslo.serialization.egg-info/pbr.json
2019-02-28 19:05:44.000000000 +0100
+++ new/oslo.serialization-2.29.2/oslo.serialization.egg-info/pbr.json
2019-09-04 16:25:46.000000000 +0200
@@ -1 +1 @@
-{"git_version": "bc2a1fb", "is_release": true}
\ No newline at end of file
+{"git_version": "fa399b6", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.28.2/oslo.serialization.egg-info/requires.txt
new/oslo.serialization-2.29.2/oslo.serialization.egg-info/requires.txt
--- old/oslo.serialization-2.28.2/oslo.serialization.egg-info/requires.txt
2019-02-28 19:05:44.000000000 +0100
+++ new/oslo.serialization-2.29.2/oslo.serialization.egg-info/requires.txt
2019-09-04 16:25:46.000000000 +0200
@@ -3,3 +3,4 @@
msgpack>=0.5.2
oslo.utils>=3.33.0
pytz>=2013.6
+PyYAML>=3.12
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.28.2/oslo_serialization/tests/test_yamlutils.py
new/oslo.serialization-2.29.2/oslo_serialization/tests/test_yamlutils.py
--- old/oslo.serialization-2.28.2/oslo_serialization/tests/test_yamlutils.py
1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.serialization-2.29.2/oslo_serialization/tests/test_yamlutils.py
2019-09-04 16:25:05.000000000 +0200
@@ -0,0 +1,87 @@
+# 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.
+
+import os
+import tempfile
+import textwrap
+import uuid
+
+from oslotest import base
+
+from oslo_serialization import yamlutils as yaml
+
+
+class BehaviorTestCase(base.BaseTestCase):
+
+ def test_loading(self):
+ payload = textwrap.dedent('''
+ - foo: bar
+ - list:
+ - [one, two]
+ - {check: yaml, in: test}
+ ''')
+ expected = [
+ {'foo': 'bar'},
+ {'list': None},
+ ['one', 'two'],
+ {'check': 'yaml', 'in': 'test'}
+ ]
+ loaded = yaml.load(payload)
+ self.assertEqual(loaded, expected)
+
+ def test_loading_with_unsafe(self):
+ payload = textwrap.dedent('''
+ !!python/object/apply:os.system ['echo "hello"']
+ ''')
+ loaded = yaml.load(payload, is_safe=False)
+ expected = 0
+ self.assertEqual(loaded, expected)
+
+ def test_dumps(self):
+ payload = [
+ {'foo': 'bar'},
+ {'list': None},
+ ['one', 'two'],
+ {'check': 'yaml', 'in': 'test'}
+ ]
+ dumped = yaml.dumps(payload)
+ expected = textwrap.dedent('''\
+ - foo: bar
+ - list: null
+ - - one
+ - two
+ - check: yaml
+ in: test
+ ''')
+ self.assertEqual(dumped, expected)
+
+ def test_dump(self):
+ payload = [
+ {'foo': 'bar'},
+ {'list': None},
+ ['one', 'two'],
+ {'check': 'yaml', 'in': 'test'}
+ ]
+ tmpfile = os.path.join(tempfile.gettempdir(), str(uuid.uuid4()))
+ with open(tmpfile, 'w+') as fp:
+ yaml.dump(payload, fp)
+ with open(tmpfile, 'r') as fp:
+ file_content = fp.read()
+ expected = textwrap.dedent('''\
+ - foo: bar
+ - list: null
+ - - one
+ - two
+ - check: yaml
+ in: test
+ ''')
+ self.assertEqual(file_content, expected)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.28.2/oslo_serialization/yamlutils.py
new/oslo.serialization-2.29.2/oslo_serialization/yamlutils.py
--- old/oslo.serialization-2.28.2/oslo_serialization/yamlutils.py
1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.serialization-2.29.2/oslo_serialization/yamlutils.py
2019-09-04 16:25:05.000000000 +0200
@@ -0,0 +1,86 @@
+# 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.
+
+"""YAML related utilities.
+
+The main goal of this module is to standardize yaml management inside
+openstack. This module reduce technical debt by avoiding re-implementations
+of yaml manager in all the openstack projects.
+Use this module inside openstack projects to handle yaml securely and properly.
+"""
+
+import yaml
+
+
+def load(stream, is_safe=True):
+ """Converts a YAML document to a Python object.
+
+ :param stream: the YAML document to convert into a Python object. Accepts
+ a byte string, a Unicode string, an open binary file object,
+ or an open text file object.
+ :param is_safe: Turn off safe loading. True by default and only load
+ standard YAML. This option can be turned off by
+ passing ``is_safe=False`` if you need to load not only
+ standard YAML tags or if you need to construct an
+ arbitrary python object.
+
+ Stream specifications:
+
+ * An empty stream contains no documents.
+ * Documents are separated with ``---``.
+ * Documents may optionally end with ``...``.
+ * A single document may or may not be marked with ``---``.
+
+ Parses the given stream and returns a Python object constructed
+ from the first document in the stream. If there are no documents
+ in the stream, it returns None.
+ """
+ yaml_loader = yaml.Loader
+ if is_safe:
+ if hasattr(yaml, 'CSafeLoader'):
+ yaml_loader = yaml.CSafeLoader
+ else:
+ yaml_loader = yaml.SafeLoader
+ return yaml.load(stream, yaml_loader) # nosec B506
+
+
+def dumps(obj, is_safe=True):
+ """Converts a Python object to a YAML document.
+
+ :param obj: python object to convert into YAML representation.
+ :param is_safe: Turn off safe dumping.
+
+ Serializes the given Python object to a string and returns that string.
+ """
+ yaml_dumper = yaml.Dumper
+ if is_safe:
+ if hasattr(yaml, 'CSafeDumper'):
+ yaml_dumper = yaml.CSafeDumper
+ else:
+ yaml_dumper = yaml.SafeDumper
+ return yaml.dump(obj, default_flow_style=False, Dumper=yaml_dumper)
+
+
+def dump(obj, fp, is_safe=True):
+ """Converts a Python object as a YAML document to ``fp``.
+
+ :param obj: python object to convert into YAML representation.
+ :param fp: a ``.write()``-supporting file-like object
+ :param is_safe: Turn off safe dumping.
+ """
+ yaml_dumper = yaml.Dumper
+ if is_safe:
+ if hasattr(yaml, 'CSafeDumper'):
+ yaml_dumper = yaml.CSafeDumper
+ else:
+ yaml_dumper = yaml.SafeDumper
+ return yaml.dump(obj, fp, default_flow_style=False, Dumper=yaml_dumper)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.28.2/releasenotes/source/index.rst
new/oslo.serialization-2.29.2/releasenotes/source/index.rst
--- old/oslo.serialization-2.28.2/releasenotes/source/index.rst 2019-02-28
19:03:05.000000000 +0100
+++ new/oslo.serialization-2.29.2/releasenotes/source/index.rst 2019-09-04
16:25:05.000000000 +0200
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ stein
rocky
queens
pike
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.serialization-2.28.2/releasenotes/source/stein.rst
new/oslo.serialization-2.29.2/releasenotes/source/stein.rst
--- old/oslo.serialization-2.28.2/releasenotes/source/stein.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.serialization-2.29.2/releasenotes/source/stein.rst 2019-09-04
16:25:05.000000000 +0200
@@ -0,0 +1,6 @@
+===================================
+ Stein Series Release Notes
+===================================
+
+.. release-notes::
+ :branch: stable/stein
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.28.2/requirements.txt
new/oslo.serialization-2.29.2/requirements.txt
--- old/oslo.serialization-2.28.2/requirements.txt 2019-02-28
19:03:05.000000000 +0100
+++ new/oslo.serialization-2.29.2/requirements.txt 2019-09-04
16:25:05.000000000 +0200
@@ -12,3 +12,4 @@
msgpack>=0.5.2 # Apache-2.0
oslo.utils>=3.33.0 # Apache-2.0
pytz>=2013.6 # MIT
+PyYAML>=3.12 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.28.2/setup.cfg
new/oslo.serialization-2.29.2/setup.cfg
--- old/oslo.serialization-2.28.2/setup.cfg 2019-02-28 19:05:44.000000000
+0100
+++ new/oslo.serialization-2.29.2/setup.cfg 2019-09-04 16:25:47.000000000
+0200
@@ -16,21 +16,13 @@
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.5
+ Programming Language :: Python :: 3.6
+ Programming Language :: Python :: 3.7
[files]
packages =
oslo_serialization
-[build_sphinx]
-all-files = 1
-warning-is-error = 1
-source-dir = doc/source
-build-dir = doc/build
-
-[upload_sphinx]
-upload-dir = doc/build/html
-
[compile_catalog]
directory = oslo.serialization/locale
domain = oslo.serialization
@@ -45,7 +37,7 @@
mapping_file = babel.cfg
output_file = oslo.serialization/locale/oslo.serialization.pot
-[wheel]
+[bdist_wheel]
universal = 1
[egg_info]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.serialization-2.28.2/tox.ini
new/oslo.serialization-2.29.2/tox.ini
--- old/oslo.serialization-2.28.2/tox.ini 2019-02-28 19:03:05.000000000
+0100
+++ new/oslo.serialization-2.29.2/tox.ini 2019-09-04 16:25:05.000000000
+0200
@@ -1,55 +1,47 @@
[tox]
-minversion = 2.0
-envlist = py35,py27,pep8
+minversion = 3.1
+envlist = py27,py37,pep8
+basepython = python3
+ignore_basepython_conflict = True
[testenv]
install_command = pip install {opts} {packages}
deps =
-
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
-[testenv:py27]
-basepython = python2.7
-
[testenv:pep8]
-basepython = python3
-deps =
- -r{toxinidir}/test-requirements.txt
commands =
flake8
# Run security linter
bandit -r oslo_serialization tests -n5
[testenv:venv]
-basepython = python3
commands = {posargs}
-[testenv:docs]
-basepython = python3
-deps = -r{toxinidir}/doc/requirements.txt
-commands = sphinx-build -W -b html doc/source doc/build/html
-
[testenv:cover]
-basepython = python3
commands = python setup.py test --coverage
--coverage-package-name=oslo_serialization --testr-args='{posargs}'
-[flake8]
-# E123, E125 skipped as they are invalid PEP-8.
-
-show-source = True
-ignore = E123,E125
-exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
+[testenv:docs]
+deps =
+
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
+ -r{toxinidir}/doc/requirements.txt
+commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
-basepython = python3
-deps = -r{toxinidir}/doc/requirements.txt
+deps = {[testenv:docs]deps}
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html
releasenotes/source releasenotes/build/html
[testenv:lower-constraints]
-basepython = python3
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
+
+[flake8]
+# E123, E125 skipped as they are invalid PEP-8.
+show-source = True
+ignore = E123,E125
+exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build