Hello community,

here is the log from the commit of package python-oslo.serialization for 
openSUSE:Factory checked in at 2020-10-26 16:17:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.serialization (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.serialization.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.serialization"

Mon Oct 26 16:17:08 2020 rev:16 rq:841217 version:4.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-oslo.serialization/python-oslo.serialization.changes
      2020-06-05 20:19:25.143704262 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.serialization.new.3463/python-oslo.serialization.changes
    2020-10-26 16:17:49.607008165 +0100
@@ -1,0 +2,19 @@
+Fri Oct  9 19:18:05 UTC 2020 - cloud-de...@suse.de
+
+- update to version 4.0.1
+  - Add py38 package metadata
+  - Bump default tox env from py37 to py38
+  - Bump bandit version
+  - Update master for stable/ussuri
+  - Remove the unused coding style modules
+  - Fix pygments style
+  - Align contributing doc with oslo's policy
+  - Switch to newer openstackdocstheme and reno versions
+  - Remove the yamlutils module.
+  - Update openstackdocstheme.
+  - Stop to use the __future__ module.
+  - Add release notes links to doc index
+  - Remove translation sections from setup.cfg
+  - Add Python3 victoria unit tests
+
+-------------------------------------------------------------------

Old:
----
  oslo.serialization-3.1.1.tar.gz

New:
----
  oslo.serialization-4.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-oslo.serialization.spec ++++++
--- /var/tmp/diff_new_pack.ePAFGv/_old  2020-10-26 16:17:50.367008776 +0100
+++ /var/tmp/diff_new_pack.ePAFGv/_new  2020-10-26 16:17:50.371008780 +0100
@@ -17,13 +17,13 @@
 
 
 Name:           python-oslo.serialization
-Version:        3.1.1
+Version:        4.0.1
 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-3.1.1.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.serialization/oslo.serialization-4.0.1.tar.gz
 BuildRequires:  openstack-macros
 BuildRequires:  python3-mock
 BuildRequires:  python3-msgpack >= 0.5.2
@@ -65,7 +65,7 @@
 This package contains the documentation.
 
 %prep
-%autosetup -p1 -n oslo.serialization-3.1.1
+%autosetup -p1 -n oslo.serialization-4.0.1
 sed -i -e "s,bandit.*,," test-requirements.txt
 %py_req_cleanup
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.ePAFGv/_old  2020-10-26 16:17:50.399008802 +0100
+++ /var/tmp/diff_new_pack.ePAFGv/_new  2020-10-26 16:17:50.399008802 +0100
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/ussuri/openstack/oslo.serialization/oslo.serialization.spec.j2</param>
+    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/victoria/openstack/oslo.serialization/oslo.serialization.spec.j2</param>
     <param name="output-name">python-oslo.serialization.spec</param>
-    <param 
name="requirements">https://opendev.org/openstack/oslo.serialization/raw/branch/stable/ussuri/requirements.txt</param>
+    <param 
name="requirements">https://opendev.org/openstack/oslo.serialization/raw/branch/stable/victoria/requirements.txt</param>
     <param name="changelog-email">cloud-de...@suse.de</param>
     <param name="changelog-provider">gh,openstack,oslo.serialization</param>
   </service>

++++++ oslo.serialization-3.1.1.tar.gz -> oslo.serialization-4.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/.zuul.yaml 
new/oslo.serialization-4.0.1/.zuul.yaml
--- old/oslo.serialization-3.1.1/.zuul.yaml     2020-04-07 12:07:29.000000000 
+0200
+++ new/oslo.serialization-4.0.1/.zuul.yaml     2020-09-11 21:19:25.000000000 
+0200
@@ -3,7 +3,7 @@
       - check-requirements
       - lib-forward-testing-python3
       - openstack-lower-constraints-jobs
-      - openstack-python3-ussuri-jobs
+      - openstack-python3-victoria-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-3.1.1/AUTHORS 
new/oslo.serialization-4.0.1/AUTHORS
--- old/oslo.serialization-3.1.1/AUTHORS        2020-04-07 12:08:36.000000000 
+0200
+++ new/oslo.serialization-4.0.1/AUTHORS        2020-09-11 21:20:29.000000000 
+0200
@@ -49,6 +49,7 @@
 Matt Riedemann <mrie...@us.ibm.com>
 Mehdi Abaakouk <sil...@redhat.com>
 Mike Heald <mike.he...@hp.com>
+Moisés Guimarães de Medeiros <mogui...@redhat.com>
 Monty Taylor <mord...@inaugust.com>
 Morgan <morgan.fainb...@gmail.com>
 Morgan Fainberg <morgan.fainb...@gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/CONTRIBUTING.rst 
new/oslo.serialization-4.0.1/CONTRIBUTING.rst
--- old/oslo.serialization-3.1.1/CONTRIBUTING.rst       2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/CONTRIBUTING.rst       2020-09-11 
21:19:25.000000000 +0200
@@ -1,3 +1,8 @@
+If you would like to contribute to the development of oslo's libraries,
+first you must take a look to this page:
+
+   
https://specs.openstack.org/openstack/oslo-specs/specs/policy/contributing.html
+
 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/ChangeLog 
new/oslo.serialization-4.0.1/ChangeLog
--- old/oslo.serialization-3.1.1/ChangeLog      2020-04-07 12:08:36.000000000 
+0200
+++ new/oslo.serialization-4.0.1/ChangeLog      2020-09-11 21:20:29.000000000 
+0200
@@ -1,6 +1,32 @@
 CHANGES
 =======
 
+4.0.1
+-----
+
+* Bump bandit version
+* Update openstackdocstheme
+
+4.0.0
+-----
+
+* Remove the yamlutils module
+* Fix pygments style
+
+3.2.0
+-----
+
+* Stop to use the \_\_future\_\_ module
+* Switch to newer openstackdocstheme and reno versions
+* Remove the unused coding style modules
+* Remove translation sections from setup.cfg
+* Align contributing doc with oslo's policy
+* Bump default tox env from py37 to py38
+* Add py38 package metadata
+* Add release notes links to doc index
+* Add Python3 victoria unit tests
+* Update master for stable/ussuri
+
 3.1.1
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/PKG-INFO 
new/oslo.serialization-4.0.1/PKG-INFO
--- old/oslo.serialization-3.1.1/PKG-INFO       2020-04-07 12:08:36.000000000 
+0200
+++ new/oslo.serialization-4.0.1/PKG-INFO       2020-09-11 21:20:29.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: oslo.serialization
-Version: 3.1.1
+Version: 4.0.1
 Summary: Oslo Serialization library
 Home-page: https://docs.openstack.org/oslo.serialization/latest/
 Author: OpenStack
@@ -47,6 +47,7 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/babel.cfg 
new/oslo.serialization-4.0.1/babel.cfg
--- old/oslo.serialization-3.1.1/babel.cfg      2020-04-07 12:07:29.000000000 
+0200
+++ new/oslo.serialization-4.0.1/babel.cfg      1970-01-01 01:00:00.000000000 
+0100
@@ -1 +0,0 @@
-[python: **.py]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/doc/requirements.txt 
new/oslo.serialization-4.0.1/doc/requirements.txt
--- old/oslo.serialization-3.1.1/doc/requirements.txt   2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/doc/requirements.txt   2020-09-11 
21:19:25.000000000 +0200
@@ -2,6 +2,6 @@
 # of appearance. Changing the order has an impact on the overall integration
 # process, which may cause wedges in the gate later.
 # These are needed for docs generation
-openstackdocstheme>=1.18.1 # Apache-2.0
-sphinx>=1.8.0,!=2.1.0 # BSD
-reno>=2.5.0 # Apache-2.0
+openstackdocstheme>=2.2.2 # Apache-2.0
+sphinx>=2.0.0,!=2.1.0 # BSD
+reno>=3.1.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/doc/source/conf.py 
new/oslo.serialization-4.0.1/doc/source/conf.py
--- old/oslo.serialization-3.1.1/doc/source/conf.py     2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/doc/source/conf.py     2020-09-11 
21:19:25.000000000 +0200
@@ -27,9 +27,9 @@
 ]
 
 # openstackdocstheme options
-repository_name = 'openstack/oslo.serialization'
-bug_project = 'oslo.serialization'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/oslo.serialization'
+openstackdocs_bug_project = 'oslo.serialization'
+openstackdocs_bug_tag = ''
 
 # autodoc generation is a bit aggressive and a nuisance when doing heavy
 # text edit cycles.
@@ -53,7 +53,7 @@
 add_module_names = True
 
 # The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
+pygments_style = 'native'
 
 # -- Options for HTML output --------------------------------------------------
 
@@ -64,8 +64,6 @@
 # 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
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/doc/source/index.rst 
new/oslo.serialization-4.0.1/doc/source/index.rst
--- old/oslo.serialization-3.1.1/doc/source/index.rst   2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/doc/source/index.rst   2020-09-11 
21:19:25.000000000 +0200
@@ -5,6 +5,9 @@
 The `oslo`_ serialization library provides support for representing objects
 in transmittable and storable formats, such as JSON and MessagePack.
 
+Contents
+========
+
 .. toctree::
    :maxdepth: 1
 
@@ -13,7 +16,14 @@
    contributor/index
    reference/index
 
-.. rubric:: Indices and tables
+Release Notes
+=============
+
+Read also the `oslo.serialization Release Notes
+<https://docs.openstack.org/releasenotes/oslo.serialization/>`_.
+
+Indices and tables
+==================
 
 * :ref:`genindex`
 * :ref:`modindex`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/lower-constraints.txt 
new/oslo.serialization-4.0.1/lower-constraints.txt
--- old/oslo.serialization-3.1.1/lower-constraints.txt  2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/lower-constraints.txt  2020-09-11 
21:19:25.000000000 +0200
@@ -11,7 +11,6 @@
 iso8601==0.1.11
 keystoneauth1==3.4.0
 linecache2==1.0.0
-mccabe==0.2.1
 mox3==0.20.0
 msgpack==0.5.2
 netaddr==0.7.18
@@ -25,7 +24,6 @@
 python-mimeparse==1.6.0
 python-subunit==1.0.0
 pytz==2013.6
-PyYAML==3.12
 requests==2.14.2
 requestsexceptions==1.2.0
 smmap==0.9.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.serialization-3.1.1/oslo.serialization.egg-info/PKG-INFO 
new/oslo.serialization-4.0.1/oslo.serialization.egg-info/PKG-INFO
--- old/oslo.serialization-3.1.1/oslo.serialization.egg-info/PKG-INFO   
2020-04-07 12:08:36.000000000 +0200
+++ new/oslo.serialization-4.0.1/oslo.serialization.egg-info/PKG-INFO   
2020-09-11 21:20:29.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: oslo.serialization
-Version: 3.1.1
+Version: 4.0.1
 Summary: Oslo Serialization library
 Home-page: https://docs.openstack.org/oslo.serialization/latest/
 Author: OpenStack
@@ -47,6 +47,7 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.serialization-3.1.1/oslo.serialization.egg-info/SOURCES.txt 
new/oslo.serialization-4.0.1/oslo.serialization.egg-info/SOURCES.txt
--- old/oslo.serialization-3.1.1/oslo.serialization.egg-info/SOURCES.txt        
2020-04-07 12:08:36.000000000 +0200
+++ new/oslo.serialization-4.0.1/oslo.serialization.egg-info/SOURCES.txt        
2020-09-11 21:20:29.000000000 +0200
@@ -8,7 +8,6 @@
 HACKING.rst
 LICENSE
 README.rst
-babel.cfg
 lower-constraints.txt
 requirements.txt
 setup.cfg
@@ -34,7 +33,6 @@
 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
@@ -43,10 +41,10 @@
 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/notes/deprecate-yamlutils-module-96eee55f7ae57382.yaml
 releasenotes/notes/drop-python27-support-185668eec068ffa5.yaml
+releasenotes/notes/remove-yamlutils-94c921247ab33003.yaml
 releasenotes/source/conf.py
 releasenotes/source/index.rst
 releasenotes/source/ocata.rst
@@ -56,5 +54,6 @@
 releasenotes/source/stein.rst
 releasenotes/source/train.rst
 releasenotes/source/unreleased.rst
+releasenotes/source/ussuri.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-3.1.1/oslo.serialization.egg-info/pbr.json 
new/oslo.serialization-4.0.1/oslo.serialization.egg-info/pbr.json
--- old/oslo.serialization-3.1.1/oslo.serialization.egg-info/pbr.json   
2020-04-07 12:08:36.000000000 +0200
+++ new/oslo.serialization-4.0.1/oslo.serialization.egg-info/pbr.json   
2020-09-11 21:20:29.000000000 +0200
@@ -1 +1 @@
-{"git_version": "5ee9b7b", "is_release": true}
\ No newline at end of file
+{"git_version": "c7884b2", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.serialization-3.1.1/oslo.serialization.egg-info/requires.txt 
new/oslo.serialization-4.0.1/oslo.serialization.egg-info/requires.txt
--- old/oslo.serialization-3.1.1/oslo.serialization.egg-info/requires.txt       
2020-04-07 12:08:36.000000000 +0200
+++ new/oslo.serialization-4.0.1/oslo.serialization.egg-info/requires.txt       
2020-09-11 21:20:29.000000000 +0200
@@ -1,6 +1,4 @@
-pbr!=2.1.0,>=2.0.0
 msgpack>=0.5.2
 oslo.utils>=3.33.0
+pbr!=2.1.0,>=2.0.0
 pytz>=2013.6
-PyYAML>=3.12
-debtcollector>=1.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.serialization-3.1.1/oslo_serialization/base64.py 
new/oslo.serialization-4.0.1/oslo_serialization/base64.py
--- old/oslo.serialization-3.1.1/oslo_serialization/base64.py   2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/oslo_serialization/base64.py   2020-09-11 
21:19:25.000000000 +0200
@@ -19,8 +19,6 @@
 .. versionadded:: 1.10
 """
 
-from __future__ import absolute_import
-
 import base64
 import binascii
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.serialization-3.1.1/oslo_serialization/tests/test_yamlutils.py 
new/oslo.serialization-4.0.1/oslo_serialization/tests/test_yamlutils.py
--- old/oslo.serialization-3.1.1/oslo_serialization/tests/test_yamlutils.py     
2020-04-07 12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/oslo_serialization/tests/test_yamlutils.py     
1970-01-01 01:00:00.000000000 +0100
@@ -1,87 +0,0 @@
-#    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-3.1.1/oslo_serialization/yamlutils.py 
new/oslo.serialization-4.0.1/oslo_serialization/yamlutils.py
--- old/oslo.serialization-3.1.1/oslo_serialization/yamlutils.py        
2020-04-07 12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/oslo_serialization/yamlutils.py        
1970-01-01 01:00:00.000000000 +0100
@@ -1,93 +0,0 @@
-#    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.
-"""
-
-from debtcollector import removals
-import yaml
-
-
-removals.removed_module(
-    'oslo_serialization.yamlutils', version='3.0.0',
-    removal_version='4.0.0',
-    message='The oslo_serialization.yamlutils will be removed')
-
-
-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-3.1.1/releasenotes/notes/remove-yamlutils-94c921247ab33003.yaml
 
new/oslo.serialization-4.0.1/releasenotes/notes/remove-yamlutils-94c921247ab33003.yaml
--- 
old/oslo.serialization-3.1.1/releasenotes/notes/remove-yamlutils-94c921247ab33003.yaml
      1970-01-01 01:00:00.000000000 +0100
+++ 
new/oslo.serialization-4.0.1/releasenotes/notes/remove-yamlutils-94c921247ab33003.yaml
      2020-09-11 21:19:25.000000000 +0200
@@ -0,0 +1,3 @@
+---
+other:
+  - Remove the yamlutils, the pyyaml is now safe by default.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/releasenotes/source/conf.py 
new/oslo.serialization-4.0.1/releasenotes/source/conf.py
--- old/oslo.serialization-3.1.1/releasenotes/source/conf.py    2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/releasenotes/source/conf.py    2020-09-11 
21:19:25.000000000 +0200
@@ -40,9 +40,10 @@
 ]
 
 # openstackdocstheme options
-repository_name = 'openstack/oslo.serialization'
-bug_project = 'oslo.serialization'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/oslo.serialization'
+openstackdocs_bug_project = 'oslo.serialization'
+openstackdocs_bug_tag = ''
+openstackdocs_auto_name = False
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -97,7 +98,7 @@
 # show_authors = False
 
 # The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
+pygments_style = 'native'
 
 # A list of ignored prefixes for module index sorting.
 # modindex_common_prefix = []
@@ -146,10 +147,6 @@
 # directly to the root of the documentation.
 # html_extra_path = []
 
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
-
 # If true, SmartyPants will be used to convert quotes and dashes to
 # typographically correct entities.
 # html_use_smartypants = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.serialization-3.1.1/releasenotes/source/index.rst 
new/oslo.serialization-4.0.1/releasenotes/source/index.rst
--- old/oslo.serialization-3.1.1/releasenotes/source/index.rst  2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/releasenotes/source/index.rst  2020-09-11 
21:19:25.000000000 +0200
@@ -6,6 +6,7 @@
    :maxdepth: 1
 
    unreleased
+   ussuri
    train
    stein
    rocky
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.serialization-3.1.1/releasenotes/source/ussuri.rst 
new/oslo.serialization-4.0.1/releasenotes/source/ussuri.rst
--- old/oslo.serialization-3.1.1/releasenotes/source/ussuri.rst 1970-01-01 
01:00:00.000000000 +0100
+++ new/oslo.serialization-4.0.1/releasenotes/source/ussuri.rst 2020-09-11 
21:19:25.000000000 +0200
@@ -0,0 +1,6 @@
+===========================
+Ussuri Series Release Notes
+===========================
+
+.. release-notes::
+   :branch: stable/ussuri
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/requirements.txt 
new/oslo.serialization-4.0.1/requirements.txt
--- old/oslo.serialization-3.1.1/requirements.txt       2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/requirements.txt       2020-09-11 
21:19:25.000000000 +0200
@@ -11,5 +11,3 @@
 msgpack>=0.5.2 # Apache-2.0
 oslo.utils>=3.33.0 # Apache-2.0
 pytz>=2013.6 # MIT
-PyYAML>=3.12 # MIT
-debtcollector>=1.2.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/setup.cfg 
new/oslo.serialization-4.0.1/setup.cfg
--- old/oslo.serialization-3.1.1/setup.cfg      2020-04-07 12:08:36.000000000 
+0200
+++ new/oslo.serialization-4.0.1/setup.cfg      2020-09-11 21:20:29.000000000 
+0200
@@ -17,6 +17,7 @@
        Programming Language :: Python :: 3
        Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
+       Programming Language :: Python :: 3.8
        Programming Language :: Python :: 3 :: Only
        Programming Language :: Python :: Implementation :: CPython
 
@@ -24,20 +25,6 @@
 packages = 
        oslo_serialization
 
-[compile_catalog]
-directory = oslo.serialization/locale
-domain = oslo.serialization
-
-[update_catalog]
-domain = oslo.serialization
-output_dir = oslo.serialization/locale
-input_file = oslo.serialization/locale/oslo.serialization.pot
-
-[extract_messages]
-keywords = _ gettext ngettext l_ lazy_gettext
-mapping_file = babel.cfg
-output_file = oslo.serialization/locale/oslo.serialization.pot
-
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/test-requirements.txt 
new/oslo.serialization-4.0.1/test-requirements.txt
--- old/oslo.serialization-3.1.1/test-requirements.txt  2020-04-07 
12:07:29.000000000 +0200
+++ new/oslo.serialization-4.0.1/test-requirements.txt  2020-09-11 
21:19:25.000000000 +0200
@@ -10,4 +10,4 @@
 coverage!=4.4,>=4.0 # Apache-2.0
 
 # Bandit security code scanner
-bandit>=1.1.0 # Apache-2.0
+bandit>=1.6.0,<1.7.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.serialization-3.1.1/tox.ini 
new/oslo.serialization-4.0.1/tox.ini
--- old/oslo.serialization-3.1.1/tox.ini        2020-04-07 12:07:29.000000000 
+0200
+++ new/oslo.serialization-4.0.1/tox.ini        2020-09-11 21:19:25.000000000 
+0200
@@ -1,6 +1,6 @@
 [tox]
 minversion = 3.2.0
-envlist = py37,pep8
+envlist = py38,pep8
 basepython = python3
 ignore_basepython_conflict = true
 


Reply via email to