Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-osc-lib for openSUSE:Factory 
checked in at 2021-05-10 15:37:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-osc-lib (Old)
 and      /work/SRC/openSUSE:Factory/.python-osc-lib.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-osc-lib"

Mon May 10 15:37:35 2021 rev:14 rq:889988 version:2.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-osc-lib/python-osc-lib.changes    
2020-10-26 16:16:58.150966778 +0100
+++ /work/SRC/openSUSE:Factory/.python-osc-lib.new.2988/python-osc-lib.changes  
2021-05-10 15:39:46.445467488 +0200
@@ -1,0 +2,18 @@
+Sun May  2 17:14:06 UTC 2021 - [email protected]
+
+- update to version 2.3.1
+  - formatters: Cast columns before outputting
+  - Update the constraints url
+  - bump py37 to py38 in tox.ini
+  - Add Python3 wallaby unit tests
+  - Fix l-c testing for ubuntu focal
+  - zuul: Stop testing against Tempest
+  - Update master for stable/victoria
+  - requirements: Drop os-testr
+  - Remove install unnecessary packages
+  - Fix hacking min version to 3.0.1
+  - tox: Set 'ignore_basepython_conflict'
+  - Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'
+  - Fix lower-constraints job
+
+-------------------------------------------------------------------

Old:
----
  osc-lib-2.2.1.tar.gz

New:
----
  osc-lib-2.3.1.tar.gz

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

Other differences:
------------------
++++++ python-osc-lib.spec ++++++
--- /var/tmp/diff_new_pack.UPPD8G/_old  2021-05-10 15:39:46.953465409 +0200
+++ /var/tmp/diff_new_pack.UPPD8G/_new  2021-05-10 15:39:46.957465392 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-osc-lib
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           python-osc-lib
-Version:        2.2.1
+Version:        2.3.1
 Release:        0
 Summary:        OpenStackClient Library
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://docs.openstack.org/developer/osc-lib
-Source0:        
https://files.pythonhosted.org/packages/source/o/osc-lib/osc-lib-2.2.1.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/o/osc-lib/osc-lib-2.3.1.tar.gz
 BuildRequires:  openstack-macros
 BuildRequires:  python3-Babel
 BuildRequires:  python3-cliff >= 3.2.0
@@ -50,7 +50,6 @@
 
 %package -n python3-osc-lib
 Summary:        OpenStackClient Library
-Group:          Development/Languages/Python
 Requires:       python3-Babel
 Requires:       python3-cliff >= 3.2.0
 Requires:       python3-keystoneauth1 >= 3.14.0
@@ -70,7 +69,6 @@
 
 %package -n python-osc-lib-doc
 Summary:        Documentation for the OpenStack client library
-Group:          Development/Languages/Python
 BuildRequires:  python3-Sphinx
 BuildRequires:  python3-openstackdocstheme
 BuildRequires:  python3-reno
@@ -80,7 +78,7 @@
 Documentation for the OpenStack client library.
 
 %prep
-%autosetup -p1 -n osc-lib-2.2.1
+%autosetup -p1 -n osc-lib-2.3.1
 %py_req_cleanup
 
 %build

++++++ _service ++++++
--- /var/tmp/diff_new_pack.UPPD8G/_old  2021-05-10 15:39:46.985465278 +0200
+++ /var/tmp/diff_new_pack.UPPD8G/_new  2021-05-10 15:39:46.985465278 +0200
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/victoria/openstack/osc-lib/osc-lib.spec.j2</param>
+    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/wallaby/openstack/osc-lib/osc-lib.spec.j2</param>
     <param name="output-name">python-osc-lib.spec</param>
-    <param 
name="requirements">https://opendev.org/openstack/osc-lib/raw/branch/stable/victoria/requirements.txt</param>
+    <param 
name="requirements">https://opendev.org/openstack/osc-lib/raw/branch/stable/wallaby/requirements.txt</param>
     <param name="changelog-email">[email protected]</param>
     <param name="changelog-provider">gh,openstack,osc-lib</param>
   </service>

++++++ osc-lib-2.2.1.tar.gz -> osc-lib-2.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/.zuul.yaml new/osc-lib-2.3.1/.zuul.yaml
--- old/osc-lib-2.2.1/.zuul.yaml        2020-09-08 14:29:08.000000000 +0200
+++ new/osc-lib-2.3.1/.zuul.yaml        2021-01-18 22:53:09.000000000 +0100
@@ -1,9 +1,9 @@
+---
 - project:
     templates:
       - check-requirements
-      - lib-forward-testing-python3
       - openstack-lower-constraints-jobs
-      - openstack-python3-victoria-jobs
+      - openstack-python3-wallaby-jobs
       - osc-tox-unit-tips
       - publish-openstack-docs-pti
       - release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/AUTHORS new/osc-lib-2.3.1/AUTHORS
--- old/osc-lib-2.2.1/AUTHORS   2020-09-08 14:29:53.000000000 +0200
+++ new/osc-lib-2.3.1/AUTHORS   2021-01-18 22:54:12.000000000 +0100
@@ -145,16 +145,20 @@
 lijunjie <[email protected]>
 lin-hua-cheng <[email protected]>
 luqitao <[email protected]>
+maaoyu <[email protected]>
 pengyuesheng <[email protected]>
 qingszhao <[email protected]>
 qtang <[email protected]>
 rabi <[email protected]>
 reedip <[email protected]>
+songwenping <[email protected]>
 sunyajing <[email protected]>
+sunyandi <[email protected]>
 ting.wang <[email protected]>
 venkatamahesh <[email protected]>
 wanghong <[email protected]>
 wangqi <[email protected]>
+wangzihao <[email protected]>
 xiaozhuangqing <[email protected]>
 xiexs <[email protected]>
 yanpuqing <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/ChangeLog new/osc-lib-2.3.1/ChangeLog
--- old/osc-lib-2.2.1/ChangeLog 2020-09-08 14:29:53.000000000 +0200
+++ new/osc-lib-2.3.1/ChangeLog 2021-01-18 22:54:11.000000000 +0100
@@ -1,6 +1,27 @@
 CHANGES
 =======
 
+2.3.1
+-----
+
+* Fix lower-constraints job
+* Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'
+* Add Python3 wallaby unit tests
+
+2.3.0
+-----
+
+* tox: Set 'ignore\_basepython\_conflict'
+* formatters: Cast columns before outputting
+* zuul: Stop testing against Tempest
+* Fix hacking min version to 3.0.1
+* bump py37 to py38 in tox.ini
+* Remove install unnecessary packages
+* bump py37 to py38 in tox.ini
+* Fix l-c testing for ubuntu focal
+* Update master for stable/victoria
+* requirements: Drop os-testr
+
 2.2.1
 -----
 
@@ -42,6 +63,7 @@
 * Add enhance\_help kwarg to tags option generators
 * Switch to Ussuri jobs
 * Add KeyValueAppendAction to osc-lib
+* Update the constraints url
 
 1.15.0
 ------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/PKG-INFO new/osc-lib-2.3.1/PKG-INFO
--- old/osc-lib-2.2.1/PKG-INFO  2020-09-08 14:29:53.000000000 +0200
+++ new/osc-lib-2.3.1/PKG-INFO  2021-01-18 22:54:12.122384500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: osc-lib
-Version: 2.2.1
+Version: 2.3.1
 Summary: OpenStackClient Library
 Home-page: https://docs.openstack.org/osc-lib/latest/
 Author: OpenStack
@@ -83,4 +83,5 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/lower-constraints.txt 
new/osc-lib-2.3.1/lower-constraints.txt
--- old/osc-lib-2.2.1/lower-constraints.txt     2020-09-08 14:29:08.000000000 
+0200
+++ new/osc-lib-2.3.1/lower-constraints.txt     2021-01-18 22:53:09.000000000 
+0100
@@ -8,10 +8,10 @@
 contextlib2==0.4.0
 coverage==4.0
 debtcollector==1.2.0
-decorator==3.4.0
+decorator==4.0.0
 deprecation==1.0
 docutils==0.11
-dogpile.cache==0.6.2
+dogpile.cache==0.8.0
 dulwich==0.15.0
 eventlet==0.18.2
 extras==1.0.0
@@ -23,7 +23,7 @@
 futurist==1.2.0
 gitdb==0.6.4
 GitPython==1.0.1
-greenlet==0.4.10
+greenlet==0.4.15
 hacking==0.10.3
 imagesize==0.7.1
 iso8601==0.1.11
@@ -34,7 +34,7 @@
 keystoneauth1==3.14.0
 kombu==4.0.0
 linecache2==1.0.0
-MarkupSafe==1.0
+MarkupSafe==1.1.1
 mccabe==0.2.1
 monotonic==0.6
 mox3==0.20.0
@@ -44,7 +44,6 @@
 netifaces==0.10.4
 openstacksdk==0.15.0
 os-service-types==1.2.0
-os-testr==1.0.0
 oslo.concurrency==3.25.0
 oslo.config==5.2.0
 oslo.context==2.19.2
@@ -73,7 +72,7 @@
 python-mimeparse==1.6.0
 python-subunit==1.0.0
 pytz==2013.6
-PyYAML==3.12
+PyYAML==3.13
 repoze.lru==0.7
 requests==2.14.2
 requests-mock==1.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/osc_lib/cli/format_columns.py 
new/osc-lib-2.3.1/osc_lib/cli/format_columns.py
--- old/osc-lib-2.2.1/osc_lib/cli/format_columns.py     2020-09-08 
14:29:08.000000000 +0200
+++ new/osc-lib-2.3.1/osc_lib/cli/format_columns.py     2021-01-18 
22:53:09.000000000 +0100
@@ -26,6 +26,9 @@
     def human_readable(self):
         return utils.format_dict(self._value)
 
+    def machine_readable(self):
+        return dict(self._value or {})
+
 
 class DictListColumn(columns.FormattableColumn):
     """Format column for dict, key is string, value is list"""
@@ -33,6 +36,9 @@
     def human_readable(self):
         return utils.format_dict_of_list(self._value)
 
+    def machine_readable(self):
+        return dict(self._value or {})
+
 
 class ListColumn(columns.FormattableColumn):
     """Format column for list content"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/osc-lib-2.2.1/osc_lib/tests/cli/test_client_config.py 
new/osc-lib-2.3.1/osc_lib/tests/cli/test_client_config.py
--- old/osc-lib-2.2.1/osc_lib/tests/cli/test_client_config.py   2020-09-08 
14:29:08.000000000 +0200
+++ new/osc-lib-2.3.1/osc_lib/tests/cli/test_client_config.py   2021-01-18 
22:53:09.000000000 +0100
@@ -111,8 +111,8 @@
         }
         ret_config = self.cloud._auth_v2_arguments(config)
         self.assertEqual('fred', ret_config['auth']['username'])
-        self.assertFalse('tenant_id' in ret_config['auth'])
-        self.assertFalse('tenant_name' in ret_config['auth'])
+        self.assertNotIn('tenant_id', ret_config['auth'])
+        self.assertNotIn('tenant_name', ret_config['auth'])
 
         config = {
             'identity_api_version': '3',
@@ -124,8 +124,8 @@
         }
         ret_config = self.cloud._auth_v2_arguments(config)
         self.assertEqual('fred', ret_config['auth']['username'])
-        self.assertFalse('tenant_id' in ret_config['auth'])
-        self.assertFalse('tenant_name' in ret_config['auth'])
+        self.assertNotIn('tenant_id', ret_config['auth'])
+        self.assertNotIn('tenant_name', ret_config['auth'])
 
         config = {
             'identity_api_version': '2',
@@ -137,7 +137,7 @@
         }
         ret_config = self.cloud._auth_v2_arguments(config)
         self.assertEqual('id', ret_config['auth']['tenant_id'])
-        self.assertFalse('tenant_name' in ret_config['auth'])
+        self.assertNotIn('tenant_name', ret_config['auth'])
 
         config = {
             'identity_api_version': '2',
@@ -148,7 +148,7 @@
             },
         }
         ret_config = self.cloud._auth_v2_arguments(config)
-        self.assertFalse('tenant_id' in ret_config['auth'])
+        self.assertNotIn('tenant_id', ret_config['auth'])
         self.assertEqual('name', ret_config['auth']['tenant_name'])
 
     def test_auth_v2_ignore_v3(self):
@@ -164,7 +164,7 @@
         }
         ret_config = self.cloud._auth_v2_ignore_v3(config)
         self.assertEqual('fred', ret_config['auth']['username'])
-        self.assertFalse('project_domain_id' in ret_config['auth'])
+        self.assertNotIn('project_domain_id', ret_config['auth'])
 
     def test_auth_default_domain_not_set(self):
         config = {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/osc-lib-2.2.1/osc_lib/tests/cli/test_format_columns.py 
new/osc-lib-2.3.1/osc_lib/tests/cli/test_format_columns.py
--- old/osc-lib-2.2.1/osc_lib/tests/cli/test_format_columns.py  2020-09-08 
14:29:08.000000000 +0200
+++ new/osc-lib-2.3.1/osc_lib/tests/cli/test_format_columns.py  2021-01-18 
22:53:09.000000000 +0100
@@ -13,6 +13,8 @@
 #   under the License.
 #
 
+import collections
+
 from osc_lib.cli import format_columns
 from osc_lib.tests import utils
 
@@ -28,6 +30,13 @@
         self.assertEqual(dict_content, col.machine_readable())
         self.assertEqual("key1='value1', key2='value2'", col.human_readable())
 
+    def test_complex_object(self):
+        """Non-primitive objects should be converted to a dict."""
+        dict_content = collections.OrderedDict(
+            [('key1', 'value1'), ('key2', 'value2')])
+        col = format_columns.DictColumn(dict_content)
+        self.assertIsInstance(col._value, dict)
+
 
 class TestDictListColumn(utils.TestCase):
 
@@ -40,6 +49,13 @@
                          'public=172.24.4.6, 2001:db8::8',
                          col.human_readable())
 
+    def test_complex_object(self):
+        """Non-primitive objects should be converted to a dict."""
+        dict_content = collections.OrderedDict(
+            [('key1', ['value1']), ('key2', ['value2'])])
+        col = format_columns.DictListColumn(dict_content)
+        self.assertIsInstance(col._value, dict)
+
 
 class TestListColumn(utils.TestCase):
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/osc_lib.egg-info/PKG-INFO 
new/osc-lib-2.3.1/osc_lib.egg-info/PKG-INFO
--- old/osc-lib-2.2.1/osc_lib.egg-info/PKG-INFO 2020-09-08 14:29:53.000000000 
+0200
+++ new/osc-lib-2.3.1/osc_lib.egg-info/PKG-INFO 2021-01-18 22:54:12.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: osc-lib
-Version: 2.2.1
+Version: 2.3.1
 Summary: OpenStackClient Library
 Home-page: https://docs.openstack.org/osc-lib/latest/
 Author: OpenStack
@@ -83,4 +83,5 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/osc_lib.egg-info/SOURCES.txt 
new/osc-lib-2.3.1/osc_lib.egg-info/SOURCES.txt
--- old/osc-lib-2.2.1/osc_lib.egg-info/SOURCES.txt      2020-09-08 
14:29:53.000000000 +0200
+++ new/osc-lib-2.3.1/osc_lib.egg-info/SOURCES.txt      2021-01-18 
22:54:12.000000000 +0100
@@ -107,5 +107,6 @@
 releasenotes/source/train.rst
 releasenotes/source/unreleased.rst
 releasenotes/source/ussuri.rst
+releasenotes/source/victoria.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/osc-lib-2.2.1/osc_lib.egg-info/pbr.json 
new/osc-lib-2.3.1/osc_lib.egg-info/pbr.json
--- old/osc-lib-2.2.1/osc_lib.egg-info/pbr.json 2020-09-08 14:29:53.000000000 
+0200
+++ new/osc-lib-2.3.1/osc_lib.egg-info/pbr.json 2021-01-18 22:54:12.000000000 
+0100
@@ -1 +1 @@
-{"git_version": "d55bc86", "is_release": true}
\ No newline at end of file
+{"git_version": "2b7a679", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/releasenotes/source/index.rst 
new/osc-lib-2.3.1/releasenotes/source/index.rst
--- old/osc-lib-2.2.1/releasenotes/source/index.rst     2020-09-08 
14:29:08.000000000 +0200
+++ new/osc-lib-2.3.1/releasenotes/source/index.rst     2021-01-18 
22:53:09.000000000 +0100
@@ -6,6 +6,7 @@
    :maxdepth: 1
 
    unreleased
+   victoria
    ussuri
    train
    stein
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/releasenotes/source/victoria.rst 
new/osc-lib-2.3.1/releasenotes/source/victoria.rst
--- old/osc-lib-2.2.1/releasenotes/source/victoria.rst  1970-01-01 
01:00:00.000000000 +0100
+++ new/osc-lib-2.3.1/releasenotes/source/victoria.rst  2021-01-18 
22:53:09.000000000 +0100
@@ -0,0 +1,6 @@
+=============================
+Victoria Series Release Notes
+=============================
+
+.. release-notes::
+   :branch: stable/victoria
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/setup.cfg new/osc-lib-2.3.1/setup.cfg
--- old/osc-lib-2.2.1/setup.cfg 2020-09-08 14:29:53.000000000 +0200
+++ new/osc-lib-2.3.1/setup.cfg 2021-01-18 22:54:12.126384700 +0100
@@ -19,6 +19,7 @@
        Programming Language :: Python :: 3
        Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
+       Programming Language :: Python :: 3.8
 
 [files]
 packages = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/test-requirements.txt 
new/osc-lib-2.3.1/test-requirements.txt
--- old/osc-lib-2.2.1/test-requirements.txt     2020-09-08 14:29:08.000000000 
+0200
+++ new/osc-lib-2.3.1/test-requirements.txt     2021-01-18 22:53:09.000000000 
+0100
@@ -1,15 +1,12 @@
 # The order of packages is significant, because pip processes them in the order
 # 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
 
 coverage!=4.4,>=4.0 # Apache-2.0
 fixtures>=3.0.0 # Apache-2.0/BSD
 oslotest>=3.2.0 # Apache-2.0
 requests-mock>=1.1.0 # Apache-2.0
-os-testr>=1.0.0 # Apache-2.0
+stestr>=1.0.0 # Apache-2.0
 testrepository>=0.0.18 # Apache-2.0/BSD
 testtools>=2.2.0 # MIT
 osprofiler>=1.4.0 # Apache-2.0
-bandit>=1.1.0 # Apache-2.0
-flake8-import-order>=0.17.1 # LGPLv3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osc-lib-2.2.1/tox.ini new/osc-lib-2.3.1/tox.ini
--- old/osc-lib-2.2.1/tox.ini   2020-09-08 14:29:08.000000000 +0200
+++ new/osc-lib-2.3.1/tox.ini   2021-01-18 22:53:09.000000000 +0100
@@ -1,16 +1,18 @@
 [tox]
 minversion = 2.0
-envlist = py37,pep8
+envlist = py38,pep8
 skipdist = True
+ignore_basepython_conflict = true
 
 [testenv]
 basepython = python3
 usedevelop = True
-setenv = OS_STDOUT_CAPTURE=1
-         OS_STDERR_CAPTURE=1
-         OS_TEST_TIMEOUT=60
+setenv =
+  OS_STDOUT_CAPTURE=1
+  OS_STDERR_CAPTURE=1
+  OS_TEST_TIMEOUT=60
 deps =
-  
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/upper-constraints.txt}
+  
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
   -r{toxinidir}/test-requirements.txt
   -r{toxinidir}/requirements.txt
 commands = stestr run {posargs}
@@ -18,14 +20,17 @@
 
 [testenv:unit-tips]
 commands =
-    python -m pip install -q -e "git+file://{toxinidir}/../cliff#egg=cliff"
-    python -m pip install -q -e 
"git+file://{toxinidir}/../keystoneauth#egg=keystoneauth"
-    python -m pip install -q -e 
"git+file://{toxinidir}/../openstacksdk#egg=openstacksdk"
-    python -m pip freeze
-    stestr run {posargs}
+  python -m pip install -q -e "git+file://{toxinidir}/../cliff#egg=cliff"
+  python -m pip install -q -e 
"git+file://{toxinidir}/../keystoneauth#egg=keystoneauth"
+  python -m pip install -q -e 
"git+file://{toxinidir}/../openstacksdk#egg=openstacksdk"
+  python -m pip freeze
+  stestr run {posargs}
 whitelist_externals = stestr
 
 [testenv:pep8]
+deps =
+  hacking>=3.0.1,<3.1.0 # Apache-2.0
+  flake8-import-order>=0.17.1 # LGPLv3
 commands = flake8
 
 [testenv:venv]
@@ -33,22 +38,21 @@
 
 [testenv:cover]
 commands =
-    python setup.py test --coverage --coverage-package-name=osc_lib 
--testr-args='{posargs}'
-    coverage report
+  python setup.py test --coverage --coverage-package-name=osc_lib 
--testr-args='{posargs}'
+  coverage report
 
 [testenv:debug]
 commands = oslo_debug_helper -t osc_lib/tests {posargs}
 
 [testenv:docs]
 deps =
-  
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/upper-constraints.txt}
-  -r{toxinidir}/requirements.txt
+  
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
   -r{toxinidir}/doc/requirements.txt
 commands =
-    sphinx-apidoc -o doc/api osc_lib osc_lib/tests
-    # Create ChangeLog file
-    python setup.py sdist
-    sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source 
doc/build/html
+  sphinx-apidoc -o doc/api osc_lib osc_lib/tests
+  # Create ChangeLog file
+  python setup.py sdist
+  sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
 
 [testenv:releasenotes]
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html 
releasenotes/source releasenotes/build/html

Reply via email to