Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-oslo.privsep for
openSUSE:Factory checked in at 2022-05-13 23:03:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.privsep (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.privsep.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.privsep"
Fri May 13 23:03:38 2022 rev:17 rq:977079 version:2.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.privsep/python-oslo.privsep.changes
2021-12-12 00:57:44.150589581 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.privsep.new.1538/python-oslo.privsep.changes
2022-05-13 23:03:48.947158660 +0200
@@ -1,0 +2,14 @@
+Fri May 13 18:30:02 UTC 2022 - [email protected]
+
+- update to version 2.8.0
+ - Fix formatting of release list
+ - Add note explaining max_buffer_size value
+ - Update master for stable/yoga
+ - Remove unnecessary unicode prefixes
+ - Bump max_buffer_size for Deserializer
+ - Add Python3 yoga unit tests
+ - Add Python3 zed unit tests
+ - Remove six
+ - Update master for stable/xena
+
+-------------------------------------------------------------------
Old:
----
oslo.privsep-2.6.2.tar.gz
New:
----
oslo.privsep-2.8.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.privsep.spec ++++++
--- /var/tmp/diff_new_pack.o7gklh/_old 2022-05-13 23:03:49.439159113 +0200
+++ /var/tmp/diff_new_pack.o7gklh/_new 2022-05-13 23:03:49.447159120 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.privsep
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: python-oslo.privsep
-Version: 2.6.2
+Version: 2.8.0
Release: 0
Summary: OpenStack library for privilege separation
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/oslo.privsep
-Source0:
https://files.pythonhosted.org/packages/source/o/oslo.privsep/oslo.privsep-2.6.2.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/o/oslo.privsep/oslo.privsep-2.8.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-cffi >= 1.14.0
BuildRequires: python3-eventlet >= 0.21.0
@@ -69,7 +69,7 @@
Documentation for oslo.privsep
%prep
-%autosetup -p1 -n oslo.privsep-2.6.2
+%autosetup -p1 -n oslo.privsep-2.8.0
%py_req_cleanup
%build
@@ -91,7 +91,7 @@
%license LICENSE
%{_bindir}/privsep-helper
%{python3_sitelib}/oslo_privsep
-%{python3_sitelib}/oslo.privsep-*-py?.?.egg-info
+%{python3_sitelib}/oslo.privsep-*-py?.*.egg-info
%files -n python-oslo.privsep-doc
%doc doc/build/html
++++++ oslo.privsep-2.6.2.tar.gz -> oslo.privsep-2.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/.zuul.yaml
new/oslo.privsep-2.8.0/.zuul.yaml
--- old/oslo.privsep-2.6.2/.zuul.yaml 2021-08-26 17:49:16.000000000 +0200
+++ new/oslo.privsep-2.8.0/.zuul.yaml 2022-04-27 17:30:41.000000000 +0200
@@ -2,7 +2,7 @@
templates:
- check-requirements
- lib-forward-testing-python3
- - openstack-python3-xena-jobs
+ - openstack-python3-zed-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/AUTHORS
new/oslo.privsep-2.8.0/AUTHORS
--- old/oslo.privsep-2.6.2/AUTHORS 2021-08-26 17:49:51.000000000 +0200
+++ new/oslo.privsep-2.8.0/AUTHORS 2022-04-27 17:31:23.000000000 +0200
@@ -26,9 +26,11 @@
Joshua Harlow <[email protected]>
Joshua Harlow <[email protected]>
Kirill Bespalov <[email protected]>
+Mohammed Naser <[email protected]>
Mois??s Guimar??es de Medeiros <[email protected]>
OpenStack Release Bot <[email protected]>
Pavlo Shchelokovskyy <[email protected]>
+Pierre Riteau <[email protected]>
Rodolfo Alonso <[email protected]>
Rodolfo Alonso Hernandez <[email protected]>
Sam Wan <[email protected]>
@@ -54,6 +56,7 @@
pengyuesheng <[email protected]>
ricolin <[email protected]>
shupeng <[email protected]>
+songwenping <[email protected]>
sonu.kumar <[email protected]>
wangqi <[email protected]>
wu.shiming <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/ChangeLog
new/oslo.privsep-2.8.0/ChangeLog
--- old/oslo.privsep-2.6.2/ChangeLog 2021-08-26 17:49:51.000000000 +0200
+++ new/oslo.privsep-2.8.0/ChangeLog 2022-04-27 17:31:23.000000000 +0200
@@ -1,6 +1,23 @@
CHANGES
=======
+2.8.0
+-----
+
+* Remove unnecessary unicode prefixes
+* Add note explaining max\_buffer\_size value
+* Fix formatting of release list
+* Add Python3 zed unit tests
+* Update master for stable/yoga
+
+2.7.0
+-----
+
+* Remove six
+* Bump max\_buffer\_size for Deserializer
+* Add Python3 yoga unit tests
+* Update master for stable/xena
+
2.6.2
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/PKG-INFO
new/oslo.privsep-2.8.0/PKG-INFO
--- old/oslo.privsep-2.6.2/PKG-INFO 2021-08-26 17:49:51.674757700 +0200
+++ new/oslo.privsep-2.8.0/PKG-INFO 2022-04-27 17:31:23.932678500 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.privsep
-Version: 2.6.2
+Version: 2.8.0
Summary: OpenStack library for privilege separation
Home-page: https://docs.openstack.org/oslo.privsep/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/doc/source/conf.py
new/oslo.privsep-2.8.0/doc/source/conf.py
--- old/oslo.privsep-2.6.2/doc/source/conf.py 2021-08-26 17:49:16.000000000
+0200
+++ new/oslo.privsep-2.8.0/doc/source/conf.py 2022-04-27 17:30:41.000000000
+0200
@@ -36,7 +36,7 @@
master_doc = 'index'
# General information about the project.
-copyright = u'2014, OpenStack Foundation'
+copyright = '2014, OpenStack Foundation'
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/oslo.privsep.egg-info/PKG-INFO
new/oslo.privsep-2.8.0/oslo.privsep.egg-info/PKG-INFO
--- old/oslo.privsep-2.6.2/oslo.privsep.egg-info/PKG-INFO 2021-08-26
17:49:51.000000000 +0200
+++ new/oslo.privsep-2.8.0/oslo.privsep.egg-info/PKG-INFO 2022-04-27
17:31:23.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.privsep
-Version: 2.6.2
+Version: 2.8.0
Summary: OpenStack library for privilege separation
Home-page: https://docs.openstack.org/oslo.privsep/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/oslo.privsep.egg-info/SOURCES.txt
new/oslo.privsep-2.8.0/oslo.privsep.egg-info/SOURCES.txt
--- old/oslo.privsep-2.6.2/oslo.privsep.egg-info/SOURCES.txt 2021-08-26
17:49:51.000000000 +0200
+++ new/oslo.privsep-2.8.0/oslo.privsep.egg-info/SOURCES.txt 2022-04-27
17:31:23.000000000 +0200
@@ -69,6 +69,8 @@
releasenotes/source/ussuri.rst
releasenotes/source/victoria.rst
releasenotes/source/wallaby.rst
+releasenotes/source/xena.rst
+releasenotes/source/yoga.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/oslo.privsep.egg-info/pbr.json
new/oslo.privsep-2.8.0/oslo.privsep.egg-info/pbr.json
--- old/oslo.privsep-2.6.2/oslo.privsep.egg-info/pbr.json 2021-08-26
17:49:51.000000000 +0200
+++ new/oslo.privsep-2.8.0/oslo.privsep.egg-info/pbr.json 2022-04-27
17:31:23.000000000 +0200
@@ -1 +1 @@
-{"git_version": "a3256ac", "is_release": true}
\ No newline at end of file
+{"git_version": "fa16f4d", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/oslo_privsep/comm.py
new/oslo.privsep-2.8.0/oslo_privsep/comm.py
--- old/oslo.privsep-2.6.2/oslo_privsep/comm.py 2021-08-26 17:49:16.000000000
+0200
+++ new/oslo.privsep-2.8.0/oslo_privsep/comm.py 2022-04-27 17:30:41.000000000
+0200
@@ -28,7 +28,6 @@
import threading
import msgpack
-import six
from oslo_privsep._i18n import _
from oslo_utils import uuidutils
@@ -67,12 +66,18 @@
self.writesock.shutdown(socket.SHUT_WR)
-class Deserializer(six.Iterator):
+class Deserializer(object):
def __init__(self, readsock):
self.readsock = readsock
- self.unpacker = msgpack.Unpacker(use_list=False, raw=False,
- strict_map_key=False,
- unicode_errors='surrogateescape')
+ self.unpacker = msgpack.Unpacker(
+ use_list=False,
+ raw=False,
+ strict_map_key=False,
+ unicode_errors='surrogateescape',
+ # msgpack 1.0.0 set this value to 100MiB; raise it here for msgpack
+ # < 1.0.0
+ max_buffer_size=100 * 1024 * 1024,
+ )
def __iter__(self):
return self
@@ -202,7 +207,7 @@
self.reader_thread.join()
-class ServerChannel(six.Iterator):
+class ServerChannel(object):
"""Server-side twin to ClientChannel"""
def __init__(self, sock):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/oslo_privsep/daemon.py
new/oslo.privsep-2.8.0/oslo_privsep/daemon.py
--- old/oslo.privsep-2.6.2/oslo_privsep/daemon.py 2021-08-26
17:49:16.000000000 +0200
+++ new/oslo.privsep-2.8.0/oslo_privsep/daemon.py 2022-04-27
17:30:41.000000000 +0200
@@ -62,7 +62,6 @@
from oslo_log import log as logging
from oslo_utils import encodeutils
from oslo_utils import importutils
-import six
from oslo_privsep._i18n import _
from oslo_privsep import capabilities
@@ -513,8 +512,8 @@
reply = (comm.Message.ERR.value, cls_name, e.args)
try:
channel.send((msgid, reply))
- except IOError:
- self.communication_error = sys.exc_info()
+ except IOError as exc:
+ self.communication_error = exc
return _call_back
@@ -529,10 +528,10 @@
for msgid, msg in self.channel:
error = self.communication_error
if error:
- if error[1].errno == errno.EPIPE:
+ if error.errno == errno.EPIPE:
# Write stream closed, exit loop
break
- six.reraise(*error)
+ raise error
# Submit the command for execution
future = self.thread_pool.submit(self._process_cmd, msgid, *msg)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/oslo_privsep/tests/test_comm.py
new/oslo.privsep-2.8.0/oslo_privsep/tests/test_comm.py
--- old/oslo.privsep-2.6.2/oslo_privsep/tests/test_comm.py 2021-08-26
17:49:16.000000000 +0200
+++ new/oslo.privsep-2.8.0/oslo_privsep/tests/test_comm.py 2022-04-27
17:30:41.000000000 +0200
@@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import six
+import io
from oslotest import base
@@ -22,7 +22,7 @@
class BufSock(object):
def __init__(self):
self.readpos = 0
- self.buf = six.BytesIO()
+ self.buf = io.BytesIO()
def recv(self, bufsize):
if self.buf.closed:
@@ -72,7 +72,7 @@
self.assertSendable(data)
def test_unicode(self):
- data = u'\u4e09\u9df9\udc82'
+ data = '\u4e09\u9df9\udc82'
self.assertSendable(data)
def test_tuple(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/oslo_privsep/tests/test_daemon.py
new/oslo.privsep-2.8.0/oslo_privsep/tests/test_daemon.py
--- old/oslo.privsep-2.6.2/oslo_privsep/tests/test_daemon.py 2021-08-26
17:49:16.000000000 +0200
+++ new/oslo.privsep-2.8.0/oslo_privsep/tests/test_daemon.py 2022-04-27
17:30:41.000000000 +0200
@@ -25,7 +25,6 @@
from oslo_log import formatters
from oslo_log import log as logging
from oslotest import base
-import six
import testtools
from oslo_privsep import capabilities
@@ -96,15 +95,15 @@
level=logging.INFO))
# These write to the log on the priv side
- logme(logging.DEBUG, u'test@DEBUG')
- logme(logging.WARN, u'test@WARN')
+ logme(logging.DEBUG, 'test@DEBUG')
+ logme(logging.WARN, 'test@WARN')
time.sleep(0.1) # Hack to give logging thread a chance to run
# logger.output is the resulting log on the unpriv side.
# This should have been filtered based on (unpriv) loglevel.
- self.assertNotIn(u'test@DEBUG', logger.output)
- self.assertIn(u'test@WARN', logger.output)
+ self.assertNotIn('test@DEBUG', logger.output)
+ self.assertIn('test@WARN', logger.output)
def test_record_data(self):
logs = []
@@ -115,19 +114,19 @@
# class/function, not an instance :(
formatter=functools.partial(LogRecorder, logs)))
- logme(logging.WARN, u'test with exc', exc_info=True)
+ logme(logging.WARN, 'test with exc', exc_info=True)
time.sleep(0.1) # Hack to give logging thread a chance to run
self.assertEqual(1, len(logs))
record = logs[0]
- self.assertIn(u'test with exc', record.getMessage())
+ self.assertIn('test with exc', record.getMessage())
self.assertIsNone(record.exc_info)
- self.assertIn(u'TestException: with arg', record.exc_text)
+ self.assertIn('TestException: with arg', record.exc_text)
self.assertEqual('PrivContext(cfg_section=privsep)',
record.processName)
- self.assertIn(u'test_daemon.py', record.exc_text)
+ self.assertIn('test_daemon.py', record.exc_text)
self.assertEqual(logging.WARN, record.levelno)
self.assertEqual('logme', record.funcName)
@@ -140,7 +139,7 @@
# class/function, not an instance :(
formatter=functools.partial(LogRecorder, logs)))
- logme(logging.WARN, u'test with exc', exc_info=True)
+ logme(logging.WARN, 'test with exc', exc_info=True)
time.sleep(0.1) # Hack to give logging thread a chance to run
@@ -198,12 +197,12 @@
class ClientChannelTestCase(base.BaseTestCase):
DICT = {
- 'string_1': ('tuple_1', six.b('tuple_2')),
- six.b('byte_1'): ['list_1', 'list_2'],
+ 'string_1': ('tuple_1', b'tuple_2'),
+ b'byte_1': ['list_1', 'list_2'],
}
EXPECTED = {
- 'string_1': ('tuple_1', six.b('tuple_2')),
+ 'string_1': ('tuple_1', b'tuple_2'),
'byte_1': ['list_1', 'list_2'],
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/releasenotes/source/conf.py
new/oslo.privsep-2.8.0/releasenotes/source/conf.py
--- old/oslo.privsep-2.6.2/releasenotes/source/conf.py 2021-08-26
17:49:16.000000000 +0200
+++ new/oslo.privsep-2.8.0/releasenotes/source/conf.py 2022-04-27
17:30:41.000000000 +0200
@@ -59,7 +59,7 @@
master_doc = 'index'
# General information about the project.
-copyright = u'2016, oslo.privsep Developers'
+copyright = '2016, oslo.privsep Developers'
# Release notes do not need a version in the title, they span
# multiple versions.
@@ -199,8 +199,8 @@
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'oslo.privsepReleaseNotes.tex',
- u'oslo.privsep Release Notes Documentation',
- u'oslo.privsep Developers', 'manual'),
+ 'oslo.privsep Release Notes Documentation',
+ 'oslo.privsep Developers', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@@ -230,8 +230,8 @@
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'oslo.privsepReleaseNotes',
- u'oslo.privsep Release Notes Documentation',
- [u'oslo.privsep Developers'], 1)
+ 'oslo.privsep Release Notes Documentation',
+ ['oslo.privsep Developers'], 1)
]
# If true, show URL addresses after external links.
@@ -245,8 +245,8 @@
# dir menu entry, description, category)
texinfo_documents = [
('index', 'oslo.privsepReleaseNotes',
- u'oslo.privsep Release Notes Documentation',
- u'oslo.privsep Developers', 'oslo.privsepReleaseNotes',
+ 'oslo.privsep Release Notes Documentation',
+ 'oslo.privsep Developers', 'oslo.privsepReleaseNotes',
'OpenStack library for privilege separation.',
'Miscellaneous'),
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/releasenotes/source/index.rst
new/oslo.privsep-2.8.0/releasenotes/source/index.rst
--- old/oslo.privsep-2.6.2/releasenotes/source/index.rst 2021-08-26
17:49:16.000000000 +0200
+++ new/oslo.privsep-2.8.0/releasenotes/source/index.rst 2022-04-27
17:30:41.000000000 +0200
@@ -2,17 +2,19 @@
oslo.privsep Release Notes
============================
- .. toctree::
- :maxdepth: 1
+.. toctree::
+ :maxdepth: 1
- unreleased
- wallaby
- victoria
- ussuri
- train
- stein
- rocky
- queens
- pike
- ocata
- newton
+ unreleased
+ yoga
+ xena
+ wallaby
+ victoria
+ ussuri
+ train
+ stein
+ rocky
+ queens
+ pike
+ ocata
+ newton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/releasenotes/source/xena.rst
new/oslo.privsep-2.8.0/releasenotes/source/xena.rst
--- old/oslo.privsep-2.6.2/releasenotes/source/xena.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.privsep-2.8.0/releasenotes/source/xena.rst 2022-04-27
17:30:41.000000000 +0200
@@ -0,0 +1,6 @@
+=========================
+Xena Series Release Notes
+=========================
+
+.. release-notes::
+ :branch: stable/xena
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-2.6.2/releasenotes/source/yoga.rst
new/oslo.privsep-2.8.0/releasenotes/source/yoga.rst
--- old/oslo.privsep-2.6.2/releasenotes/source/yoga.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.privsep-2.8.0/releasenotes/source/yoga.rst 2022-04-27
17:30:41.000000000 +0200
@@ -0,0 +1,6 @@
+=========================
+Yoga Series Release Notes
+=========================
+
+.. release-notes::
+ :branch: stable/yoga