Hello community,
here is the log from the commit of package python-oslo.privsep for
openSUSE:Factory checked in at 2017-08-28 15:31:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.privsep (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.privsep.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.privsep"
Mon Aug 28 15:31:28 2017 rev:5 rq:514995 version:1.22.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.privsep/python-oslo.privsep.changes
2017-02-21 13:43:15.300339742 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.privsep.new/python-oslo.privsep.changes
2017-08-28 15:31:28.963984881 +0200
@@ -1,0 +2,21 @@
+Mon Aug 7 13:47:26 UTC 2017 - [email protected]
+
+- update to version 1.22.0
+ - Preserve all LogRecord fields from privileged side
+ - Remove log translations
+ - Update URLs in documents according to document migration
+ - Use iterable object for 'args' in log record
+ - rearrange existing documentation to follow the new standard layout
+ - add sphinx instructions to build API reference docs
+ - [Fix gate]Update test requirement
+ - Enable some off-by-default checks
+ - Remove references to Python 3.4
+ - switch from oslosphinx to openstackdocstheme
+ - pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)
+ - Update reno for stable/ocata
+ - Remove pbr warnerrors in favor of sphinx check
+ - Updated from global requirements
+ - Add test to verify log record can be formatted
+ - Using assertIsNone(xxx) instead of assertEqual(None, xxx)
+
+-------------------------------------------------------------------
Old:
----
oslo.privsep-1.16.0.tar.gz
New:
----
oslo.privsep-1.22.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.privsep.spec ++++++
--- /var/tmp/diff_new_pack.zom2Iz/_old 2017-08-28 15:31:30.075828572 +0200
+++ /var/tmp/diff_new_pack.zom2Iz/_new 2017-08-28 15:31:30.079828010 +0200
@@ -18,7 +18,7 @@
%global sname oslo.privsep
Name: python-oslo.privsep
-Version: 1.16.0
+Version: 1.22.0
Release: 0
Summary: OpenStack library for privilege separation
License: Apache-2.0
@@ -34,13 +34,13 @@
BuildRequires: python-eventlet >= 0.18.2
BuildRequires: python-greenlet >= 0.3.2
BuildRequires: python-msgpack-python >= 0.4.0
-BuildRequires: python-oslo.config >= 3.14.0
+BuildRequires: python-openstackdocstheme >= 1.11.0
+BuildRequires: python-oslo.config >= 4.0.0
BuildRequires: python-oslo.i18n >= 2.1.0
-BuildRequires: python-oslo.log >= 3.11.0
-BuildRequires: python-oslo.utils >= 3.18.0
-BuildRequires: python-oslosphinx >= 4.7.0
+BuildRequires: python-oslo.log >= 3.22.0
+BuildRequires: python-oslo.utils >= 3.20.0
BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 1.8
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-setuptools >= 16.0
Requires: python-Babel >= 2.3.4
Requires: python-cffi
@@ -48,10 +48,10 @@
Requires: python-eventlet >= 0.18.2
Requires: python-greenlet >= 0.3.2
Requires: python-msgpack-python >= 0.4.0
-Requires: python-oslo.config >= 3.14.0
+Requires: python-oslo.config >= 4.0.0
Requires: python-oslo.i18n >= 2.1.0
-Requires: python-oslo.log >= 3.11.0
-Requires: python-oslo.utils >= 3.18.0
+Requires: python-oslo.log >= 3.22.0
+Requires: python-oslo.utils >= 3.20.0
BuildArch: noarch
%description
@@ -68,6 +68,7 @@
%prep
%autosetup -n %{sname}-%{version}
%py_req_cleanup
+sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%py2_build
++++++ _service ++++++
--- /var/tmp/diff_new_pack.zom2Iz/_old 2017-08-28 15:31:30.303796524 +0200
+++ /var/tmp/diff_new_pack.zom2Iz/_new 2017-08-28 15:31:30.319794274 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/openstack/oslo.privsep/oslo.privsep.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/oslo.privsep/oslo.privsep.spec.j2</param>
<param name="output-name">python-oslo.privsep.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/global-requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,oslo.privsep</param>
</service>
++++++ oslo.privsep-1.16.0.tar.gz -> oslo.privsep-1.22.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/AUTHORS
new/oslo.privsep-1.22.0/AUTHORS
--- old/oslo.privsep-1.16.0/AUTHORS 2017-01-18 15:12:38.000000000 +0100
+++ new/oslo.privsep-1.22.0/AUTHORS 2017-07-18 15:10:54.000000000 +0200
@@ -8,14 +8,21 @@
Doug Hellmann <[email protected]>
Eric Brown <[email protected]>
Flavio Percoco <[email protected]>
+Hongbin Lu <[email protected]>
John Garbutt <[email protected]>
Joshua Harlow <[email protected]>
Joshua Harlow <[email protected]>
Kirill Bespalov <[email protected]>
+OpenStack Release Bot <[email protected]>
Swapnil Kulkarni (coolsvap) <[email protected]>
TommyLike <[email protected]>
Tony Breeds <[email protected]>
+Vu Cong Tuan <[email protected]>
Walter A. Boring IV <[email protected]>
Zhihai Song <[email protected]>
avnish <[email protected]>
+liangcui <[email protected]>
+loooosy <[email protected]>
+ricolin <[email protected]>
sonu.kumar <[email protected]>
+xgwang5843 <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/ChangeLog
new/oslo.privsep-1.22.0/ChangeLog
--- old/oslo.privsep-1.16.0/ChangeLog 2017-01-18 15:12:38.000000000 +0100
+++ new/oslo.privsep-1.22.0/ChangeLog 2017-07-18 15:10:54.000000000 +0200
@@ -1,6 +1,60 @@
CHANGES
=======
+1.22.0
+------
+
+* Updated from global requirements
+* Update URLs in documents according to document migration
+* add sphinx instructions to build API reference docs
+* switch from oslosphinx to openstackdocstheme
+* rearrange existing documentation to follow the new standard layout
+
+1.21.1
+------
+
+* Enable some off-by-default checks
+
+1.21.0
+------
+
+* Updated from global requirements
+* Updated from global requirements
+* Remove pbr warnerrors in favor of sphinx check
+* Updated from global requirements
+* Using assertIsNone(xxx) instead of assertEqual(None, xxx)
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+
+1.20.0
+------
+
+* Updated from global requirements
+* Add test to verify log record can be formatted
+* Updated from global requirements
+
+1.19.0
+------
+
+* Remove log translations
+
+1.18.0
+------
+
+* Use iterable object for 'args' in log record
+* Updated from global requirements
+
+1.17.0
+------
+
+* Updated from global requirements
+* [Fix gate]Update test requirement
+* Updated from global requirements
+* pbr.version.VersionInfo needs package name (oslo.xyz and not oslo\_xyz)
+* Update reno for stable/ocata
+* Remove references to Python 3.4
+
1.16.0
------
@@ -25,7 +79,8 @@
* modify the home-page info with the developer documentation
* Ignore timeout error when receiving message from sockect
* Update reno for stable/newton
-* Deal with CONF.config_dir correctly
+* Deal with CONF.config\_dir correctly
+* Preserve all LogRecord fields from privileged side
1.13.0
------
@@ -44,7 +99,7 @@
------
* Updated from global requirements
-* Use default value for undefined caps in fmt_caps
+* Use default value for undefined caps in fmt\_caps
1.10.0
------
@@ -58,7 +113,7 @@
-----
* Provide way to "initialise" oslo.privsep
-* PrivContext: Sets client_mode to False on Windows
+* PrivContext: Sets client\_mode to False on Windows
* Imported Translations from Zanata
1.8.0
@@ -103,7 +158,7 @@
-----
* UnprivilegedPrivsepFixture: Clear capabilities config
-* Change name of privsep_helper to match code
+* Change name of privsep\_helper to match code
1.0.0
-----
@@ -121,11 +176,11 @@
0.3.0
-----
-* Improve `helper_command' config default
+* Improve \`helper\_command' config default
* Updated from global requirements
* Replace deprecated LOG.warn with LOG.warning
* Updated from global requirements
-* Use logging intead of oslo_log
+* Use logging intead of oslo\_log
* Remove unused file openstack-common.conf
* remove python 2.6 trove classifier
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/HACKING.rst
new/oslo.privsep-1.22.0/HACKING.rst
--- old/oslo.privsep-1.16.0/HACKING.rst 2017-01-18 15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/HACKING.rst 2017-07-18 15:08:39.000000000 +0200
@@ -1,4 +1,4 @@
oslo.privsep Style Commandments
======================================================
-Read the OpenStack Style Commandments
http://docs.openstack.org/developer/hacking/
+Read the OpenStack Style Commandments
https://docs.openstack.org/hacking/latest/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/PKG-INFO
new/oslo.privsep-1.22.0/PKG-INFO
--- old/oslo.privsep-1.16.0/PKG-INFO 2017-01-18 15:12:39.000000000 +0100
+++ new/oslo.privsep-1.22.0/PKG-INFO 2017-07-18 15:10:55.000000000 +0200
@@ -1,8 +1,8 @@
Metadata-Version: 1.1
Name: oslo.privsep
-Version: 1.16.0
+Version: 1.22.0
Summary: OpenStack library for privilege separation
-Home-page: http://docs.openstack.org/developer/oslo.privsep/
+Home-page: https://docs.openstack.org/oslo.privsep/latest/
Author: OpenStack
Author-email: [email protected]
License: UNKNOWN
@@ -36,9 +36,9 @@
the `specification`_ which created this library.
* Free software: Apache license
- * Documentation: http://docs.openstack.org/developer/oslo.privsep
- * Source: http://git.openstack.org/cgit/openstack/oslo.privsep
- * Bugs: http://bugs.launchpad.net/oslo.privsep
+ * Documentation: https://docs.openstack.org/oslo.privsep/latest/
+ * Source: https://git.openstack.org/cgit/openstack/oslo.privsep
+ * Bugs: https://bugs.launchpad.net/oslo.privsep
.. _principle of least privilege: https://en.wikipedia.org/wiki/\
Principle_of_least_privilege
@@ -56,5 +56,4 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/README.rst
new/oslo.privsep-1.22.0/README.rst
--- old/oslo.privsep-1.16.0/README.rst 2017-01-18 15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/README.rst 2017-07-18 15:08:39.000000000 +0200
@@ -28,9 +28,9 @@
the `specification`_ which created this library.
* Free software: Apache license
-* Documentation: http://docs.openstack.org/developer/oslo.privsep
-* Source: http://git.openstack.org/cgit/openstack/oslo.privsep
-* Bugs: http://bugs.launchpad.net/oslo.privsep
+* Documentation: https://docs.openstack.org/oslo.privsep/latest/
+* Source: https://git.openstack.org/cgit/openstack/oslo.privsep
+* Bugs: https://bugs.launchpad.net/oslo.privsep
.. _principle of least privilege: https://en.wikipedia.org/wiki/\
Principle_of_least_privilege
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/api.rst
new/oslo.privsep-1.22.0/doc/source/api.rst
--- old/oslo.privsep-1.16.0/doc/source/api.rst 2017-01-18 15:10:08.000000000
+0100
+++ new/oslo.privsep-1.22.0/doc/source/api.rst 1970-01-01 01:00:00.000000000
+0100
@@ -1,12 +0,0 @@
-=====
- API
-=====
-
-.. Use autodoc directives to describe the *public* modules and classes
- in the library.
-
- If the modules are completely unrelated, create an api subdirectory
- and use a separate file for each (see oslo.utils).
-
- If there is only one submodule, a single api.rst file like this
- sufficient (see oslo.i18n).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/conf.py
new/oslo.privsep-1.22.0/doc/source/conf.py
--- old/oslo.privsep-1.16.0/doc/source/conf.py 2017-01-18 15:10:08.000000000
+0100
+++ new/oslo.privsep-1.22.0/doc/source/conf.py 2017-07-18 15:08:39.000000000
+0200
@@ -23,9 +23,15 @@
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
- 'oslosphinx'
+ 'openstackdocstheme'
]
+# openstackdocstheme options
+repository_name = 'openstack/oslo.privsep'
+bug_project = 'oslo.privsep'
+bug_tag = ''
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
+
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable
@@ -55,7 +61,7 @@
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = ["."]
-# html_theme = '_theme'
+html_theme = 'openstackdocs'
# html_static_path = ['static']
# Output file base name for HTML help builder.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/contributing.rst
new/oslo.privsep-1.22.0/doc/source/contributing.rst
--- old/oslo.privsep-1.16.0/doc/source/contributing.rst 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/contributing.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-==============
- Contributing
-==============
-
-.. include:: ../../CONTRIBUTING.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.privsep-1.16.0/doc/source/contributor/contributing.rst
new/oslo.privsep-1.22.0/doc/source/contributor/contributing.rst
--- old/oslo.privsep-1.16.0/doc/source/contributor/contributing.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/contributor/contributing.rst
2017-07-18 15:08:39.000000000 +0200
@@ -0,0 +1,5 @@
+==============
+ Contributing
+==============
+
+.. include:: ../../../CONTRIBUTING.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.privsep-1.16.0/doc/source/contributor/history.rst
new/oslo.privsep-1.22.0/doc/source/contributor/history.rst
--- old/oslo.privsep-1.16.0/doc/source/contributor/history.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/contributor/history.rst 2017-07-18
15:08:39.000000000 +0200
@@ -0,0 +1 @@
+.. include:: ../../../ChangeLog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/contributor/index.rst
new/oslo.privsep-1.22.0/doc/source/contributor/index.rst
--- old/oslo.privsep-1.16.0/doc/source/contributor/index.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/contributor/index.rst 2017-07-18
15:08:39.000000000 +0200
@@ -0,0 +1,9 @@
+===================
+ Contributor Guide
+===================
+
+.. toctree::
+ :maxdepth: 2
+
+ contributing
+ history
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/history.rst
new/oslo.privsep-1.22.0/doc/source/history.rst
--- old/oslo.privsep-1.16.0/doc/source/history.rst 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/history.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-.. include:: ../../ChangeLog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/index.rst
new/oslo.privsep-1.22.0/doc/source/index.rst
--- old/oslo.privsep-1.16.0/doc/source/index.rst 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/index.rst 2017-07-18
15:08:39.000000000 +0200
@@ -10,11 +10,10 @@
.. toctree::
:maxdepth: 2
- installation
- api
- usage
- contributing
- history
+ install/index
+ user/index
+ contributor/index
+ reference/index
Indices and tables
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/install/index.rst
new/oslo.privsep-1.22.0/doc/source/install/index.rst
--- old/oslo.privsep-1.16.0/doc/source/install/index.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/install/index.rst 2017-07-18
15:08:39.000000000 +0200
@@ -0,0 +1,7 @@
+==============
+ Installation
+==============
+
+At the command line::
+
+ $ pip install oslo.privsep
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/installation.rst
new/oslo.privsep-1.22.0/doc/source/installation.rst
--- old/oslo.privsep-1.16.0/doc/source/installation.rst 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/installation.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-==============
- Installation
-==============
-
-At the command line::
-
- $ pip install oslo.privsep
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/reference/index.rst
new/oslo.privsep-1.22.0/doc/source/reference/index.rst
--- old/oslo.privsep-1.16.0/doc/source/reference/index.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/reference/index.rst 2017-07-18
15:08:39.000000000 +0200
@@ -0,0 +1,8 @@
+=====
+ API
+=====
+
+.. toctree::
+ :maxdepth: 2
+
+ api/autoindex
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/usage.rst
new/oslo.privsep-1.22.0/doc/source/usage.rst
--- old/oslo.privsep-1.16.0/doc/source/usage.rst 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/usage.rst 1970-01-01
01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-=======
- Usage
-=======
-
-To use oslo.privsep in a project::
-
- import oslo_privsep
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/doc/source/user/index.rst
new/oslo.privsep-1.22.0/doc/source/user/index.rst
--- old/oslo.privsep-1.16.0/doc/source/user/index.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.privsep-1.22.0/doc/source/user/index.rst 2017-07-18
15:08:39.000000000 +0200
@@ -0,0 +1,7 @@
+=======
+ Usage
+=======
+
+To use oslo.privsep in a project::
+
+ import oslo_privsep
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/oslo.privsep.egg-info/PKG-INFO
new/oslo.privsep-1.22.0/oslo.privsep.egg-info/PKG-INFO
--- old/oslo.privsep-1.16.0/oslo.privsep.egg-info/PKG-INFO 2017-01-18
15:12:38.000000000 +0100
+++ new/oslo.privsep-1.22.0/oslo.privsep.egg-info/PKG-INFO 2017-07-18
15:10:54.000000000 +0200
@@ -1,8 +1,8 @@
Metadata-Version: 1.1
Name: oslo.privsep
-Version: 1.16.0
+Version: 1.22.0
Summary: OpenStack library for privilege separation
-Home-page: http://docs.openstack.org/developer/oslo.privsep/
+Home-page: https://docs.openstack.org/oslo.privsep/latest/
Author: OpenStack
Author-email: [email protected]
License: UNKNOWN
@@ -36,9 +36,9 @@
the `specification`_ which created this library.
* Free software: Apache license
- * Documentation: http://docs.openstack.org/developer/oslo.privsep
- * Source: http://git.openstack.org/cgit/openstack/oslo.privsep
- * Bugs: http://bugs.launchpad.net/oslo.privsep
+ * Documentation: https://docs.openstack.org/oslo.privsep/latest/
+ * Source: https://git.openstack.org/cgit/openstack/oslo.privsep
+ * Bugs: https://bugs.launchpad.net/oslo.privsep
.. _principle of least privilege: https://en.wikipedia.org/wiki/\
Principle_of_least_privilege
@@ -56,5 +56,4 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.privsep-1.16.0/oslo.privsep.egg-info/SOURCES.txt
new/oslo.privsep-1.22.0/oslo.privsep.egg-info/SOURCES.txt
--- old/oslo.privsep-1.16.0/oslo.privsep.egg-info/SOURCES.txt 2017-01-18
15:12:39.000000000 +0100
+++ new/oslo.privsep-1.22.0/oslo.privsep.egg-info/SOURCES.txt 2017-07-18
15:10:55.000000000 +0200
@@ -13,13 +13,14 @@
setup.py
test-requirements.txt
tox.ini
-doc/source/api.rst
doc/source/conf.py
-doc/source/contributing.rst
-doc/source/history.rst
doc/source/index.rst
-doc/source/installation.rst
-doc/source/usage.rst
+doc/source/contributor/contributing.rst
+doc/source/contributor/history.rst
+doc/source/contributor/index.rst
+doc/source/install/index.rst
+doc/source/reference/index.rst
+doc/source/user/index.rst
oslo.privsep.egg-info/PKG-INFO
oslo.privsep.egg-info/SOURCES.txt
oslo.privsep.egg-info/dependency_links.txt
@@ -52,6 +53,7 @@
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/newton.rst
+releasenotes/source/ocata.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.privsep-1.16.0/oslo.privsep.egg-info/pbr.json
new/oslo.privsep-1.22.0/oslo.privsep.egg-info/pbr.json
--- old/oslo.privsep-1.16.0/oslo.privsep.egg-info/pbr.json 2017-01-18
15:12:39.000000000 +0100
+++ new/oslo.privsep-1.22.0/oslo.privsep.egg-info/pbr.json 2017-07-18
15:10:54.000000000 +0200
@@ -1 +1 @@
-{"git_version": "2208a53", "is_release": true}
\ No newline at end of file
+{"git_version": "d24b988", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.privsep-1.16.0/oslo.privsep.egg-info/requires.txt
new/oslo.privsep-1.22.0/oslo.privsep.egg-info/requires.txt
--- old/oslo.privsep-1.16.0/oslo.privsep.egg-info/requires.txt 2017-01-18
15:12:38.000000000 +0100
+++ new/oslo.privsep-1.22.0/oslo.privsep.egg-info/requires.txt 2017-07-18
15:10:54.000000000 +0200
@@ -1,9 +1,9 @@
-oslo.log>=3.11.0
-oslo.i18n>=2.1.0
-oslo.config!=3.18.0,>=3.14.0
-oslo.utils>=3.18.0
+oslo.log>=3.22.0
+oslo.i18n!=3.15.2,>=2.1.0
+oslo.config!=4.3.0,!=4.4.0,>=4.0.0
+oslo.utils>=3.20.0
enum34
cffi
-eventlet!=0.18.3,>=0.18.2
+eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2
greenlet>=0.3.2
msgpack-python>=0.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/oslo_privsep/_i18n.py
new/oslo.privsep-1.22.0/oslo_privsep/_i18n.py
--- old/oslo.privsep-1.16.0/oslo_privsep/_i18n.py 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/oslo_privsep/_i18n.py 2017-07-18
15:08:39.000000000 +0200
@@ -12,7 +12,7 @@
"""oslo.i18n integration module.
-See http://docs.openstack.org/developer/oslo.i18n/usage.html
+See https://docs.openstack.org/oslo.i18n/latest/user/index.html
"""
@@ -29,13 +29,3 @@
# The plural translation function using the name "_P"
_P = _translators.plural_form
-
-# Translators for log levels.
-#
-# The abbreviated names are meant to reflect the usual use of a short
-# name like '_'. The "L" is for "log" and the other letter comes from
-# the level.
-_LI = _translators.log_info
-_LW = _translators.log_warning
-_LE = _translators.log_error
-_LC = _translators.log_critical
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/oslo_privsep/daemon.py
new/oslo.privsep-1.22.0/oslo_privsep/daemon.py
--- old/oslo.privsep-1.16.0/oslo_privsep/daemon.py 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/oslo_privsep/daemon.py 2017-07-18
15:08:39.000000000 +0200
@@ -65,9 +65,9 @@
from oslo_log import log as logging
from oslo_utils import importutils
+from oslo_privsep._i18n import _
from oslo_privsep import capabilities
from oslo_privsep import comm
-from oslo_privsep._i18n import _, _LE, _LI, _LW
LOG = logging.getLogger(__name__)
@@ -142,14 +142,30 @@
class PrivsepLogHandler(pylogging.Handler):
- def __init__(self, channel):
+ def __init__(self, channel, processName=None):
super(PrivsepLogHandler, self).__init__()
self.channel = channel
+ self.processName = processName
def emit(self, record):
- self.channel.send((None, (Message.LOG,
- record.levelno,
- record.getMessage())))
+ # Vaguely based on pylogging.handlers.SocketHandler.makePickle
+
+ if self.processName:
+ record.processName = self.processName
+
+ data = dict(record.__dict__)
+
+ if record.exc_info:
+ if not record.exc_text:
+ fmt = self.formatter or pylogging.Formatter()
+ data['exc_text'] = fmt.formatException(record.exc_info)
+ data['exc_info'] = None # drop traceback in favor of exc_text
+
+ # serialise msg now so we can drop (potentially unserialisable) args
+ data['msg'] = record.getMessage()
+ data['args'] = ()
+
+ self.channel.send((None, (Message.LOG, data)))
class _ClientChannel(comm.ClientChannel):
@@ -165,8 +181,7 @@
reply = self.send_recv((Message.PING.value,))
success = reply[0] == Message.PONG
except Exception as e:
- LOG.exception(
- _LE('Error while sending initial PING to privsep: %s'), e)
+ LOG.exception('Error while sending initial PING to privsep: %s', e)
success = False
if not success:
msg = _('Privsep daemon failed to start')
@@ -190,11 +205,13 @@
def out_of_band(self, msg):
if msg[0] == Message.LOG:
- # (LOG, level, message)
- LOG.log(msg[1], msg[2])
+ # (LOG, LogRecord __dict__)
+ record = pylogging.makeLogRecord(msg[1])
+ if LOG.isEnabledFor(record.levelno):
+ LOG.logger.handle(record)
else:
- LOG.warning(_LW('Ignoring unexpected OOB message from privileged '
- 'process: %r'), msg)
+ LOG.warning('Ignoring unexpected OOB message from privileged '
+ 'process: %r', msg)
def fdopen(fd, *args, **kwargs):
@@ -263,7 +280,8 @@
sock_a.close()
# Replace root logger early (to capture any errors during setup)
- replace_logging(PrivsepLogHandler(channel))
+ replace_logging(PrivsepLogHandler(channel,
+ processName=str(context)))
Daemon(channel, context=context).run()
LOG.debug('privsep daemon exiting')
@@ -300,14 +318,14 @@
listen_sock.listen(1)
cmd = context.helper_command(sockpath)
- LOG.info(_LI('Running privsep helper: %s'), cmd)
+ LOG.info('Running privsep helper: %s', cmd)
proc = subprocess.Popen(cmd, shell=False, stderr=_fd_logger())
if proc.wait() != 0:
- msg = (_LE('privsep helper command exited non-zero (%s)') %
+ msg = ('privsep helper command exited non-zero (%s)' %
proc.returncode)
LOG.critical(msg)
raise FailedToDropPrivileges(msg)
- LOG.info(_LI('Spawned new privsep daemon via rootwrap'))
+ LOG.info('Spawned new privsep daemon via rootwrap')
sock, _addr = listen_sock.accept()
LOG.debug('Accepted privsep connection to %s', sockpath)
@@ -372,7 +390,7 @@
finally:
capabilities.set_keepcaps(False)
- LOG.info(_LI('privsep process running with uid/gid: %(uid)s/%(gid)s'),
+ LOG.info('privsep process running with uid/gid: %(uid)s/%(gid)s',
{'uid': os.getuid(), 'gid': os.getgid()})
capabilities.drop_all_caps_except(self.caps, self.caps, [])
@@ -387,8 +405,8 @@
eff, prm, inh = capabilities.get_caps()
LOG.info(
- _LI('privsep process running with capabilities '
- '(eff/prm/inh): %(eff)s/%(prm)s/%(inh)s'),
+ 'privsep process running with capabilities '
+ '(eff/prm/inh): %(eff)s/%(prm)s/%(inh)s',
{
'eff': fmt_caps(eff),
'prm': fmt_caps(prm),
@@ -414,7 +432,7 @@
def loop(self):
"""Main body of daemon request loop"""
- LOG.info(_LI('privsep daemon running as pid %s'), os.getpid())
+ LOG.info('privsep daemon running as pid %s', os.getpid())
# We *are* this context now - any calls through it should be
# executed locally.
@@ -462,8 +480,8 @@
context = importutils.import_class(cfg.CONF.privsep_context)
from oslo_privsep import priv_context # Avoid circular import
if not isinstance(context, priv_context.PrivContext):
- LOG.fatal(_LE('--privsep_context must be the (python) name of a '
- 'PrivContext object'))
+ LOG.fatal('--privsep_context must be the (python) name of a '
+ 'PrivContext object')
sock = socket.socket(socket.AF_UNIX)
sock.connect(cfg.CONF.privsep_sock_path)
@@ -484,7 +502,7 @@
# Channel is set up now, so move to in-band logging
replace_logging(PrivsepLogHandler(channel))
- LOG.info(_LI('privsep daemon starting'))
+ LOG.info('privsep daemon starting')
try:
Daemon(channel, context).run()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/oslo_privsep/priv_context.py
new/oslo.privsep-1.22.0/oslo_privsep/priv_context.py
--- old/oslo.privsep-1.16.0/oslo_privsep/priv_context.py 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/oslo_privsep/priv_context.py 2017-07-18
15:08:39.000000000 +0200
@@ -23,9 +23,9 @@
from oslo_config import types
from oslo_utils import importutils
+from oslo_privsep._i18n import _
from oslo_privsep import capabilities
from oslo_privsep import daemon
-from oslo_privsep._i18n import _, _LW, _LE
LOG = logging.getLogger(__name__)
@@ -77,8 +77,8 @@
user id, forking, or anything else "odd".
:param root_helper: List of command and arguments to prefix
- privsep-helper with, in order to run helper as root. Note,
- ignored if context's helper_command config option is set.
+ privsep-helper with, in order to run helper as root. Note,
+ ignored if context's helper_command config option is set.
"""
if root_helper:
@@ -172,8 +172,8 @@
def set_client_mode(self, enabled):
if enabled and sys.platform == 'win32':
raise RuntimeError(
- _LE("Enabling the client_mode is not currently "
- "supported on Windows."))
+ "Enabling the client_mode is not currently "
+ "supported on Windows.")
self.client_mode = enabled
def entrypoint(self, func):
@@ -208,7 +208,7 @@
def start(self, method=Method.ROOTWRAP):
if self.channel is not None:
- LOG.warning(_LW('privsep daemon already running'))
+ LOG.warning('privsep daemon already running')
return
if method is Method.ROOTWRAP:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.privsep-1.16.0/oslo_privsep/tests/test_daemon.py
new/oslo.privsep-1.22.0/oslo_privsep/tests/test_daemon.py
--- old/oslo.privsep-1.16.0/oslo_privsep/tests/test_daemon.py 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/oslo_privsep/tests/test_daemon.py 2017-07-18
15:08:39.000000000 +0200
@@ -12,11 +12,15 @@
# License for the specific language governing permissions and limitations
# under the License.
+import copy
import fixtures
+import functools
+import logging as pylogging
import mock
import platform
import time
+from oslo_log import formatters
from oslo_log import log as logging
from oslotest import base
import testtools
@@ -33,12 +37,32 @@
pass
+class TestException(Exception):
+ pass
+
+
@testctx.context.entrypoint
-def logme(level, msg):
+def logme(level, msg, exc_info=False):
# We want to make sure we log everything from the priv side for
# the purposes of this test, so force loglevel.
LOG.logger.setLevel(logging.DEBUG)
- LOG.log(level, msg)
+ if exc_info:
+ try:
+ raise TestException('with arg')
+ except TestException:
+ LOG.log(level, msg, exc_info=True)
+ else:
+ LOG.log(level, msg)
+
+
+class LogRecorder(pylogging.Formatter):
+ def __init__(self, logs, *args, **kwargs):
+ super(LogRecorder, self).__init__(*args, **kwargs)
+ self.logs = logs
+
+ def format(self, record):
+ self.logs.append(copy.deepcopy(record))
+ return super(LogRecorder, self).format(record)
@testtools.skipIf(platform.system() != 'Linux',
@@ -46,19 +70,68 @@
class LogTest(testctx.TestContextTestCase):
def setUp(self):
super(LogTest, self).setUp()
- self.logger = self.useFixture(fixtures.FakeLogger(
- name=None, level=logging.INFO))
- def test_priv_log(self):
+ def test_priv_loglevel(self):
+ logger = self.useFixture(fixtures.FakeLogger(
+ level=logging.INFO))
+
# These write to the log on the priv side
logme(logging.DEBUG, u'test@DEBUG')
logme(logging.WARN, u'test@WARN')
time.sleep(0.1) # Hack to give logging thread a chance to run
- # self.logger.output is the resulting log on the unpriv side
- self.assertNotIn(u'test@DEBUG', self.logger.output)
- self.assertIn(u'test@WARN', self.logger.output)
+ # 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)
+
+ def test_record_data(self):
+ logs = []
+
+ self.useFixture(fixtures.FakeLogger(
+ level=logging.INFO, format='dummy',
+ # fixtures.FakeLogger accepts only a formatter
+ # class/function, not an instance :(
+ formatter=functools.partial(LogRecorder, logs)))
+
+ logme(logging.WARN, u'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.assertIsNone(record.exc_info)
+ self.assertIn(u'TestException: with arg', record.exc_text)
+ self.assertEqual('PrivContext(cfg_section=privsep)',
+ record.processName)
+ self.assertIn(u'test_daemon.py', record.exc_text)
+ self.assertEqual(logging.WARN, record.levelno)
+ self.assertEqual('logme', record.funcName)
+
+ def test_format_record(self):
+ logs = []
+
+ self.useFixture(fixtures.FakeLogger(
+ level=logging.INFO, format='dummy',
+ # fixtures.FakeLogger accepts only a formatter
+ # class/function, not an instance :(
+ formatter=functools.partial(LogRecorder, logs)))
+
+ logme(logging.WARN, u'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]
+ # Verify the log record can be formatted by ContextFormatter
+ fake_config = mock.Mock(
+ logging_default_format_string="NOCTXT: %(message)s")
+ formatter = formatters.ContextFormatter(config=fake_config)
+ formatter.format(record)
@testtools.skipIf(platform.system() != 'Linux',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/oslo_privsep/version.py
new/oslo.privsep-1.22.0/oslo_privsep/version.py
--- old/oslo.privsep-1.16.0/oslo_privsep/version.py 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/oslo_privsep/version.py 2017-07-18
15:08:39.000000000 +0200
@@ -15,4 +15,4 @@
import pbr.version
-version_info = pbr.version.VersionInfo('oslo_privsep')
+version_info = pbr.version.VersionInfo('oslo.privsep')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/releasenotes/source/conf.py
new/oslo.privsep-1.22.0/releasenotes/source/conf.py
--- old/oslo.privsep-1.16.0/releasenotes/source/conf.py 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/releasenotes/source/conf.py 2017-07-18
15:08:39.000000000 +0200
@@ -35,10 +35,16 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- 'oslosphinx',
+ 'openstackdocstheme',
'reno.sphinxext',
]
+# openstackdocstheme options
+repository_name = 'openstack/oslo.privsep'
+bug_project = 'oslo.privsep'
+bug_tag = ''
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -109,7 +115,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'openstackdocs'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/releasenotes/source/index.rst
new/oslo.privsep-1.22.0/releasenotes/source/index.rst
--- old/oslo.privsep-1.16.0/releasenotes/source/index.rst 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/releasenotes/source/index.rst 2017-07-18
15:08:39.000000000 +0200
@@ -6,4 +6,5 @@
:maxdepth: 1
unreleased
+ ocata
newton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/releasenotes/source/ocata.rst
new/oslo.privsep-1.22.0/releasenotes/source/ocata.rst
--- old/oslo.privsep-1.16.0/releasenotes/source/ocata.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.privsep-1.22.0/releasenotes/source/ocata.rst 2017-07-18
15:08:39.000000000 +0200
@@ -0,0 +1,6 @@
+===================================
+ Ocata Series Release Notes
+===================================
+
+.. release-notes::
+ :branch: origin/stable/ocata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/requirements.txt
new/oslo.privsep-1.22.0/requirements.txt
--- old/oslo.privsep-1.16.0/requirements.txt 2017-01-18 15:10:08.000000000
+0100
+++ new/oslo.privsep-1.22.0/requirements.txt 2017-07-18 15:08:39.000000000
+0200
@@ -2,12 +2,12 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-oslo.log>=3.11.0 # Apache-2.0
-oslo.i18n>=2.1.0 # Apache-2.0
-oslo.config!=3.18.0,>=3.14.0 # Apache-2.0
-oslo.utils>=3.18.0 # Apache-2.0
+oslo.log>=3.22.0 # Apache-2.0
+oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
+oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0
+oslo.utils>=3.20.0 # Apache-2.0
enum34;python_version=='2.7' or python_version=='2.6' or python_version=='3.3'
# BSD
cffi # MIT
-eventlet!=0.18.3,>=0.18.2 # MIT
+eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT
greenlet>=0.3.2 # MIT
msgpack-python>=0.4.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/setup.cfg
new/oslo.privsep-1.22.0/setup.cfg
--- old/oslo.privsep-1.16.0/setup.cfg 2017-01-18 15:12:39.000000000 +0100
+++ new/oslo.privsep-1.22.0/setup.cfg 2017-07-18 15:10:55.000000000 +0200
@@ -5,7 +5,7 @@
README.rst
author = OpenStack
author-email = [email protected]
-home-page = http://docs.openstack.org/developer/oslo.privsep/
+home-page = https://docs.openstack.org/oslo.privsep/latest/
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@@ -16,7 +16,6 @@
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
[files]
@@ -24,12 +23,17 @@
oslo_privsep
[pbr]
-warnerrors = true
+autodoc_index_modules = True
+api_doc_dir = reference/api
+autodoc_exclude_modules =
+ oslo_privsep.tests.*
+ oslo_privsep._*
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
+warning-is-error = 1
[entry_points]
console_scripts =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/setup.py
new/oslo.privsep-1.22.0/setup.py
--- old/oslo.privsep-1.16.0/setup.py 2017-01-18 15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/setup.py 2017-07-18 15:08:39.000000000 +0200
@@ -25,5 +25,5 @@
pass
setuptools.setup(
- setup_requires=['pbr>=1.8'],
+ setup_requires=['pbr>=2.0.0'],
pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/test-requirements.txt
new/oslo.privsep-1.22.0/test-requirements.txt
--- old/oslo.privsep-1.16.0/test-requirements.txt 2017-01-18
15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/test-requirements.txt 2017-07-18
15:08:39.000000000 +0200
@@ -2,12 +2,12 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking<0.11,>=0.10.2
+hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
mock>=2.0 # BSD
fixtures>=3.0.0 # Apache-2.0/BSD
# These are needed for docs generation
-oslosphinx>=4.7.0 # Apache-2.0
-sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
-reno>=1.8.0 # Apache-2.0
+openstackdocstheme>=1.11.0 # Apache-2.0
+sphinx>=1.6.2 # BSD
+reno!=2.3.1,>=1.8.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.privsep-1.16.0/tox.ini
new/oslo.privsep-1.22.0/tox.ini
--- old/oslo.privsep-1.16.0/tox.ini 2017-01-18 15:10:08.000000000 +0100
+++ new/oslo.privsep-1.22.0/tox.ini 2017-07-18 15:08:39.000000000 +0200
@@ -1,6 +1,6 @@
[tox]
minversion = 2.0
-envlist = py35,py34,py27,pypy,pep8
+envlist = py35,py27,pypy,pep8
[testenv]
setenv =
@@ -27,11 +27,14 @@
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
+# [H106] Don’t put vim configuration in source files
+# [H203] Use assertIs(Not)None to check for None
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
+enable-extensions = H106,H203
[hacking]
import_exceptions =