Hello community,
here is the log from the commit of package python-oslo.privsep for
openSUSE:Factory checked in at 2019-03-20 13:18:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.privsep (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.privsep.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.privsep"
Wed Mar 20 13:18:22 2019 rev:9 rq:682297 version:1.29.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.privsep/python-oslo.privsep.changes
2018-09-07 15:39:03.346558558 +0200
+++
/work/SRC/openSUSE:Factory/.python-oslo.privsep.new.28833/python-oslo.privsep.changes
2019-03-20 13:18:23.593356467 +0100
@@ -1,0 +2,10 @@
+Wed Mar 6 22:10:47 UTC 2019 - [email protected]
+
+- update to version 1.29.2
+ - Update UPPER_CONSTRAINTS_FILE for stable/rocky
+ - Switch to stestr
+ - Avoids calling ffi.dlopen(None) on Windows
+ - Update .gitreview for stable/rocky
+ - import zuul job settings from project-config
+
+-------------------------------------------------------------------
Old:
----
oslo.privsep-1.29.0.tar.gz
New:
----
oslo.privsep-1.29.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.privsep.spec ++++++
--- /var/tmp/diff_new_pack.PoMzoV/_old 2019-03-20 13:18:25.021356151 +0100
+++ /var/tmp/diff_new_pack.PoMzoV/_new 2019-03-20 13:18:25.049356145 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.privsep
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-oslo.privsep
-Version: 1.29.0
+Version: 1.29.2
Release: 0
Summary: OpenStack library for privilege separation
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/oslo.privsep
-Source0:
https://files.pythonhosted.org/packages/source/o/oslo.privsep/oslo.privsep-1.29.0.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/o/oslo.privsep/oslo.privsep-1.29.2.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-devel
BuildRequires: python2-Sphinx
@@ -40,7 +40,7 @@
BuildRequires: python2-oslotest
BuildRequires: python2-pbr
BuildRequires: python2-setuptools
-BuildRequires: python2-testrepository
+BuildRequires: python2-stestr
BuildRequires: python3-Sphinx
BuildRequires: python3-cffi >= 1.7.0
BuildRequires: python3-devel
@@ -56,7 +56,7 @@
BuildRequires: python3-oslotest
BuildRequires: python3-pbr
BuildRequires: python3-setuptools
-BuildRequires: python3-testrepository
+BuildRequires: python3-stestr
Requires: python-cffi >= 1.7.0
Requires: python-eventlet >= 0.18.2
Requires: python-greenlet >= 0.4.10
@@ -92,7 +92,7 @@
Documentation for oslo.privsep
%prep
-%autosetup -p1 -n oslo.privsep-1.29.0
+%autosetup -p1 -n oslo.privsep-1.29.2
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
@@ -114,9 +114,8 @@
%python_uninstall_alternative privsep-helper
%check
-%{python_expand rm -rf .testrepository
-PYTHONPATH=. PYTHON=$python $python setup.py testr
-}
+export PYTHONPATH=.
+%python_exec -m stestr.cli run
%files %{python_files}
%doc README.rst
++++++ oslo.privsep-1.29.0.tar.gz -> oslo.privsep-1.29.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/.stestr.conf
new/oslo.privsep-1.29.2/.stestr.conf
--- old/oslo.privsep-1.29.0/.stestr.conf 1970-01-01 01:00:00.000000000
+0100
+++ new/oslo.privsep-1.29.2/.stestr.conf 2018-09-25 21:49:12.000000000
+0200
@@ -0,0 +1,3 @@
+[DEFAULT]
+test_path=./oslo_privsep/tests
+top_path=./
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/.testr.conf
new/oslo.privsep-1.29.2/.testr.conf
--- old/oslo.privsep-1.29.0/.testr.conf 2018-04-23 23:06:53.000000000 +0200
+++ new/oslo.privsep-1.29.2/.testr.conf 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-[DEFAULT]
-test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
- OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
- OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
- ${PYTHON:-python} -m subunit.run discover -t ./ ./oslo_privsep
$LISTOPT $IDOPTION
-test_id_option=--load-list $IDFILE
-test_list_option=--list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/.zuul.yaml
new/oslo.privsep-1.29.2/.zuul.yaml
--- old/oslo.privsep-1.29.0/.zuul.yaml 2018-04-23 23:06:53.000000000 +0200
+++ new/oslo.privsep-1.29.2/.zuul.yaml 2018-09-25 21:49:23.000000000 +0200
@@ -5,3 +5,11 @@
gate:
jobs:
- openstack-tox-lower-constraints
+ templates:
+ - openstack-python-jobs
+ - openstack-python35-jobs
+ - publish-openstack-docs-pti
+ - check-requirements
+ - lib-forward-testing
+ - release-notes-jobs-python3
+ - periodic-stable-jobs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/ChangeLog
new/oslo.privsep-1.29.2/ChangeLog
--- old/oslo.privsep-1.29.0/ChangeLog 2018-04-23 23:09:37.000000000 +0200
+++ new/oslo.privsep-1.29.2/ChangeLog 2018-09-25 21:52:33.000000000 +0200
@@ -1,6 +1,15 @@
CHANGES
=======
+1.29.2
+------
+
+* Avoids calling ffi.dlopen(None) on Windows
+* Update UPPER\_CONSTRAINTS\_FILE for stable/rocky
+* import zuul job settings from project-config
+* Update .gitreview for stable/rocky
+* Switch to stestr
+
1.29.0
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/PKG-INFO
new/oslo.privsep-1.29.2/PKG-INFO
--- old/oslo.privsep-1.29.0/PKG-INFO 2018-04-23 23:09:38.000000000 +0200
+++ new/oslo.privsep-1.29.2/PKG-INFO 2018-09-25 21:52:34.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.privsep
-Version: 1.29.0
+Version: 1.29.2
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-1.29.0/RELEASENOTES.rst
new/oslo.privsep-1.29.2/RELEASENOTES.rst
--- old/oslo.privsep-1.29.0/RELEASENOTES.rst 1970-01-01 01:00:00.000000000
+0100
+++ new/oslo.privsep-1.29.2/RELEASENOTES.rst 2018-09-25 21:52:34.000000000
+0200
@@ -0,0 +1,3 @@
+============
+oslo.privsep
+============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/lower-constraints.txt
new/oslo.privsep-1.29.2/lower-constraints.txt
--- old/oslo.privsep-1.29.0/lower-constraints.txt 2018-04-23
23:06:53.000000000 +0200
+++ new/oslo.privsep-1.29.2/lower-constraints.txt 2018-09-25
21:49:12.000000000 +0200
@@ -59,8 +59,8 @@
snowballstemmer==1.2.1
Sphinx==1.6.2
sphinxcontrib-websupport==1.0.1
+stestr==2.0.0
stevedore==1.20.0
-testrepository==0.0.18
testtools==2.2.0
traceback2==1.4.0
unittest2==1.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/oslo.privsep.egg-info/PKG-INFO
new/oslo.privsep-1.29.2/oslo.privsep.egg-info/PKG-INFO
--- old/oslo.privsep-1.29.0/oslo.privsep.egg-info/PKG-INFO 2018-04-23
23:09:37.000000000 +0200
+++ new/oslo.privsep-1.29.2/oslo.privsep.egg-info/PKG-INFO 2018-09-25
21:52:33.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.privsep
-Version: 1.29.0
+Version: 1.29.2
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-1.29.0/oslo.privsep.egg-info/SOURCES.txt
new/oslo.privsep-1.29.2/oslo.privsep.egg-info/SOURCES.txt
--- old/oslo.privsep-1.29.0/oslo.privsep.egg-info/SOURCES.txt 2018-04-23
23:09:38.000000000 +0200
+++ new/oslo.privsep-1.29.2/oslo.privsep.egg-info/SOURCES.txt 2018-09-25
21:52:34.000000000 +0200
@@ -1,6 +1,6 @@
.coveragerc
.mailmap
-.testr.conf
+.stestr.conf
.zuul.yaml
AUTHORS
CONTRIBUTING.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/oslo.privsep.egg-info/pbr.json
new/oslo.privsep-1.29.2/oslo.privsep.egg-info/pbr.json
--- old/oslo.privsep-1.29.0/oslo.privsep.egg-info/pbr.json 2018-04-23
23:09:37.000000000 +0200
+++ new/oslo.privsep-1.29.2/oslo.privsep.egg-info/pbr.json 2018-09-25
21:52:33.000000000 +0200
@@ -1 +1 @@
-{"git_version": "d510207", "is_release": true}
\ No newline at end of file
+{"git_version": "f7ba0aa", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/oslo_privsep/capabilities.py
new/oslo.privsep-1.29.2/oslo_privsep/capabilities.py
--- old/oslo.privsep-1.29.0/oslo_privsep/capabilities.py 2018-04-23
23:06:53.000000000 +0200
+++ new/oslo.privsep-1.29.2/oslo_privsep/capabilities.py 2018-09-25
21:49:12.000000000 +0200
@@ -108,13 +108,13 @@
'''
ffi = cffi.FFI()
-crt = ffi.dlopen(None)
ffi.cdef(CDEF)
if platform.system() == 'Linux':
# mock.patching crt.* directly seems to upset cffi. Use an
# indirection point here for easier testing.
+ crt = ffi.dlopen(None)
_prctl = crt.prctl
_capget = crt.capget
_capset = crt.capset
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/releasenotes/notes/reno.cache
new/oslo.privsep-1.29.2/releasenotes/notes/reno.cache
--- old/oslo.privsep-1.29.0/releasenotes/notes/reno.cache 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.privsep-1.29.2/releasenotes/notes/reno.cache 2018-09-25
21:52:34.000000000 +0200
@@ -0,0 +1,3 @@
+---
+file-contents: {}
+notes: []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/test-requirements.txt
new/oslo.privsep-1.29.2/test-requirements.txt
--- old/oslo.privsep-1.29.0/test-requirements.txt 2018-04-23
23:06:53.000000000 +0200
+++ new/oslo.privsep-1.29.2/test-requirements.txt 2018-09-25
21:49:12.000000000 +0200
@@ -6,6 +6,7 @@
oslotest>=3.2.0 # Apache-2.0
mock>=2.0.0 # BSD
fixtures>=3.0.0 # Apache-2.0/BSD
+stestr>=2.0.0 # Apache-2.0
# These are needed for docs generation
openstackdocstheme>=1.18.1 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.29.0/tox.ini
new/oslo.privsep-1.29.2/tox.ini
--- old/oslo.privsep-1.29.0/tox.ini 2018-04-23 23:06:53.000000000 +0200
+++ new/oslo.privsep-1.29.2/tox.ini 2018-09-25 21:49:23.000000000 +0200
@@ -8,10 +8,10 @@
whitelist_externals =
/bin/sh
deps =
-
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
-commands = python setup.py testr --slowest --testr-args='{posargs}'
+commands = stestr run --slowest {posargs}
[testenv:py27]
basepython = python2.7
@@ -31,7 +31,14 @@
commands = python setup.py build_sphinx
[testenv:cover]
-commands = python setup.py testr --coverage --testr-args='{posargs}'
+basepython = python3
+setenv =
+ PYTHON=coverage run --source $project --parallel-mode
+commands =
+ stestr run '{posargs}'
+ coverage combine
+ coverage html -d cover
+ coverage xml -o cover/coverage.xml
[flake8]
# E123, E125 skipped as they are invalid PEP-8.