Hello community,
here is the log from the commit of package python-oslo.concurrency for openSUSE:Factory checked in at 2018-09-07 15:38:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.concurrency (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.concurrency.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.concurrency"
Fri Sep 7 15:38:43 2018 rev:12 rq:633096 version:3.27.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.concurrency/python-oslo.concurrency.changes 2018-03-19 23:35:37.767302918 +0100
+++ /work/SRC/openSUSE:Factory/.python-oslo.concurrency.new/python-oslo.concurrency.changes 2018-09-07 15:38:44.622578658 +0200
@@ -1,0 +2,14 @@
+Sat Sep 1 08:57:11 UTC 2018 - cloud-devel@suse.de
+
+- update to version 3.27.0
+ - set default python to python3
+ - Update doc links in CONTRIBUTING.rst and README.rst
+ - Mask passwords only when command execution fails
+ - Update reno for stable/queens
+ - fix lower constraints and uncap eventlet
+ - Imported Translations from Zanata
+ - Switch pep8 job to python 3
+ - Updated from global requirements
+ - add lower-constraints job
+
+-------------------------------------------------------------------
Old:
----
oslo.concurrency-3.25.0.tar.gz
New:
----
oslo.concurrency-3.27.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.concurrency.spec ++++++
--- /var/tmp/diff_new_pack.aa7aKm/_old 2018-09-07 15:38:45.770577425 +0200
+++ /var/tmp/diff_new_pack.aa7aKm/_new 2018-09-07 15:38:45.774577421 +0200
@@ -17,47 +17,47 @@
Name: python-oslo.concurrency
-Version: 3.25.0
+Version: 3.27.0
Release: 0
Summary: OpenStack oslo.concurrency library
License: Apache-2.0
Group: Development/Languages/Python
-Url: https://launchpad.net/oslo.concurrency
-Source0: https://files.pythonhosted.org/packages/source/o/oslo.concurrency/oslo.concu...
+URL: https://launchpad.net/oslo.concurrency
+Source0: https://files.pythonhosted.org/packages/source/o/oslo.concurrency/oslo.concu...
BuildRequires: openstack-macros
BuildRequires: python-devel
BuildRequires: python2-enum34 >= 1.0.4
-BuildRequires: python2-eventlet >= 0.18.2
+BuildRequires: python2-eventlet
BuildRequires: python2-fasteners >= 0.7.0
-BuildRequires: python2-fixtures >= 3.0.0
-BuildRequires: python2-futures >= 3.0.0
-BuildRequires: python2-mock >= 2.0.0
-BuildRequires: python2-oslo.config >= 5.1.0
+BuildRequires: python2-fixtures
+BuildRequires: python2-futures
+BuildRequires: python2-mock
+BuildRequires: python2-oslo.config >= 5.2.0
BuildRequires: python2-oslo.i18n >= 3.15.3
BuildRequires: python2-oslo.utils >= 3.33.0
-BuildRequires: python2-oslotest >= 3.2.0
+BuildRequires: python2-oslotest
BuildRequires: python2-pbr >= 2.0.0
-BuildRequires: python2-testrepository >= 0.0.18
-BuildRequires: python2-testscenarios >= 0.4
-BuildRequires: python2-testtools >= 2.2.0
-BuildRequires: python3-eventlet >= 0.18.2
+BuildRequires: python2-testrepository
+BuildRequires: python2-testscenarios
+BuildRequires: python2-testtools
+BuildRequires: python3-eventlet
BuildRequires: python3-fasteners >= 0.7.0
-BuildRequires: python3-fixtures >= 3.0.0
-BuildRequires: python3-mock >= 2.0.0
-BuildRequires: python3-oslo.config >= 5.1.0
+BuildRequires: python3-fixtures
+BuildRequires: python3-mock
+BuildRequires: python3-oslo.config >= 5.2.0
BuildRequires: python3-oslo.i18n >= 3.15.3
BuildRequires: python3-oslo.utils >= 3.33.0
-BuildRequires: python3-oslotest >= 3.2.0
+BuildRequires: python3-oslotest
BuildRequires: python3-pbr >= 2.0.0
-BuildRequires: python3-testrepository >= 0.0.18
-BuildRequires: python3-testscenarios >= 0.4
-BuildRequires: python3-testtools >= 2.2.0
+BuildRequires: python3-testrepository
+BuildRequires: python3-testscenarios
+BuildRequires: python3-testtools
Requires: python-fasteners >= 0.7.0
-Requires: python-iso8601 >= 0.1.11
-Requires: python-oslo.config >= 5.1.0
+Requires: python-iso8601
+Requires: python-oslo.config >= 5.2.0
Requires: python-oslo.i18n >= 3.15.3
Requires: python-oslo.utils >= 3.33.0
-Requires: python-retrying >= 1.2.3
+Requires: python-retrying
Requires: python-six >= 1.10.0
BuildArch: noarch
%ifpython2
@@ -82,7 +82,7 @@
Summary: Documentation for OpenStack concurrency library
Group: Development/Languages/Python
BuildRequires: python-Sphinx
-BuildRequires: python-openstackdocstheme >= 1.18.1
+BuildRequires: python-openstackdocstheme
%description -n python-oslo.concurrency-doc
The oslo.concurrency library has utilities for safely running multi-thread,
@@ -91,7 +91,7 @@
This package contains the documentation.
%prep
-%autosetup -p1 -n oslo.concurrency-3.25.0
+%autosetup -p1 -n oslo.concurrency-3.27.0
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
@@ -118,7 +118,7 @@
# Test suite fails on 32 bit platforms
# ifarch/ifnarch can not be used in noarch packages
if [ "%_lib" = "lib64" ]; then
-$python setup.py testr
+PYTHON=$python $python setup.py testr
fi
}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.aa7aKm/_old 2018-09-07 15:38:45.794577399 +0200
+++ /var/tmp/diff_new_pack.aa7aKm/_new 2018-09-07 15:38:45.794577399 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/open...</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/opens...</param>
<param name="output-name">python-oslo.concurrency.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/requ...</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.concurrency/stable/rocky/re...</param>
<param name="changelog-email">cloud-devel@suse.de</param>
<param name="changelog-provider">gh,openstack,oslo.concurrency</param>
</service>
++++++ oslo.concurrency-3.25.0.tar.gz -> oslo.concurrency-3.27.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/.zuul.yaml new/oslo.concurrency-3.27.0/.zuul.yaml
--- old/oslo.concurrency-3.25.0/.zuul.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.concurrency-3.27.0/.zuul.yaml 2018-04-17 17:30:13.000000000 +0200
@@ -0,0 +1,7 @@
+- project:
+ check:
+ jobs:
+ - openstack-tox-lower-constraints
+ gate:
+ jobs:
+ - openstack-tox-lower-constraints
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/AUTHORS new/oslo.concurrency-3.27.0/AUTHORS
--- old/oslo.concurrency-3.25.0/AUTHORS 2018-01-15 17:44:32.000000000 +0100
+++ new/oslo.concurrency-3.27.0/AUTHORS 2018-04-17 17:33:01.000000000 +0200
@@ -90,7 +90,9 @@
jichenjc
loooosy
melissaml
+prashkre
ricolin
+shangxiaobj
vponomaryov
yanheven
zhangsong
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/CONTRIBUTING.rst new/oslo.concurrency-3.27.0/CONTRIBUTING.rst
--- old/oslo.concurrency-3.25.0/CONTRIBUTING.rst 2018-01-15 17:41:02.000000000 +0100
+++ new/oslo.concurrency-3.27.0/CONTRIBUTING.rst 2018-04-17 17:30:13.000000000 +0200
@@ -1,13 +1,13 @@
If you would like to contribute to the development of OpenStack,
you must follow the steps in this page:
- http://docs.openstack.org/infra/manual/developers.html
+ https://docs.openstack.org/infra/manual/developers.html
Once those steps have been completed, changes to OpenStack
should be submitted for review via the Gerrit tool, following
the workflow documented at:
- http://docs.openstack.org/infra/manual/developers.html#development-workflow
+ https://docs.openstack.org/infra/manual/developers.html#development-workflow
Pull requests submitted through GitHub will be ignored.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/ChangeLog new/oslo.concurrency-3.27.0/ChangeLog
--- old/oslo.concurrency-3.25.0/ChangeLog 2018-01-15 17:44:32.000000000 +0100
+++ new/oslo.concurrency-3.27.0/ChangeLog 2018-04-17 17:33:01.000000000 +0200
@@ -1,6 +1,31 @@
CHANGES
=======
+3.27.0
+------
+
+* set default python to python3
+* Switch pep8 job to python 3
+* fix lower constraints and uncap eventlet
+* add lower-constraints job
+* Updated from global requirements
+* Updated from global requirements
+
+3.26.0
+------
+
+* Updated from global requirements
+* Updated from global requirements
+* Imported Translations from Zanata
+* Mask passwords only when command execution fails
+* Imported Translations from Zanata
+* Update reno for stable/queens
+* Updated from global requirements
+* Imported Translations from Zanata
+* Updated from global requirements
+* Update doc links in CONTRIBUTING.rst and README.rst
+* Updated from global requirements
+
3.25.0
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/PKG-INFO new/oslo.concurrency-3.27.0/PKG-INFO
--- old/oslo.concurrency-3.25.0/PKG-INFO 2018-01-15 17:44:33.000000000 +0100
+++ new/oslo.concurrency-3.27.0/PKG-INFO 2018-04-17 17:33:02.000000000 +0200
@@ -1,18 +1,17 @@
Metadata-Version: 1.1
Name: oslo.concurrency
-Version: 3.25.0
+Version: 3.27.0
Summary: Oslo Concurrency library
Home-page: https://docs.openstack.org/oslo.concurrency/latest/
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
-Description-Content-Type: UNKNOWN
Description: ========================
Team and repository tags
========================
- .. image:: http://governance.openstack.org/badges/oslo.concurrency.svg
- :target: http://governance.openstack.org/reference/tags/index.html
+ .. image:: https://governance.openstack.org/tc/badges/oslo.concurrency.svg
+ :target: https://governance.openstack.org/tc/reference/tags/index.html
.. Change things from this point on
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/README.rst new/oslo.concurrency-3.27.0/README.rst
--- old/oslo.concurrency-3.25.0/README.rst 2018-01-15 17:41:02.000000000 +0100
+++ new/oslo.concurrency-3.27.0/README.rst 2018-04-17 17:30:13.000000000 +0200
@@ -2,8 +2,8 @@
Team and repository tags
========================
-.. image:: http://governance.openstack.org/badges/oslo.concurrency.svg
- :target: http://governance.openstack.org/reference/tags/index.html
+.. image:: https://governance.openstack.org/tc/badges/oslo.concurrency.svg
+ :target: https://governance.openstack.org/tc/reference/tags/index.html
.. Change things from this point on
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/lower-constraints.txt new/oslo.concurrency-3.27.0/lower-constraints.txt
--- old/oslo.concurrency-3.25.0/lower-constraints.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.concurrency-3.27.0/lower-constraints.txt 2018-04-17 17:30:29.000000000 +0200
@@ -0,0 +1,61 @@
+alabaster==0.7.10
+appdirs==1.3.0
+Babel==2.3.4
+bandit==1.1.0
+coverage==4.0
+debtcollector==1.2.0
+docutils==0.11
+dulwich==0.15.0
+enum34==1.0.4;python_version=='2.7' or python_version=='2.6' or python_version=='3.3' # BSD
+eventlet==0.18.2
+extras==1.0.0
+fasteners==0.7.0
+fixtures==3.0.0
+flake8==2.5.5
+futures==3.0.0;python_version=='2.7' or python_version=='2.6' # BSD
+gitdb==0.6.4
+GitPython==1.0.1
+greenlet==0.4.10
+hacking==0.12.0
+imagesize==0.7.1
+iso8601==0.1.11
+Jinja2==2.10
+keystoneauth1==3.4.0
+linecache2==1.0.0
+MarkupSafe==1.0
+mccabe==0.2.1
+mock==2.0.0
+monotonic==0.6
+mox3==0.20.0
+netaddr==0.7.18
+netifaces==0.10.4
+openstackdocstheme==1.18.1
+os-client-config==1.28.0
+oslo.config==5.2.0
+oslo.i18n==3.15.3
+oslo.utils==3.33.0
+oslotest==3.2.0
+pbr==2.0.0
+pep8==1.5.7
+pyflakes==0.8.1
+Pygments==2.2.0
+pyparsing==2.1.0
+python-mimeparse==1.6.0
+python-subunit==1.0.0
+pytz==2013.6
+PyYAML==3.12
+reno==2.5.0
+requests==2.14.2
+requestsexceptions==1.2.0
+rfc3986==0.3.1
+six==1.10.0
+smmap==0.9.0
+snowballstemmer==1.2.1
+Sphinx==1.6.2
+sphinxcontrib-websupport==1.0.1
+stevedore==1.20.0
+testrepository==0.0.18
+testtools==2.2.0
+traceback2==1.4.0
+unittest2==1.1.0
+wrapt==1.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/oslo.concurrency.egg-info/PKG-INFO new/oslo.concurrency-3.27.0/oslo.concurrency.egg-info/PKG-INFO
--- old/oslo.concurrency-3.25.0/oslo.concurrency.egg-info/PKG-INFO 2018-01-15 17:44:32.000000000 +0100
+++ new/oslo.concurrency-3.27.0/oslo.concurrency.egg-info/PKG-INFO 2018-04-17 17:33:01.000000000 +0200
@@ -1,18 +1,17 @@
Metadata-Version: 1.1
Name: oslo.concurrency
-Version: 3.25.0
+Version: 3.27.0
Summary: Oslo Concurrency library
Home-page: https://docs.openstack.org/oslo.concurrency/latest/
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
-Description-Content-Type: UNKNOWN
Description: ========================
Team and repository tags
========================
- .. image:: http://governance.openstack.org/badges/oslo.concurrency.svg
- :target: http://governance.openstack.org/reference/tags/index.html
+ .. image:: https://governance.openstack.org/tc/badges/oslo.concurrency.svg
+ :target: https://governance.openstack.org/tc/reference/tags/index.html
.. Change things from this point on
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/oslo.concurrency.egg-info/SOURCES.txt new/oslo.concurrency-3.27.0/oslo.concurrency.egg-info/SOURCES.txt
--- old/oslo.concurrency-3.25.0/oslo.concurrency.egg-info/SOURCES.txt 2018-01-15 17:44:33.000000000 +0100
+++ new/oslo.concurrency-3.27.0/oslo.concurrency.egg-info/SOURCES.txt 2018-04-17 17:33:02.000000000 +0200
@@ -1,6 +1,7 @@
.coveragerc
.mailmap
.testr.conf
+.zuul.yaml
AUTHORS
CONTRIBUTING.rst
ChangeLog
@@ -8,6 +9,7 @@
LICENSE
README.rst
babel.cfg
+lower-constraints.txt
requirements.txt
setup.cfg
setup.py
@@ -61,6 +63,7 @@
releasenotes/source/newton.rst
releasenotes/source/ocata.rst
releasenotes/source/pike.rst
+releasenotes/source/queens.rst
releasenotes/source/unreleased.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/oslo.concurrency.egg-info/pbr.json new/oslo.concurrency-3.27.0/oslo.concurrency.egg-info/pbr.json
--- old/oslo.concurrency-3.25.0/oslo.concurrency.egg-info/pbr.json 2018-01-15 17:44:32.000000000 +0100
+++ new/oslo.concurrency-3.27.0/oslo.concurrency.egg-info/pbr.json 2018-04-17 17:33:01.000000000 +0200
@@ -1 +1 @@
-{"git_version": "55e0626", "is_release": true}
\ No newline at end of file
+{"git_version": "2429c4c", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/oslo.concurrency.egg-info/requires.txt new/oslo.concurrency-3.27.0/oslo.concurrency.egg-info/requires.txt
--- old/oslo.concurrency-3.25.0/oslo.concurrency.egg-info/requires.txt 2018-01-15 17:44:32.000000000 +0100
+++ new/oslo.concurrency-3.27.0/oslo.concurrency.egg-info/requires.txt 2018-04-17 17:33:01.000000000 +0200
@@ -1,7 +1,9 @@
pbr!=2.1.0,>=2.0.0
-enum34>=1.0.4
-oslo.config>=5.1.0
+oslo.config>=5.2.0
oslo.i18n>=3.15.3
oslo.utils>=3.33.0
six>=1.10.0
fasteners>=0.7.0
+
+[:(python_version=='2.7' or python_version=='2.6' or python_version=='3.3')]
+enum34>=1.0.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/oslo_concurrency/locale/en_GB/LC_MESSAGES/oslo_concurrency.po new/oslo.concurrency-3.27.0/oslo_concurrency/locale/en_GB/LC_MESSAGES/oslo_concurrency.po
--- old/oslo.concurrency-3.25.0/oslo_concurrency/locale/en_GB/LC_MESSAGES/oslo_concurrency.po 2018-01-15 17:41:02.000000000 +0100
+++ new/oslo.concurrency-3.27.0/oslo_concurrency/locale/en_GB/LC_MESSAGES/oslo_concurrency.po 2018-04-17 17:30:13.000000000 +0200
@@ -9,18 +9,18 @@
# Andi Chandler , 2017. #zanata
msgid ""
msgstr ""
-"Project-Id-Version: oslo.concurrency 3.20.1.dev7\n"
+"Project-Id-Version: oslo.concurrency VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
-"POT-Creation-Date: 2017-07-12 00:36+0000\n"
+"POT-Creation-Date: 2018-02-23 11:40+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2017-07-11 05:04+0000\n"
"Last-Translator: Andi Chandler \n"
-"Language: en-GB\n"
+"Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.0\n"
-"X-Generator: Zanata 3.9.6\n"
+"X-Generator: Zanata 4.3.3\n"
"Language-Team: English (United Kingdom)\n"
#, python-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/oslo_concurrency/processutils.py new/oslo.concurrency-3.27.0/oslo_concurrency/processutils.py
--- old/oslo.concurrency-3.25.0/oslo_concurrency/processutils.py 2018-01-15 17:41:33.000000000 +0100
+++ new/oslo.concurrency-3.27.0/oslo_concurrency/processutils.py 2018-04-17 17:30:29.000000000 +0200
@@ -503,9 +503,21 @@
def ssh_execute(ssh, cmd, process_input=None,
addl_env=None, check_exit_code=True,
- binary=False, timeout=None):
+ binary=False, timeout=None,
+ sanitize_stdout=True):
"""Run a command through SSH.
+ :param ssh: An SSH Connection object.
+ :param cmd: The command string to run.
+ :param check_exit_code: If an exception should be raised for non-zero
+ exit.
+ :param timeout: Max time in secs to wait for command execution.
+ :param sanitize_stdout: Defaults to True. If set to True, stdout is
+ sanitized i.e. any sensitive information like
+ password in command output will be masked.
+ :returns: (stdout, stderr) from command execution through
+ SSH.
+
.. versionchanged:: 1.9
Added *binary* optional parameter.
"""
@@ -537,13 +549,21 @@
# mask_password() requires Unicode on Python 3
stdout = os.fsdecode(stdout)
stderr = os.fsdecode(stderr)
- stdout = strutils.mask_password(stdout)
+
+ if sanitize_stdout:
+ stdout = strutils.mask_password(stdout)
+
stderr = strutils.mask_password(stderr)
# exit_status == -1 if no exit code was returned
if exit_status != -1:
LOG.debug('Result was %s' % exit_status)
if check_exit_code and exit_status != 0:
+ # In case of errors in command run, due to poor implementation of
+ # command executable program, there might be chance that it leaks
+ # sensitive information like password to stdout. In such cases
+ # stdout needs to be sanitized even though sanitize_stdout=False.
+ stdout = strutils.mask_password(stdout)
raise ProcessExecutionError(exit_code=exit_status,
stdout=stdout,
stderr=stderr,
@@ -555,9 +575,9 @@
# to decode it, or an Unicode string otherwise. Encode to the
# default encoding (ASCII) because mask_password() decodes from
# the same encoding.
- if isinstance(stdout, unicode):
+ if isinstance(stdout, six.text_type):
stdout = stdout.encode()
- if isinstance(stderr, unicode):
+ if isinstance(stderr, six.text_type):
stderr = stderr.encode()
else:
# fsencode() is the reverse operation of fsdecode()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/oslo_concurrency/tests/unit/test_processutils.py new/oslo.concurrency-3.27.0/oslo_concurrency/tests/unit/test_processutils.py
--- old/oslo.concurrency-3.25.0/oslo_concurrency/tests/unit/test_processutils.py 2018-01-15 17:41:33.000000000 +0100
+++ new/oslo.concurrency-3.27.0/oslo_concurrency/tests/unit/test_processutils.py 2018-04-17 17:30:13.000000000 +0200
@@ -758,7 +758,8 @@
fake_stdout.channel.recv_exit_status.return_value = rc
fake_stdout.read.return_value = b'password="secret"'
- fake_stderr = six.BytesIO(b'password="foobar"')
+ fake_stderr = mock.Mock()
+ fake_stderr.read.return_value = b'password="foobar"'
command = 'ls --password="bar"'
@@ -778,6 +779,20 @@
self.assertEqual('ls --password="***"', err.cmd)
self.assertNotIn('secret', str(err))
self.assertNotIn('foobar', str(err))
+
+ # test ssh_execute with sanitize_stdout=False
+ err = self.assertRaises(processutils.ProcessExecutionError,
+ processutils.ssh_execute,
+ connection, command,
+ check_exit_code=check,
+ sanitize_stdout=False)
+
+ self.assertEqual(rc, err.exit_code)
+ self.assertEqual('password="***"', err.stdout)
+ self.assertEqual('password="***"', err.stderr)
+ self.assertEqual('ls --password="***"', err.cmd)
+ self.assertNotIn('secret', str(err))
+ self.assertNotIn('foobar', str(err))
else:
o, e = processutils.ssh_execute(connection, command,
check_exit_code=check)
@@ -785,6 +800,15 @@
self.assertEqual('password="***"', e)
self.assertIn('password="***"', fixture.output)
self.assertNotIn('bar', fixture.output)
+
+ # test ssh_execute with sanitize_stdout=False
+ o, e = processutils.ssh_execute(connection, command,
+ check_exit_code=check,
+ sanitize_stdout=False)
+ self.assertEqual('password="secret"', o)
+ self.assertEqual('password="***"', e)
+ self.assertIn('password="***"', fixture.output)
+ self.assertNotIn('bar', fixture.output)
def test_compromising_ssh1(self):
self._test_compromising_ssh(rc=-1, check=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/releasenotes/source/index.rst new/oslo.concurrency-3.27.0/releasenotes/source/index.rst
--- old/oslo.concurrency-3.25.0/releasenotes/source/index.rst 2018-01-15 17:41:02.000000000 +0100
+++ new/oslo.concurrency-3.27.0/releasenotes/source/index.rst 2018-04-17 17:30:13.000000000 +0200
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ queens
pike
ocata
newton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po new/oslo.concurrency-3.27.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
--- old/oslo.concurrency-3.25.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 2018-01-15 17:41:02.000000000 +0100
+++ new/oslo.concurrency-3.27.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 2018-04-17 17:30:13.000000000 +0200
@@ -1,23 +1,39 @@
# Andi Chandler , 2016. #zanata
# Andi Chandler , 2017. #zanata
+# Andi Chandler , 2018. #zanata
msgid ""
msgstr ""
-"Project-Id-Version: oslo.concurrency Release Notes 3.22.1\n"
+"Project-Id-Version: oslo.concurrency Release Notes\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-09-20 20:45+0000\n"
+"POT-Creation-Date: 2018-02-23 11:40+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2017-10-04 11:49+0000\n"
+"PO-Revision-Date: 2018-01-26 07:19+0000\n"
"Last-Translator: Andi Chandler \n"
"Language-Team: English (United Kingdom)\n"
-"Language: en-GB\n"
-"X-Generator: Zanata 3.9.6\n"
+"Language: en_GB\n"
+"X-Generator: Zanata 4.3.3\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
msgid "3.10.0"
msgstr "3.10.0"
+msgid "3.25.0"
+msgstr "3.25.0"
+
+msgid ""
+"A new kwarg, ``python_exec`` is added to the execute() function in the "
+"processutils module. This option is used to specify the path to the python "
+"executable to use for prlimits enforcement."
+msgstr ""
+"A new kwarg, ``python_exec`` is added to the execute() function in the "
+"processutils module. This option is used to specify the path to the Python "
+"executable to use for prlimits enforcement."
+
+msgid "New Features"
+msgstr "New Features"
+
msgid "Newton Series Release Notes"
msgstr "Newton Series Release Notes"
@@ -30,6 +46,9 @@
msgid "Pike Series Release Notes"
msgstr "Pike Series Release Notes"
+msgid "Queens Series Release Notes"
+msgstr "Queens Series Release Notes"
+
msgid "Switch to reno for managing release notes."
msgstr "Switch to reno for managing release notes."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/releasenotes/source/queens.rst new/oslo.concurrency-3.27.0/releasenotes/source/queens.rst
--- old/oslo.concurrency-3.25.0/releasenotes/source/queens.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.concurrency-3.27.0/releasenotes/source/queens.rst 2018-04-17 17:30:13.000000000 +0200
@@ -0,0 +1,6 @@
+===================================
+ Queens Series Release Notes
+===================================
+
+.. release-notes::
+ :branch: stable/queens
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/requirements.txt new/oslo.concurrency-3.27.0/requirements.txt
--- old/oslo.concurrency-3.25.0/requirements.txt 2018-01-15 17:41:02.000000000 +0100
+++ new/oslo.concurrency-3.27.0/requirements.txt 2018-04-17 17:30:13.000000000 +0200
@@ -4,7 +4,7 @@
pbr!=2.1.0,>=2.0.0 # Apache-2.0
enum34>=1.0.4;python_version=='2.7' or python_version=='2.6' or python_version=='3.3' # BSD
-oslo.config>=5.1.0 # Apache-2.0
+oslo.config>=5.2.0 # Apache-2.0
oslo.i18n>=3.15.3 # Apache-2.0
oslo.utils>=3.33.0 # Apache-2.0
six>=1.10.0 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/test-requirements.txt new/oslo.concurrency-3.27.0/test-requirements.txt
--- old/oslo.concurrency-3.25.0/test-requirements.txt 2018-01-15 17:41:02.000000000 +0100
+++ new/oslo.concurrency-3.27.0/test-requirements.txt 2018-04-17 17:30:29.000000000 +0200
@@ -3,17 +3,17 @@
# process, which may cause wedges in the gate later.
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
-oslotest>=1.10.0 # Apache-2.0
+oslotest>=3.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD
fixtures>=3.0.0 # Apache-2.0/BSD
# These are needed for docs generation
-openstackdocstheme>=1.17.0 # Apache-2.0
-sphinx>=1.6.2 # BSD
+openstackdocstheme>=1.18.1 # Apache-2.0
+sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
reno>=2.5.0 # Apache-2.0
-eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT
+eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
# Bandit security code scanner
bandit>=1.1.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.concurrency-3.25.0/tox.ini new/oslo.concurrency-3.27.0/tox.ini
--- old/oslo.concurrency-3.25.0/tox.ini 2018-01-15 17:41:02.000000000 +0100
+++ new/oslo.concurrency-3.27.0/tox.ini 2018-04-17 17:30:29.000000000 +0200
@@ -3,6 +3,7 @@
envlist = py35,py27,pep8
[testenv]
+basepython = python3
install_command = pip install {opts} {packages}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
@@ -13,6 +14,9 @@
lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}'
env TEST_EVENTLET=1 lockutils-wrapper python setup.py testr --slowest --testr-args='{posargs}'
+[testenv:py27]
+basepython = python2.7
+
[testenv:pep8]
deps =
-r{toxinidir}/test-requirements.txt
@@ -49,3 +53,9 @@
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+
+[testenv:lower-constraints]
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt