Hello community,
here is the log from the commit of package python-oslo.rootwrap for
openSUSE:Factory checked in at 2020-10-26 16:17:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.rootwrap (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.rootwrap.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.rootwrap"
Mon Oct 26 16:17:05 2020 rev:13 rq:841216 version:6.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-oslo.rootwrap/python-oslo.rootwrap.changes
2020-06-05 20:19:13.635665136 +0200
+++
/work/SRC/openSUSE:Factory/.python-oslo.rootwrap.new.3463/python-oslo.rootwrap.changes
2020-10-26 16:17:44.963004430 +0100
@@ -1,0 +2,19 @@
+Fri Oct 9 19:17:57 UTC 2020 - [email protected]
+
+- update to version 6.2.0
+ - Add py38 package metadata
+ - Add Python3 victoria unit tests
+ - Update hacking for Python3
+ - Bump bandit version
+ - Remove the unused coding style modules
+ - Align contributing doc with oslo's policy
+ - Stop to use the __future__ module.
+ - Add release notes links to doc index
+ - [goal] Migrate testing to ubuntu focal
+ - Fix hacking min version to 3.0.1
+ - Update master for stable/ussuri
+ - Switch to newer openstackdocstheme and reno versions
+ - Avoid raising a RuntimeError during the shutdown
+ - Bump default tox env from py37 to py38
+
+-------------------------------------------------------------------
Old:
----
oslo.rootwrap-6.0.2.tar.gz
New:
----
oslo.rootwrap-6.2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.rootwrap.spec ++++++
--- /var/tmp/diff_new_pack.zSBAqp/_old 2020-10-26 16:17:45.707005028 +0100
+++ /var/tmp/diff_new_pack.zSBAqp/_new 2020-10-26 16:17:45.711005032 +0100
@@ -17,13 +17,13 @@
Name: python-oslo.rootwrap
-Version: 6.0.2
+Version: 6.2.0
Release: 0
Summary: Filtering shell commands to run as root from OpenStack services
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/oslo.rootwrap
-Source0:
https://files.pythonhosted.org/packages/source/o/oslo.rootwrap/oslo.rootwrap-6.0.2.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/o/oslo.rootwrap/oslo.rootwrap-6.2.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-eventlet
BuildRequires: python3-fixtures
@@ -68,14 +68,14 @@
Documentation for the OpenStack oslo.rootwrap library.
%prep
-%autosetup -p1 -n oslo.rootwrap-6.0.2
+%autosetup -p1 -n oslo.rootwrap-6.2.0
%py_req_cleanup
%build
%{py3_build}
# generate html docs
-PBR_VERSION=6.0.2 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=6.2.0 %sphinx_build -b html doc/source doc/build/html
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
++++++ _service ++++++
--- /var/tmp/diff_new_pack.zSBAqp/_old 2020-10-26 16:17:45.739005054 +0100
+++ /var/tmp/diff_new_pack.zSBAqp/_new 2020-10-26 16:17:45.739005054 +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.rootwrap/oslo.rootwrap.spec.j2</param>
+ <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/victoria/openstack/oslo.rootwrap/oslo.rootwrap.spec.j2</param>
<param name="output-name">python-oslo.rootwrap.spec</param>
- <param
name="requirements">https://opendev.org/openstack/oslo.rootwrap/raw/branch/stable/ussuri/requirements.txt</param>
+ <param
name="requirements">https://opendev.org/openstack/oslo.rootwrap/raw/branch/stable/victoria/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,oslo.rootwrap</param>
</service>
++++++ oslo.rootwrap-6.0.2.tar.gz -> oslo.rootwrap-6.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/.zuul.yaml
new/oslo.rootwrap-6.2.0/.zuul.yaml
--- old/oslo.rootwrap-6.0.2/.zuul.yaml 2020-04-07 12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/.zuul.yaml 2020-09-11 21:18:24.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.rootwrap-6.0.2/AUTHORS
new/oslo.rootwrap-6.2.0/AUTHORS
--- old/oslo.rootwrap-6.0.2/AUTHORS 2020-04-07 12:08:05.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/AUTHORS 2020-09-11 21:19:24.000000000 +0200
@@ -33,6 +33,7 @@
Mark McClain <[email protected]>
Mark McLoughlin <[email protected]>
Maru Newby <[email protected]>
+Moisés Guimarães de Medeiros <[email protected]>
Monty Taylor <[email protected]>
OpenStack Release Bot <[email protected]>
Pádraig Brady <[email protected]>
@@ -73,3 +74,4 @@
ricolin <[email protected]>
sonu.kumar <[email protected]>
yan.haifeng <[email protected]>
+zhangboye <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/CONTRIBUTING.rst
new/oslo.rootwrap-6.2.0/CONTRIBUTING.rst
--- old/oslo.rootwrap-6.0.2/CONTRIBUTING.rst 2020-04-07 12:06:58.000000000
+0200
+++ new/oslo.rootwrap-6.2.0/CONTRIBUTING.rst 2020-09-11 21:18:24.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:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/ChangeLog
new/oslo.rootwrap-6.2.0/ChangeLog
--- old/oslo.rootwrap-6.0.2/ChangeLog 2020-04-07 12:08:05.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/ChangeLog 2020-09-11 21:19:24.000000000 +0200
@@ -1,6 +1,28 @@
CHANGES
=======
+6.2.0
+-----
+
+* [goal] Migrate testing to ubuntu focal
+* Bump bandit version
+* Stop to use the \_\_future\_\_ module
+
+6.1.0
+-----
+
+* Fix hacking min version to 3.0.1
+* Switch to newer openstackdocstheme and reno versions
+* Remove the unused coding style modules
+* Avoid raising a RuntimeError during the shutdown
+* 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
+* Update hacking for Python3
+
6.0.2
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/PKG-INFO
new/oslo.rootwrap-6.2.0/PKG-INFO
--- old/oslo.rootwrap-6.0.2/PKG-INFO 2020-04-07 12:08:05.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/PKG-INFO 2020-09-11 21:19:24.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.rootwrap
-Version: 6.0.2
+Version: 6.2.0
Summary: Oslo Rootwrap
Home-page: https://docs.openstack.org/oslo.rootwrap/latest/
Author: OpenStack
@@ -48,6 +48,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.rootwrap-6.0.2/benchmark/benchmark.py
new/oslo.rootwrap-6.2.0/benchmark/benchmark.py
--- old/oslo.rootwrap-6.0.2/benchmark/benchmark.py 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/benchmark/benchmark.py 2020-09-11
21:18:24.000000000 +0200
@@ -13,8 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-from __future__ import print_function
-
import atexit
import math
import os
@@ -63,6 +61,7 @@
assert code == 0, "Command failed"
return __inner
+
runners = [
("{0}", run_plain),
("sudo {0}", run_sudo),
@@ -109,5 +108,6 @@
atexit.register(run_sudo, ["ip", "netns", "delete", "bench_ns"])
run_bench('ip netns exec bench_ns ip a'.split(), runners[1:])
+
if __name__ == "__main__":
main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/doc/requirements.txt
new/oslo.rootwrap-6.2.0/doc/requirements.txt
--- old/oslo.rootwrap-6.0.2/doc/requirements.txt 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/doc/requirements.txt 2020-09-11
21:18:24.000000000 +0200
@@ -2,9 +2,9 @@
# 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.20.0 # Apache-2.0
-sphinx>=1.8.0,!=2.1.0 # BSD
-reno>=2.5.0 # Apache-2.0
+openstackdocstheme>=2.2.0 # Apache-2.0
+sphinx>=2.0.0,!=2.1.0 # BSD
+reno>=3.1.0 # Apache-2.0
mock>=2.0.0 # BSD
fixtures>=3.0.0 # Apache-2.0/BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/doc/source/conf.py
new/oslo.rootwrap-6.2.0/doc/source/conf.py
--- old/oslo.rootwrap-6.0.2/doc/source/conf.py 2020-04-07 12:06:58.000000000
+0200
+++ new/oslo.rootwrap-6.2.0/doc/source/conf.py 2020-09-11 21:18:24.000000000
+0200
@@ -27,9 +27,9 @@
]
# openstackdocstheme options
-repository_name = 'openstack/oslo.rootwrap'
-bug_project = 'oslo.rootwrap'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/oslo.rootwrap'
+openstackdocs_bug_project = 'oslo.rootwrap'
+openstackdocs_bug_tag = ''
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/doc/source/index.rst
new/oslo.rootwrap-6.2.0/doc/source/index.rst
--- old/oslo.rootwrap-6.0.2/doc/source/index.rst 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/doc/source/index.rst 2020-09-11
21:18:24.000000000 +0200
@@ -5,6 +5,9 @@
oslo.rootwrap allows fine-grained filtering of shell commands to run
as `root` from OpenStack services.
+Contents
+========
+
.. toctree::
:maxdepth: 2
@@ -12,7 +15,14 @@
user/index
contributor/index
-.. rubric:: Indices and tables
+Release Notes
+=============
+
+Read also the `oslo.rootwrap Release Notes
+<https://docs.openstack.org/releasenotes/oslo.rootwrap/>`_.
+
+Indices and tables
+==================
* :ref:`genindex`
* :ref:`modindex`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/lower-constraints.txt
new/oslo.rootwrap-6.2.0/lower-constraints.txt
--- old/oslo.rootwrap-6.0.2/lower-constraints.txt 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/lower-constraints.txt 2020-09-11
21:18:24.000000000 +0200
@@ -7,38 +7,30 @@
eventlet==0.18.2
extras==1.0.0
fixtures==3.0.0
-flake8==2.5.5
gitdb==0.6.4
GitPython==1.0.1
-greenlet==0.4.10
-hacking==0.12.0
+greenlet==0.4.15
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
mox3==0.20.0
-openstackdocstheme==1.20.0
os-client-config==1.28.0
oslotest==3.2.0
pbr==2.0.0
-pep8==1.5.7
-pyflakes==0.8.1
Pygments==2.2.0
python-mimeparse==1.6.0
python-subunit==1.0.0
pytz==2013.6
-PyYAML==3.12
-reno==2.5.0
+PyYAML==3.13
+reno==3.1.0
requests==2.14.2
requestsexceptions==1.2.0
six==1.10.0
smmap==0.9.0
snowballstemmer==1.2.1
-Sphinx==1.8.0
-sphinxcontrib-websupport==1.0.1
stestr==2.0.0
stevedore==1.20.0
testtools==2.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/oslo.rootwrap.egg-info/PKG-INFO
new/oslo.rootwrap-6.2.0/oslo.rootwrap.egg-info/PKG-INFO
--- old/oslo.rootwrap-6.0.2/oslo.rootwrap.egg-info/PKG-INFO 2020-04-07
12:08:05.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/oslo.rootwrap.egg-info/PKG-INFO 2020-09-11
21:19:24.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.rootwrap
-Version: 6.0.2
+Version: 6.2.0
Summary: Oslo Rootwrap
Home-page: https://docs.openstack.org/oslo.rootwrap/latest/
Author: OpenStack
@@ -48,6 +48,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.rootwrap-6.0.2/oslo.rootwrap.egg-info/SOURCES.txt
new/oslo.rootwrap-6.2.0/oslo.rootwrap.egg-info/SOURCES.txt
--- old/oslo.rootwrap-6.0.2/oslo.rootwrap.egg-info/SOURCES.txt 2020-04-07
12:08:05.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/oslo.rootwrap.egg-info/SOURCES.txt 2020-09-11
21:19:24.000000000 +0200
@@ -57,5 +57,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.rootwrap-6.0.2/oslo.rootwrap.egg-info/pbr.json
new/oslo.rootwrap-6.2.0/oslo.rootwrap.egg-info/pbr.json
--- old/oslo.rootwrap-6.0.2/oslo.rootwrap.egg-info/pbr.json 2020-04-07
12:08:05.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/oslo.rootwrap.egg-info/pbr.json 2020-09-11
21:19:24.000000000 +0200
@@ -1 +1 @@
-{"git_version": "fd21b6e", "is_release": true}
\ No newline at end of file
+{"git_version": "ed1659a", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/oslo_rootwrap/client.py
new/oslo.rootwrap-6.2.0/oslo_rootwrap/client.py
--- old/oslo.rootwrap-6.0.2/oslo_rootwrap/client.py 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/oslo_rootwrap/client.py 2020-09-11
21:18:24.000000000 +0200
@@ -17,6 +17,7 @@
from multiprocessing import managers
from multiprocessing import util as mp_util
import threading
+import time
import weakref
import oslo_rootwrap
@@ -41,6 +42,7 @@
ClientManager = daemon.get_manager_class()
LOG = logging.getLogger(__name__)
+SHUTDOWN_RETRIES = 3
class Client(object):
@@ -108,10 +110,14 @@
if process.poll() is None:
LOG.info('Stopping rootwrap daemon process with pid=%s',
process.pid)
- try:
- manager.rootwrap().shutdown()
- except (EOFError, IOError):
- pass # assume it is dead already
+ for _ in range(SHUTDOWN_RETRIES):
+ try:
+ manager.rootwrap().shutdown()
+ break
+ except (EOFError, IOError):
+ break # assume it is dead already
+ except RuntimeError:
+ time.sleep(0.2)
# We might want to wait for process to exit or kill it, but we
# can't provide sane timeout on 2.x and we most likely don't have
# permisions to do so
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/oslo_rootwrap/cmd.py
new/oslo.rootwrap-6.2.0/oslo_rootwrap/cmd.py
--- old/oslo.rootwrap-6.0.2/oslo_rootwrap/cmd.py 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/oslo_rootwrap/cmd.py 2020-09-11
21:18:24.000000000 +0200
@@ -30,8 +30,6 @@
they are needed, to avoid allowing more than is necessary.
"""
-from __future__ import print_function
-
import logging
import os
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/oslo_rootwrap/daemon.py
new/oslo.rootwrap-6.2.0/oslo_rootwrap/daemon.py
--- old/oslo.rootwrap-6.0.2/oslo_rootwrap/daemon.py 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/oslo_rootwrap/daemon.py 2020-09-11
21:18:24.000000000 +0200
@@ -13,8 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-from __future__ import print_function
-
import functools
import logging
from multiprocessing import managers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/oslo_rootwrap/jsonrpc.py
new/oslo.rootwrap-6.2.0/oslo_rootwrap/jsonrpc.py
--- old/oslo.rootwrap-6.0.2/oslo_rootwrap/jsonrpc.py 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/oslo_rootwrap/jsonrpc.py 2020-09-11
21:18:24.000000000 +0200
@@ -96,6 +96,7 @@
def get_accepted(self):
return self._accepted
+
if hasattr(managers.Server, 'accepter'):
# In Python 3 accepter() thread has infinite loop. We break it with
# EOFError, so we should silence this error here.
@@ -118,10 +119,10 @@
self._socket.sendall(s)
def recv_bytes(self, maxsize=None):
- l = struct.unpack('!Q', self.recvall(8))[0]
- if maxsize is not None and l > maxsize:
+ item = struct.unpack('!Q', self.recvall(8))[0]
+ if maxsize is not None and item > maxsize:
raise RuntimeError("Too big message received")
- s = self.recvall(l)
+ s = self.recvall(item)
return s
def send(self, obj):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.rootwrap-6.0.2/oslo_rootwrap/tests/run_daemon.py
new/oslo.rootwrap-6.2.0/oslo_rootwrap/tests/run_daemon.py
--- old/oslo.rootwrap-6.0.2/oslo_rootwrap/tests/run_daemon.py 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/oslo_rootwrap/tests/run_daemon.py 2020-09-11
21:18:24.000000000 +0200
@@ -49,6 +49,7 @@
def close(self):
pass
+
log_format = ("%(asctime)s | [%(process)5s]+%(levelname)5s | "
"%(message)s")
if __name__ == '__main__':
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.rootwrap-6.0.2/oslo_rootwrap/tests/test_rootwrap.py
new/oslo.rootwrap-6.2.0/oslo_rootwrap/tests/test_rootwrap.py
--- old/oslo.rootwrap-6.0.2/oslo_rootwrap/tests/test_rootwrap.py
2020-04-07 12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/oslo_rootwrap/tests/test_rootwrap.py
2020-09-11 21:18:24.000000000 +0200
@@ -398,7 +398,7 @@
def test_ChainingRegExpFilter_match(self):
filter_list = [filters.ChainingRegExpFilter('nice', 'root',
- 'nice', '-?\d+'),
+ 'nice', r'-?\d+'),
filters.CommandFilter('cat', 'root')]
args = ['nice', '5', 'cat', '/a']
dirs = ['/bin', '/usr/bin']
@@ -407,7 +407,7 @@
def test_ChainingRegExpFilter_not_match(self):
filter_list = [filters.ChainingRegExpFilter('nice', 'root',
- 'nice', '-?\d+'),
+ 'nice', r'-?\d+'),
filters.CommandFilter('cat', 'root')]
args_invalid = (['nice', '5', 'ls', '/a'],
['nice', '--5', 'cat', '/a'],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/releasenotes/source/conf.py
new/oslo.rootwrap-6.2.0/releasenotes/source/conf.py
--- old/oslo.rootwrap-6.0.2/releasenotes/source/conf.py 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/releasenotes/source/conf.py 2020-09-11
21:18:24.000000000 +0200
@@ -40,9 +40,9 @@
]
# openstackdocstheme options
-repository_name = 'openstack/oslo.rootwrap'
-bug_project = 'oslo.rootwrap'
-bug_tag = ''
+openstackdocs_repo_name = 'openstack/oslo.rootwrap'
+openstackdocs_bug_project = 'oslo.rootwrap'
+openstackdocs_bug_tag = ''
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/releasenotes/source/index.rst
new/oslo.rootwrap-6.2.0/releasenotes/source/index.rst
--- old/oslo.rootwrap-6.0.2/releasenotes/source/index.rst 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/releasenotes/source/index.rst 2020-09-11
21:18:24.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.rootwrap-6.0.2/releasenotes/source/ussuri.rst
new/oslo.rootwrap-6.2.0/releasenotes/source/ussuri.rst
--- old/oslo.rootwrap-6.0.2/releasenotes/source/ussuri.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.rootwrap-6.2.0/releasenotes/source/ussuri.rst 2020-09-11
21:18:24.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.rootwrap-6.0.2/setup.cfg
new/oslo.rootwrap-6.2.0/setup.cfg
--- old/oslo.rootwrap-6.0.2/setup.cfg 2020-04-07 12:08:05.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/setup.cfg 2020-09-11 21:19:24.000000000 +0200
@@ -18,6 +18,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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.rootwrap-6.0.2/test-requirements.txt
new/oslo.rootwrap-6.2.0/test-requirements.txt
--- old/oslo.rootwrap-6.0.2/test-requirements.txt 2020-04-07
12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/test-requirements.txt 2020-09-11
21:18:24.000000000 +0200
@@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking>=1.1.0,<1.2.0 # Apache-2.0
+hacking>=3.0.1,<3.1.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
@@ -14,7 +14,7 @@
# rootwrap daemon's client should be verified to run in eventlet
eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT
-reno>=2.5.0 # Apache-2.0
+reno>=3.1.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.rootwrap-6.0.2/tox.ini
new/oslo.rootwrap-6.2.0/tox.ini
--- old/oslo.rootwrap-6.0.2/tox.ini 2020-04-07 12:06:58.000000000 +0200
+++ new/oslo.rootwrap-6.2.0/tox.ini 2020-09-11 21:18:24.000000000 +0200
@@ -1,6 +1,6 @@
[tox]
minversion = 3.1
-envlist = py37,pep8
+envlist = py38,pep8
ignore_basepython_conflict = true
[testenv]
@@ -50,9 +50,9 @@
[flake8]
# E731 skipped as assign a lambda expression
-
+# W504 line break after binary operator
show-source = True
-ignore = E731
+ignore = E731,W504
exclude = .tox,dist,doc,*.egg,build
[testenv:benchmark]