commit python-oslo.context for openSUSE:Factory
Hello community, here is the log from the commit of package python-oslo.context for openSUSE:Factory checked in at 2019-05-03 22:42:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.context (Old) and /work/SRC/openSUSE:Factory/.python-oslo.context.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-oslo.context" Fri May 3 22:42:12 2019 rev:12 rq:692855 version:2.22.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.context/python-oslo.context.changes 2018-09-07 15:38:48.370574634 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslo.context.new.5148/python-oslo.context.changes 2019-05-03 22:42:13.971216996 +0200 @@ -1,0 +2,19 @@ +Mon Apr 8 12:27:32 UTC 2019 - cloud-devel@suse.de + +- update to version 2.22.1 + - Update mailinglist from dev to discuss + - fix tox python3 overrides + - Implement domain-scope for context objects + - Switch to stestr + - Update hacking version + - Always build universal wheels + - Update reno for stable/rocky + - Clean up .gitignore references to personal tools + - Add release notes link to README + - Use template for lower-constraints + - add lib-forward-testing-python3 test job + - add python 3.6 unit test job + - add python 3.7 unit test job + - import zuul job settings from project-config + +------------------------------------------------------------------- Old: ---- oslo.context-2.21.0.tar.gz New: ---- oslo.context-2.22.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.context.spec ++++++ --- /var/tmp/diff_new_pack.qCucZv/_old 2019-05-03 22:42:14.331217754 +0200 +++ /var/tmp/diff_new_pack.qCucZv/_new 2019-05-03 22:42:14.335217763 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-oslo.context # -# 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,31 +12,33 @@ # 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/ # %bcond_without test Name: python-oslo.context -Version: 2.21.0 +Version: 2.22.1 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... +Source0: https://files.pythonhosted.org/packages/source/o/oslo.context/oslo.context-2... BuildRequires: openstack-macros BuildRequires: python2-pbr >= 2.0.0 -BuildRequires: python2-testrepository BuildRequires: python3-pbr >= 2.0.0 -BuildRequires: python3-testrepository Requires: python-debtcollector >= 1.2.0 BuildArch: noarch %if %{with test} BuildRequires: python2-debtcollector >= 1.2.0 +BuildRequires: python2-fixtures BuildRequires: python2-oslotest +BuildRequires: python2-stestr BuildRequires: python3-debtcollector >= 1.2.0 +BuildRequires: python3-fixtures BuildRequires: python3-oslotest +BuildRequires: python3-stestr %endif %python_subpackages @@ -56,10 +58,8 @@ Documentation for the oslo-context library. %prep -%autosetup -p1 -n oslo.context-2.21.0 +%autosetup -p1 -n oslo.context-2.22.1 %py_req_cleanup -# without git, openstackdocstheme has warnings which let the doc build fail -sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %{python_build} @@ -73,9 +73,7 @@ %if %{with test} %check -%{python_expand rm -rf .testrepository -$python setup.py testr -} +%python_exec -m stestr.cli run %endif %files %{python_files} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.qCucZv/_old 2019-05-03 22:42:14.355217805 +0200 +++ /var/tmp/diff_new_pack.qCucZv/_new 2019-05-03 22:42:14.355217805 +0200 @@ -1,8 +1,8 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/oslo.context/oslo.context.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/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/rocky/requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/oslo.context/stable/stein/requirements.txt</param> <param name="changelog-email">cloud-devel@suse.de</param> <param name="changelog-provider">gh,openstack,oslo.context</param> </service> ++++++ oslo.context-2.21.0.tar.gz -> oslo.context-2.22.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/.stestr.conf new/oslo.context-2.22.1/.stestr.conf --- old/oslo.context-2.21.0/.stestr.conf 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.context-2.22.1/.stestr.conf 2019-02-28 19:05:34.000000000 +0100 @@ -0,0 +1,3 @@ +[DEFAULT] +test_path=./oslo_context/tests +top_path=./ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/.testr.conf new/oslo.context-2.22.1/.testr.conf --- old/oslo.context-2.21.0/.testr.conf 2018-06-05 20:07:20.000000000 +0200 +++ new/oslo.context-2.22.1/.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_context $LISTOPT $IDOPTION -test_id_option=--load-list $IDFILE -test_list_option=--list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/.zuul.yaml new/oslo.context-2.22.1/.zuul.yaml --- old/oslo.context-2.21.0/.zuul.yaml 2018-06-05 20:07:20.000000000 +0200 +++ new/oslo.context-2.22.1/.zuul.yaml 2019-02-28 19:05:34.000000000 +0100 @@ -1,7 +1,13 @@ - project: - check: - jobs: - - openstack-tox-lower-constraints - gate: - jobs: - - openstack-tox-lower-constraints + templates: + - check-requirements + - lib-forward-testing + - lib-forward-testing-python3 + - openstack-lower-constraints-jobs + - openstack-python-jobs + - openstack-python35-jobs + - openstack-python36-jobs + - openstack-python37-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.21.0/AUTHORS new/oslo.context-2.22.1/AUTHORS --- old/oslo.context-2.21.0/AUTHORS 2018-06-05 20:09:43.000000000 +0200 +++ new/oslo.context-2.22.1/AUTHORS 2019-02-28 19:07:43.000000000 +0100 @@ -15,6 +15,7 @@ Eric Brown <browne@vmware.com> Flavio Percoco <flaper87@gmail.com> Flavio Percoco <fpercoco@redhat.com> +Hervé Beraud <hberaud@redhat.com> James Carey <jecarey@us.ibm.com> Jamie Lennox <jamielennox@gmail.com> Jason Kölker <jason@koelker.net> @@ -42,10 +43,11 @@ Victor Stinner <vstinner@redhat.com> Vu Cong Tuan <tuanvc@vn.fujitsu.com> Wei Li <wei.li@easystack.cn> +ZhijunWei <wzj334965317@outlook.com> ZhongShengping <chdzsp@163.com> Zhongyue Luo <zhongyue.nah@intel.com> -Zuul <zuul@review.openstack.org> lingyongxu <lyxu@fiberhome.com> +malei <malei@maleideMacBook-Pro.local> melissaml <ma.lei@99cloud.net> ricolin <rico.lin@easystack.cn> wangqi <wang.qi@99cloud.net> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/ChangeLog new/oslo.context-2.22.1/ChangeLog --- old/oslo.context-2.21.0/ChangeLog 2018-06-05 20:09:43.000000000 +0200 +++ new/oslo.context-2.22.1/ChangeLog 2019-02-28 19:07:43.000000000 +0100 @@ -1,6 +1,29 @@ CHANGES ======= +2.22.1 +------ + +* add python 3.7 unit test job +* Update hacking version +* Use template for lower-constraints +* Update mailinglist from dev to discuss + +2.22.0 +------ + +* Implement domain-scope for context objects +* Clean up .gitignore references to personal tools +* Always build universal wheels +* add lib-forward-testing-python3 test job +* add python 3.6 unit test job +* import zuul job settings from project-config +* import zuul job settings from project-config +* Update reno for stable/rocky +* Switch to stestr +* Add release notes link to README +* fix tox python3 overrides + 2.21.0 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/PKG-INFO new/oslo.context-2.22.1/PKG-INFO --- old/oslo.context-2.21.0/PKG-INFO 2018-06-05 20:09:44.000000000 +0200 +++ new/oslo.context-2.22.1/PKG-INFO 2019-02-28 19:07:43.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: oslo.context -Version: 2.21.0 +Version: 2.22.1 Summary: Oslo Context library Home-page: https://docs.openstack.org/oslo.context/latest/ Author: OpenStack -Author-email: openstack-dev@lists.openstack.org +Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN Description: ==================== Oslo Context Library @@ -18,6 +18,7 @@ * Documentation: https://docs.openstack.org/oslo.context/latest/ * Source: https://git.openstack.org/cgit/openstack/oslo.context * Bugs: https://bugs.launchpad.net/oslo.context + * Release notes: https://docs.openstack.org/releasenotes/oslo.context/ Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/README.rst new/oslo.context-2.22.1/README.rst --- old/oslo.context-2.21.0/README.rst 2018-06-05 20:07:20.000000000 +0200 +++ new/oslo.context-2.22.1/README.rst 2019-02-28 19:05:34.000000000 +0100 @@ -10,6 +10,7 @@ * Documentation: https://docs.openstack.org/oslo.context/latest/ * Source: https://git.openstack.org/cgit/openstack/oslo.context * Bugs: https://bugs.launchpad.net/oslo.context +* Release notes: https://docs.openstack.org/releasenotes/oslo.context/ Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/lower-constraints.txt new/oslo.context-2.22.1/lower-constraints.txt --- old/oslo.context-2.21.0/lower-constraints.txt 2018-06-05 20:07:20.000000000 +0200 +++ new/oslo.context-2.22.1/lower-constraints.txt 2019-02-28 19:05:34.000000000 +0100 @@ -28,8 +28,8 @@ requestsexceptions==1.2.0 six==1.10.0 smmap==0.9.0 +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.context-2.21.0/oslo.context.egg-info/PKG-INFO new/oslo.context-2.22.1/oslo.context.egg-info/PKG-INFO --- old/oslo.context-2.21.0/oslo.context.egg-info/PKG-INFO 2018-06-05 20:09:43.000000000 +0200 +++ new/oslo.context-2.22.1/oslo.context.egg-info/PKG-INFO 2019-02-28 19:07:43.000000000 +0100 @@ -1,10 +1,10 @@ Metadata-Version: 1.1 Name: oslo.context -Version: 2.21.0 +Version: 2.22.1 Summary: Oslo Context library Home-page: https://docs.openstack.org/oslo.context/latest/ Author: OpenStack -Author-email: openstack-dev@lists.openstack.org +Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN Description: ==================== Oslo Context Library @@ -18,6 +18,7 @@ * Documentation: https://docs.openstack.org/oslo.context/latest/ * Source: https://git.openstack.org/cgit/openstack/oslo.context * Bugs: https://bugs.launchpad.net/oslo.context + * Release notes: https://docs.openstack.org/releasenotes/oslo.context/ Team and repository tags ======================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/oslo.context.egg-info/SOURCES.txt new/oslo.context-2.22.1/oslo.context.egg-info/SOURCES.txt --- old/oslo.context-2.21.0/oslo.context.egg-info/SOURCES.txt 2018-06-05 20:09:44.000000000 +0200 +++ new/oslo.context-2.22.1/oslo.context.egg-info/SOURCES.txt 2019-02-28 19:07:43.000000000 +0100 @@ -1,6 +1,6 @@ .coveragerc .mailmap -.testr.conf +.stestr.conf .zuul.yaml AUTHORS CONTRIBUTING.rst @@ -52,6 +52,7 @@ releasenotes/source/ocata.rst releasenotes/source/pike.rst releasenotes/source/queens.rst +releasenotes/source/rocky.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.21.0/oslo.context.egg-info/pbr.json new/oslo.context-2.22.1/oslo.context.egg-info/pbr.json --- old/oslo.context-2.21.0/oslo.context.egg-info/pbr.json 2018-06-05 20:09:43.000000000 +0200 +++ new/oslo.context-2.22.1/oslo.context.egg-info/pbr.json 2019-02-28 19:07:43.000000000 +0100 @@ -1 +1 @@ -{"git_version": "b1ba490", "is_release": true} \ No newline at end of file +{"git_version": "76a07f9", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/oslo_context/context.py new/oslo.context-2.22.1/oslo_context/context.py --- old/oslo.context-2.21.0/oslo_context/context.py 2018-06-05 20:07:20.000000000 +0200 +++ new/oslo.context-2.22.1/oslo_context/context.py 2019-02-28 19:05:34.000000000 +0100 @@ -49,6 +49,7 @@ 'project_id': ['HTTP_X_PROJECT_ID', 'HTTP_X_TENANT_ID', 'HTTP_X_TENANT'], + 'domain_id': ['HTTP_X_DOMAIN_ID'], 'system_scope': ['HTTP_OPENSTACK_SYSTEM_SCOPE'], 'user_domain_id': ['HTTP_X_USER_DOMAIN_ID'], 'project_domain_id': ['HTTP_X_PROJECT_DOMAIN_ID'], @@ -318,6 +319,7 @@ 'user_id': self.user_id, 'user_domain_id': self.user_domain_id, 'system_scope': self.system_scope, + 'domain_id': self.domain_id, 'project_id': self.project_id, 'project_domain_id': self.project_domain_id, 'roles': self.roles, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/oslo_context/tests/test_context.py new/oslo.context-2.22.1/oslo_context/tests/test_context.py --- old/oslo.context-2.21.0/oslo_context/tests/test_context.py 2018-06-05 20:07:20.000000000 +0200 +++ new/oslo.context-2.22.1/oslo_context/tests/test_context.py 2019-02-28 19:05:34.000000000 +0100 @@ -221,6 +221,8 @@ user_id = generate_id(user_name) project_name = uuid.uuid4().hex project_id = generate_id(project_name) + domain_name = uuid.uuid4().hex + domain_id = generate_id(domain_name) user_domain_name = uuid.uuid4().hex user_domain_id = generate_id(user_domain_name) project_domain_name = uuid.uuid4().hex @@ -243,6 +245,7 @@ 'HTTP_X_AUTH_TOKEN': auth_token, 'HTTP_X_USER_ID': user_id, 'HTTP_X_PROJECT_ID': project_id, + 'HTTP_X_DOMAIN_ID': domain_id, 'HTTP_X_USER_DOMAIN_ID': user_domain_id, 'HTTP_X_PROJECT_DOMAIN_ID': project_domain_id, 'HTTP_X_ROLES': ','.join(roles), @@ -270,6 +273,7 @@ self.assertEqual(user_id, ctx.user_id) self.assertEqual(user_name, ctx.user_name) self.assertEqual(project_id, ctx.project_id) + self.assertEqual(domain_id, ctx.domain_id) self.assertEqual(project_name, ctx.project_name) self.assertEqual(user_domain_id, ctx.user_domain_id) self.assertEqual(user_domain_name, ctx.user_domain_name) @@ -555,6 +559,7 @@ self.assertEqual({'user_id': user, 'user_domain_id': user_domain, 'system_scope': None, + 'domain_id': None, 'project_id': tenant, 'project_domain_id': project_domain, 'roles': roles, @@ -581,6 +586,32 @@ self.assertEqual({'user_id': user, 'user_domain_id': user_domain, 'system_scope': system_all, + 'domain_id': None, + 'project_id': None, + 'project_domain_id': None, + 'roles': roles, + 'is_admin_project': True, + 'service_user_id': service_user_id, + 'service_user_domain_id': None, + 'service_project_id': service_project_id, + 'service_project_domain_id': None, + 'service_roles': service_roles}, + ctx.to_policy_values()) + + # context representing a domain-scoped token. + domain_id = uuid.uuid4().hex + ctx = context.RequestContext(user=user, + user_domain=user_domain, + domain_id=domain_id, + roles=roles, + service_user_id=service_user_id, + service_project_id=service_project_id, + service_roles=service_roles) + + self.assertEqual({'user_id': user, + 'user_domain_id': user_domain, + 'system_scope': None, + 'domain_id': domain_id, 'project_id': None, 'project_domain_id': None, 'roles': roles, @@ -605,6 +636,7 @@ self.assertEqual({'user_id': user, 'user_domain_id': user_domain, 'system_scope': None, + 'domain_id': None, 'project_id': tenant, 'project_domain_id': project_domain, 'roles': roles, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/releasenotes/source/index.rst new/oslo.context-2.22.1/releasenotes/source/index.rst --- old/oslo.context-2.21.0/releasenotes/source/index.rst 2018-06-05 20:07:20.000000000 +0200 +++ new/oslo.context-2.22.1/releasenotes/source/index.rst 2019-02-28 19:05:34.000000000 +0100 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + rocky queens pike ocata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/releasenotes/source/rocky.rst new/oslo.context-2.22.1/releasenotes/source/rocky.rst --- old/oslo.context-2.21.0/releasenotes/source/rocky.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.context-2.22.1/releasenotes/source/rocky.rst 2019-02-28 19:05:34.000000000 +0100 @@ -0,0 +1,6 @@ +=================================== + Rocky Series Release Notes +=================================== + +.. release-notes:: + :branch: stable/rocky diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/setup.cfg new/oslo.context-2.22.1/setup.cfg --- old/oslo.context-2.21.0/setup.cfg 2018-06-05 20:09:44.000000000 +0200 +++ new/oslo.context-2.22.1/setup.cfg 2019-02-28 19:07:43.000000000 +0100 @@ -4,7 +4,7 @@ description-file = README.rst author = OpenStack -author-email = openstack-dev@lists.openstack.org +author-email = openstack-discuss@lists.openstack.org home-page = https://docs.openstack.org/oslo.context/latest/ classifier = Environment :: OpenStack @@ -45,7 +45,7 @@ mapping_file = babel.cfg output_file = oslo_context/locale/oslo_context.pot -[wheel] +[bdist_wheel] universal = true [egg_info] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/test-requirements.txt new/oslo.context-2.22.1/test-requirements.txt --- old/oslo.context-2.21.0/test-requirements.txt 2018-06-05 20:07:20.000000000 +0200 +++ new/oslo.context-2.22.1/test-requirements.txt 2019-02-28 19:05:34.000000000 +0100 @@ -3,9 +3,10 @@ # process, which may cause wedges in the gate later. fixtures>=3.0.0 # Apache-2.0/BSD -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +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 # Bandit security code scanner bandit>=1.1.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-2.21.0/tox.ini new/oslo.context-2.22.1/tox.ini --- old/oslo.context-2.21.0/tox.ini 2018-06-05 20:07:20.000000000 +0200 +++ new/oslo.context-2.22.1/tox.ini 2019-02-28 19:05:34.000000000 +0100 @@ -8,7 +8,7 @@ -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt -commands = python setup.py testr --slowest --testr-args='{posargs}' +commands = stestr run --slowest {posargs} [testenv:pep8] basepython = python3 @@ -20,15 +20,18 @@ bandit -r oslo_context -x tests -n5 [testenv:venv] +basepython = python3 commands = {posargs} [testenv:docs] +basepython = python3 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/doc/requirements.txt commands = sphinx-build -W -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}' [flake8] @@ -42,6 +45,7 @@ import_exceptions = [testenv:releasenotes] +basepython = python3 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/doc/requirements.txt
participants (1)
-
root