Hello community,

here is the log from the commit of package python-oslo.context for 
openSUSE:Factory checked in at 2020-06-05 20:14:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.context (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.context.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.context"

Fri Jun  5 20:14:02 2020 rev:15 rq:803589 version:3.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.context/python-oslo.context.changes  
2020-03-29 14:25:42.878098096 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.context.new.3606/python-oslo.context.changes
        2020-06-05 20:16:02.810943468 +0200
@@ -1,0 +2,20 @@
+Tue May 12 09:46:46 UTC 2020 - [email protected]
+
+- update to version 3.0.2
+  - tox: Stop using 'python setup.py test'
+  - tox: Keeping going with docs
+  - Drop python 2.7 support and testing
+  - Don't build universal wheel
+  - Bump the openstackdocstheme extension to 1.20
+  - Update master for stable/train
+  - tox: Trivial cleanup
+  - reword releasenote for py27 support dropping
+  - remove outdated header
+  - gitignore: Hide reno cache files
+  - Filter out auth_token_info from logging values
+  - Update the constraints url
+  - Update hacking for Python3
+  - Switch to Ussuri jobs
+  - trivial: Cleanup tox.ini
+
+-------------------------------------------------------------------

Old:
----
  oslo.context-2.23.0.tar.gz

New:
----
  oslo.context-3.0.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-oslo.context.spec ++++++
--- /var/tmp/diff_new_pack.kIREq4/_old  2020-06-05 20:16:04.050948031 +0200
+++ /var/tmp/diff_new_pack.kIREq4/_new  2020-06-05 20:16:04.054948046 +0200
@@ -18,13 +18,13 @@
 
 %bcond_without test
 Name:           python-oslo.context
-Version:        2.23.0
+Version:        3.0.2
 Release:        0
 Summary:        OpenStack Oslo context library
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://launchpad.net/oslo.context
-Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.context/oslo.context-2.23.0.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.context/oslo.context-3.0.2.tar.gz
 BuildRequires:  openstack-macros
 BuildRequires:  python3-pbr >= 2.0.0
 BuildArch:      noarch
@@ -64,7 +64,7 @@
 Documentation for the oslo-context library.
 
 %prep
-%autosetup -p1 -n oslo.context-2.23.0
+%autosetup -p1 -n oslo.context-3.0.2
 %py_req_cleanup
 
 %build

++++++ _service ++++++
--- /var/tmp/diff_new_pack.kIREq4/_old  2020-06-05 20:16:04.078948134 +0200
+++ /var/tmp/diff_new_pack.kIREq4/_new  2020-06-05 20:16:04.082948149 +0200
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/oslo.context/oslo.context.spec.j2</param>
+    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/ussuri/openstack/oslo.context/oslo.context.spec.j2</param>
     <param name="output-name">python-oslo.context.spec</param>
-    <param 
name="requirements">https://raw.githubusercontent.com/openstack/oslo.context/stable/train/requirements.txt</param>
+    <param 
name="requirements">https://opendev.org/openstack/oslo.context/raw/branch/stable/ussuri/requirements.txt</param>
     <param name="changelog-email">[email protected]</param>
     <param name="changelog-provider">gh,openstack,oslo.context</param>
   </service>

++++++ oslo.context-2.23.0.tar.gz -> oslo.context-3.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/.zuul.yaml 
new/oslo.context-3.0.2/.zuul.yaml
--- old/oslo.context-2.23.0/.zuul.yaml  2019-09-04 16:25:30.000000000 +0200
+++ new/oslo.context-3.0.2/.zuul.yaml   2020-04-07 12:06:46.000000000 +0200
@@ -1,11 +1,9 @@
 - project:
     templates:
       - check-requirements
-      - lib-forward-testing
       - lib-forward-testing-python3
       - openstack-lower-constraints-jobs
-      - openstack-python-jobs
-      - openstack-python3-train-jobs
+      - openstack-python3-ussuri-jobs
       - periodic-stable-jobs
       - publish-openstack-docs-pti
       - release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/AUTHORS 
new/oslo.context-3.0.2/AUTHORS
--- old/oslo.context-2.23.0/AUTHORS     2019-09-04 16:26:15.000000000 +0200
+++ new/oslo.context-3.0.2/AUTHORS      2020-04-07 12:08:09.000000000 +0200
@@ -34,8 +34,10 @@
 Monty Taylor <[email protected]>
 Morgan Fainberg <[email protected]>
 OpenStack Release Bot <[email protected]>
+Q.hongtao <[email protected]>
 Ronald Bradford <[email protected]>
 Sean Dague <[email protected]>
+Stephen Finucane <[email protected]>
 Steve Martinelli <[email protected]>
 Thomas Herve <[email protected]>
 Tony Breeds <[email protected]>
@@ -48,10 +50,12 @@
 ZhijunWei <[email protected]>
 ZhongShengping <[email protected]>
 Zhongyue Luo <[email protected]>
+caoyuan <[email protected]>
 jacky06 <[email protected]>
 lingyongxu <[email protected]>
 malei <[email protected]>
 melissaml <[email protected]>
+pengyuesheng <[email protected]>
 ricolin <[email protected]>
 wangqi <[email protected]>
 yanheven <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/ChangeLog 
new/oslo.context-3.0.2/ChangeLog
--- old/oslo.context-2.23.0/ChangeLog   2019-09-04 16:26:15.000000000 +0200
+++ new/oslo.context-3.0.2/ChangeLog    2020-04-07 12:08:09.000000000 +0200
@@ -1,6 +1,35 @@
 CHANGES
 =======
 
+3.0.2
+-----
+
+* Don't build universal wheel
+
+3.0.1
+-----
+
+* Update hacking for Python3
+* Filter out auth\_token\_info from logging values
+* trivial: Cleanup tox.ini
+* remove outdated header
+* reword releasenote for py27 support dropping
+
+3.0.0
+-----
+
+* Drop python 2.7 support and testing
+* tox: Trivial cleanup
+* tox: Trivial cleanup
+* Bump the openstackdocstheme extension to 1.20
+* gitignore: Hide reno cache files
+* tox: Stop using 'python setup.py test'
+* Switch to Ussuri jobs
+* tox: Keeping going with docs
+* Switch to Ussuri jobs
+* Update the constraints url
+* Update master for stable/train
+
 2.23.0
 ------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/PKG-INFO 
new/oslo.context-3.0.2/PKG-INFO
--- old/oslo.context-2.23.0/PKG-INFO    2019-09-04 16:26:15.000000000 +0200
+++ new/oslo.context-3.0.2/PKG-INFO     2020-04-07 12:08:09.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: oslo.context
-Version: 2.23.0
+Version: 3.0.2
 Summary: Oslo Context library
 Home-page: https://docs.openstack.org/oslo.context/latest/
 Author: OpenStack
@@ -44,8 +44,9 @@
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+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.context-2.23.0/doc/requirements.txt 
new/oslo.context-3.0.2/doc/requirements.txt
--- old/oslo.context-2.23.0/doc/requirements.txt        2019-09-04 
16:25:30.000000000 +0200
+++ new/oslo.context-3.0.2/doc/requirements.txt 2020-04-07 12:06:46.000000000 
+0200
@@ -2,8 +2,7 @@
 # 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.18.1 # Apache-2.0
-sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
-sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
+openstackdocstheme>=1.20.0 # Apache-2.0
+sphinx>=1.8.0,!=2.1.0 # BSD
 reno>=2.5.0 # Apache-2.0
 fixtures>=3.0.0 # Apache-2.0/BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/doc/source/conf.py 
new/oslo.context-3.0.2/doc/source/conf.py
--- old/oslo.context-2.23.0/doc/source/conf.py  2019-09-04 16:25:30.000000000 
+0200
+++ new/oslo.context-3.0.2/doc/source/conf.py   2020-04-07 12:06:46.000000000 
+0200
@@ -58,11 +58,6 @@
 # html_static_path = ['static']
 html_theme = 'openstackdocs'
 
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-# html_last_updated_fmt = '%b %d, %Y'
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
-
 # Output file base name for HTML help builder.
 htmlhelp_basename = '%sdoc' % project
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/oslo.context.egg-info/PKG-INFO 
new/oslo.context-3.0.2/oslo.context.egg-info/PKG-INFO
--- old/oslo.context-2.23.0/oslo.context.egg-info/PKG-INFO      2019-09-04 
16:26:15.000000000 +0200
+++ new/oslo.context-3.0.2/oslo.context.egg-info/PKG-INFO       2020-04-07 
12:08:09.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: oslo.context
-Version: 2.23.0
+Version: 3.0.2
 Summary: Oslo Context library
 Home-page: https://docs.openstack.org/oslo.context/latest/
 Author: OpenStack
@@ -44,8 +44,9 @@
 Classifier: License :: OSI Approved :: Apache Software License
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+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.context-2.23.0/oslo.context.egg-info/SOURCES.txt 
new/oslo.context-3.0.2/oslo.context.egg-info/SOURCES.txt
--- old/oslo.context-2.23.0/oslo.context.egg-info/SOURCES.txt   2019-09-04 
16:26:15.000000000 +0200
+++ new/oslo.context-3.0.2/oslo.context.egg-info/SOURCES.txt    2020-04-07 
12:08:09.000000000 +0200
@@ -46,6 +46,7 @@
 oslo_context/tests/test_fixture.py
 releasenotes/notes/add_reno-3b4ae0789e9c45b4.yaml
 releasenotes/notes/dont-leak-auth-token-fb7075316cf87b7c.yaml
+releasenotes/notes/drop-python27-support-b421329839e69d41.yaml
 releasenotes/source/conf.py
 releasenotes/source/index.rst
 releasenotes/source/newton.rst
@@ -54,6 +55,7 @@
 releasenotes/source/queens.rst
 releasenotes/source/rocky.rst
 releasenotes/source/stein.rst
+releasenotes/source/train.rst
 releasenotes/source/unreleased.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.context-2.23.0/oslo.context.egg-info/pbr.json 
new/oslo.context-3.0.2/oslo.context.egg-info/pbr.json
--- old/oslo.context-2.23.0/oslo.context.egg-info/pbr.json      2019-09-04 
16:26:15.000000000 +0200
+++ new/oslo.context-3.0.2/oslo.context.egg-info/pbr.json       2020-04-07 
12:08:09.000000000 +0200
@@ -1 +1 @@
-{"git_version": "07f068d", "is_release": true}
\ No newline at end of file
+{"git_version": "48811e0", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/oslo_context/context.py 
new/oslo.context-3.0.2/oslo_context/context.py
--- old/oslo.context-2.23.0/oslo_context/context.py     2019-09-04 
16:25:30.000000000 +0200
+++ new/oslo.context-3.0.2/oslo_context/context.py      2020-04-07 
12:06:46.000000000 +0200
@@ -371,6 +371,12 @@
             values['auth_token'] = '***'
         else:
             values['auth_token'] = None
+        # NOTE(bnemec: auth_token_info isn't defined in oslo.context, but it's
+        # a common pattern in project context subclasses so we handle it here.
+        # It largely contains things that we don't want logged, like the token
+        # itself (which needs to be removed for security) and the catalog
+        # (which needs to be removed because it bloats the logs terribly).
+        values.pop('auth_token_info', None)
 
         return values
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.context-2.23.0/oslo_context/tests/test_context.py 
new/oslo.context-3.0.2/oslo_context/tests/test_context.py
--- old/oslo.context-2.23.0/oslo_context/tests/test_context.py  2019-09-04 
16:25:30.000000000 +0200
+++ new/oslo.context-3.0.2/oslo_context/tests/test_context.py   2020-04-07 
12:06:46.000000000 +0200
@@ -60,15 +60,15 @@
     This is representative of how at least some of our consumers use the
     RequestContext class in their projects.
     """
-    FROM_DICT_EXTRA_KEYS = ['foo']
+    FROM_DICT_EXTRA_KEYS = ['auth_token_info']
 
-    def __init__(self, foo=None, **kwargs):
+    def __init__(self, auth_token_info=None, **kwargs):
         super(TestContext, self).__init__(**kwargs)
-        self.foo = foo
+        self.auth_token_info = auth_token_info
 
     def to_dict(self):
         d = super(TestContext, self).to_dict()
-        d['foo'] = self.foo
+        d['auth_token_info'] = self.auth_token_info
         return d
 
 
@@ -201,10 +201,10 @@
         self.assertTrue(ctx.read_only)
 
     def test_from_dict_extended(self):
-        initial = TestContext(foo='bar')
+        initial = TestContext(auth_token_info='foo')
         dct = initial.to_dict()
         final = TestContext.from_dict(dct)
-        self.assertEqual('bar', final.foo)
+        self.assertEqual('foo', final.auth_token_info)
         self.assertEqual(dct, final.to_dict())
 
     def test_is_user_context(self):
@@ -516,6 +516,11 @@
         self.assertEqual(user_domain_name, d['user_domain_name'])
         self.assertEqual(project_domain_name, d['project_domain_name'])
 
+    def test_auth_token_info_removed(self):
+        ctx = TestContext(auth_token_info={'auth_token': 'topsecret'})
+        d = ctx.get_logging_values()
+        self.assertNotIn('auth_token_info', d)
+
     def test_dict_empty_user_identity(self):
         ctx = context.RequestContext()
         d = ctx.to_dict()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.context-2.23.0/releasenotes/notes/drop-python27-support-b421329839e69d41.yaml
 
new/oslo.context-3.0.2/releasenotes/notes/drop-python27-support-b421329839e69d41.yaml
--- 
old/oslo.context-2.23.0/releasenotes/notes/drop-python27-support-b421329839e69d41.yaml
      1970-01-01 01:00:00.000000000 +0100
+++ 
new/oslo.context-3.0.2/releasenotes/notes/drop-python27-support-b421329839e69d41.yaml
       2020-04-07 12:06:46.000000000 +0200
@@ -0,0 +1,5 @@
+---
+upgrade:
+  - |
+    Support for Python 2.7 has been dropped. The minimum version of Python now
+    supported is Python 3.6.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/releasenotes/source/conf.py 
new/oslo.context-3.0.2/releasenotes/source/conf.py
--- old/oslo.context-2.23.0/releasenotes/source/conf.py 2019-09-04 
16:25:30.000000000 +0200
+++ new/oslo.context-3.0.2/releasenotes/source/conf.py  2020-04-07 
12:06:46.000000000 +0200
@@ -52,7 +52,6 @@
 master_doc = 'index'
 
 # General information about the project.
-project = u'oslo.context Release Notes'
 copyright = u'2016, oslo.context Developers'
 
 # Release notes do not need a version in the title, they span
@@ -141,11 +140,6 @@
 # directly to the root of the documentation.
 # html_extra_path = []
 
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-# html_last_updated_fmt = '%b %d, %Y'
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
-
 # If true, SmartyPants will be used to convert quotes and dashes to
 # typographically correct entities.
 # html_use_smartypants = True
@@ -189,17 +183,6 @@
 
 # -- Options for LaTeX output ---------------------------------------------
 
-latex_elements = {
-    # The paper size ('letterpaper' or 'a4paper').
-    # 'papersize': 'letterpaper',
-
-    # The font size ('10pt', '11pt' or '12pt').
-    # 'pointsize': '10pt',
-
-    # Additional stuff for the LaTeX preamble.
-    # 'preamble': '',
-}
-
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title,
 #  author, documentclass [howto, manual, or own class]).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/releasenotes/source/index.rst 
new/oslo.context-3.0.2/releasenotes/source/index.rst
--- old/oslo.context-2.23.0/releasenotes/source/index.rst       2019-09-04 
16:25:30.000000000 +0200
+++ new/oslo.context-3.0.2/releasenotes/source/index.rst        2020-04-07 
12:06:46.000000000 +0200
@@ -6,6 +6,7 @@
     :maxdepth: 1
 
     unreleased
+    train
     stein
     rocky
     queens
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/releasenotes/source/train.rst 
new/oslo.context-3.0.2/releasenotes/source/train.rst
--- old/oslo.context-2.23.0/releasenotes/source/train.rst       1970-01-01 
01:00:00.000000000 +0100
+++ new/oslo.context-3.0.2/releasenotes/source/train.rst        2020-04-07 
12:06:46.000000000 +0200
@@ -0,0 +1,6 @@
+==========================
+Train Series Release Notes
+==========================
+
+.. release-notes::
+   :branch: stable/train
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/setup.cfg 
new/oslo.context-3.0.2/setup.cfg
--- old/oslo.context-2.23.0/setup.cfg   2019-09-04 16:26:15.000000000 +0200
+++ new/oslo.context-3.0.2/setup.cfg    2020-04-07 12:08:09.000000000 +0200
@@ -6,6 +6,7 @@
 author = OpenStack
 author-email = [email protected]
 home-page = https://docs.openstack.org/oslo.context/latest/
+python-requires = >=3.6
 classifier = 
        Environment :: OpenStack
        Intended Audience :: Information Technology
@@ -13,25 +14,16 @@
        License :: OSI Approved :: Apache Software License
        Operating System :: POSIX :: Linux
        Programming Language :: Python
-       Programming Language :: Python :: 2
-       Programming Language :: Python :: 2.7
        Programming Language :: Python :: 3
        Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
+       Programming Language :: Python :: 3 :: Only
+       Programming Language :: Python :: Implementation :: CPython
 
 [files]
 packages = 
        oslo_context
 
-[build_sphinx]
-source-dir = doc/source
-build-dir = doc/build
-all_files = 1
-warning-is-error = 1
-
-[upload_sphinx]
-upload-dir = doc/build/html
-
 [compile_catalog]
 directory = oslo_context/locale
 domain = oslo_context
@@ -46,9 +38,6 @@
 mapping_file = babel.cfg
 output_file = oslo_context/locale/oslo_context.pot
 
-[bdist_wheel]
-universal = true
-
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/setup.py 
new/oslo.context-3.0.2/setup.py
--- old/oslo.context-2.23.0/setup.py    2019-09-04 16:25:30.000000000 +0200
+++ new/oslo.context-3.0.2/setup.py     2020-04-07 12:06:46.000000000 +0200
@@ -13,7 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
 import setuptools
 
 # In python < 2.7.4, a lazy loading of package `pbr` will break
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/test-requirements.txt 
new/oslo.context-3.0.2/test-requirements.txt
--- old/oslo.context-2.23.0/test-requirements.txt       2019-09-04 
16:25:30.000000000 +0200
+++ new/oslo.context-3.0.2/test-requirements.txt        2020-04-07 
12:06:46.000000000 +0200
@@ -2,8 +2,8 @@
 # of appearance. Changing the order has an impact on the overall integration
 # process, which may cause wedges in the gate later.
 
+hacking>=3.0,<3.1.0 # Apache-2.0
 fixtures>=3.0.0 # Apache-2.0/BSD
-hacking>=1.1.0,<1.2.0 # Apache-2.0
 oslotest>=3.2.0 # Apache-2.0
 coverage!=4.4,>=4.0 # Apache-2.0
 stestr>=2.0.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.context-2.23.0/tox.ini 
new/oslo.context-3.0.2/tox.ini
--- old/oslo.context-2.23.0/tox.ini     2019-09-04 16:25:30.000000000 +0200
+++ new/oslo.context-3.0.2/tox.ini      2020-04-07 12:06:46.000000000 +0200
@@ -1,43 +1,46 @@
 [tox]
-minversion = 2.0
-envlist = py27,py37,pep8
+minversion = 3.2.0
+envlist = py37,pep8
+ignore_basepython_conflict = true
 
 [testenv]
-install_command = pip install {opts} {packages}
+basepython = python3
 deps =
-  
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
- -r{toxinidir}/test-requirements.txt
- -r{toxinidir}/requirements.txt
+  
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+  -r{toxinidir}/test-requirements.txt
 commands = stestr run --slowest {posargs}
 
 [testenv:pep8]
-basepython = python3
-deps =
-  -r{toxinidir}/test-requirements.txt
+deps = {[testenv]deps}
 commands =
   flake8
   # Run security linter
   bandit -r oslo_context -x tests -n5
 
 [testenv:venv]
-basepython = python3
 commands = {posargs}
 
 [testenv:docs]
-basepython = python3
+whitelist_externals = rm
 deps =
-  
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
+  
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
   -r{toxinidir}/doc/requirements.txt
-commands = sphinx-build -W -b html doc/source doc/build/html
+commands =
+  rm -fr doc/build
+  sphinx-build -W --keep-going -b html doc/source doc/build/html
 
 [testenv:cover]
-basepython = python3
-commands = python setup.py test --coverage 
--coverage-package-name=oslo_context --testr-args='{posargs}'
+setenv =
+  PYTHON=coverage run --source oslo_context --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.
-
-show-source = True
+show-source = true
 ignore = E123,E125
 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
 
@@ -45,14 +48,13 @@
 import_exceptions =
 
 [testenv:releasenotes]
-basepython = python3
-deps =
-  
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-  -r{toxinidir}/doc/requirements.txt
-commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html 
releasenotes/source releasenotes/build/html
+whitelist_externals = rm
+deps = {[testenv:docs]deps}
+commands =
+  rm -rf releasenotes/build
+  sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html 
releasenotes/source releasenotes/build/html
 
 [testenv:lower-constraints]
-basepython = python3
 deps =
   -c{toxinidir}/lower-constraints.txt
   -r{toxinidir}/test-requirements.txt


Reply via email to