Hello community,
here is the log from the commit of package python-oslo.context for
openSUSE:Factory checked in at 2018-09-07 15:38:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.context (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.context.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.context"
Fri Sep 7 15:38:48 2018 rev:11 rq:633098 version:2.21.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.context/python-oslo.context.changes
2018-03-19 23:35:50.354848830 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.context.new/python-oslo.context.changes
2018-09-07 15:38:48.370574634 +0200
@@ -1,0 +2,15 @@
+Mon Sep 3 09:22:06 UTC 2018 - [email protected]
+
+- update to version 2.21.0
+ - Remove stale pip-missing-reqs tox test
+ - Update reno for stable/queens
+ - Update links in README
+ - Trivial: Update pypi url to new url
+ - Implement system-scope
+ - pypy not checked at gate
+ - Add -W for document build
+ - Switch pep8 job to python 3
+ - Updated from global requirements
+ - add lower-constraints job
+
+-------------------------------------------------------------------
Old:
----
oslo.context-2.20.0.tar.gz
New:
----
oslo.context-2.21.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.context.spec ++++++
--- /var/tmp/diff_new_pack.5exuS2/_old 2018-09-07 15:38:48.762574213 +0200
+++ /var/tmp/diff_new_pack.5exuS2/_new 2018-09-07 15:38:48.766574208 +0200
@@ -18,26 +18,25 @@
%bcond_without test
Name: python-oslo.context
-Version: 2.20.0
+Version: 2.21.0
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.20.0.tar.gz
+URL: https://launchpad.net/oslo.context
+Source0:
https://files.pythonhosted.org/packages/source/o/oslo.context/oslo.context-2.21.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python2-pbr >= 2.0.0
-BuildRequires: python2-positional
+BuildRequires: python2-testrepository
BuildRequires: python3-pbr >= 2.0.0
-BuildRequires: python3-positional
+BuildRequires: python3-testrepository
Requires: python-debtcollector >= 1.2.0
-Requires: python-positional
BuildArch: noarch
%if %{with test}
BuildRequires: python2-debtcollector >= 1.2.0
-BuildRequires: python2-oslotest >= 3.2.0
+BuildRequires: python2-oslotest
BuildRequires: python3-debtcollector >= 1.2.0
-BuildRequires: python3-oslotest >= 3.2.0
+BuildRequires: python3-oslotest
%endif
%python_subpackages
@@ -51,13 +50,13 @@
Summary: Documentation for OpenStack common context library
Group: Documentation/HTML
BuildRequires: python-Sphinx
-BuildRequires: python-openstackdocstheme >= 1.18.1
+BuildRequires: python-openstackdocstheme
%description -n python-oslo.context-doc
Documentation for the oslo-context library.
%prep
-%autosetup -p1 -n oslo.context-2.20.0
+%autosetup -p1 -n oslo.context-2.21.0
%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
++++++ _service ++++++
--- /var/tmp/diff_new_pack.5exuS2/_old 2018-09-07 15:38:48.790574183 +0200
+++ /var/tmp/diff_new_pack.5exuS2/_new 2018-09-07 15:38:48.790574183 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/queens/openstack/oslo.context/oslo.context.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/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/rpm-packaging/stable/queens/requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/oslo.context/stable/rocky/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,oslo.context</param>
</service>
++++++ oslo.context-2.20.0.tar.gz -> oslo.context-2.21.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/.zuul.yaml
new/oslo.context-2.21.0/.zuul.yaml
--- old/oslo.context-2.20.0/.zuul.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.context-2.21.0/.zuul.yaml 2018-06-05 20:07:20.000000000 +0200
@@ -0,0 +1,7 @@
+- project:
+ check:
+ jobs:
+ - openstack-tox-lower-constraints
+ gate:
+ jobs:
+ - openstack-tox-lower-constraints
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/AUTHORS
new/oslo.context-2.21.0/AUTHORS
--- old/oslo.context-2.20.0/AUTHORS 2018-01-08 15:14:14.000000000 +0100
+++ new/oslo.context-2.21.0/AUTHORS 2018-06-05 20:09:43.000000000 +0200
@@ -2,6 +2,7 @@
Alexander Gorodnev <[email protected]>
Andreas Jaeger <[email protected]>
Andrew Bogott <[email protected]>
+Anusree <[email protected]>
Atsushi SAKAI <[email protected]>
Ben Nemec <[email protected]>
ChangBo Guo(gcb) <[email protected]>
@@ -23,7 +24,9 @@
Joshua Harlow <[email protected]>
Joshua Harlow <[email protected]>
Juan Antonio Osorio Robles <[email protected]>
+Kenneth Giusti <[email protected]>
Kirill Bespalov <[email protected]>
+Lance Bragstad <[email protected]>
Michael Basnight <[email protected]>
Monty Taylor <[email protected]>
Morgan Fainberg <[email protected]>
@@ -33,14 +36,17 @@
Steve Martinelli <[email protected]>
Thomas Herve <[email protected]>
Tony Breeds <[email protected]>
+Tovin Seven <[email protected]>
Van Hung Pham <[email protected]>
Victor Sergeyev <[email protected]>
Victor Stinner <[email protected]>
Vu Cong Tuan <[email protected]>
Wei Li <[email protected]>
+ZhongShengping <[email protected]>
Zhongyue Luo <[email protected]>
Zuul <[email protected]>
lingyongxu <[email protected]>
melissaml <[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.20.0/ChangeLog
new/oslo.context-2.21.0/ChangeLog
--- old/oslo.context-2.20.0/ChangeLog 2018-01-08 15:14:14.000000000 +0100
+++ new/oslo.context-2.21.0/ChangeLog 2018-06-05 20:09:43.000000000 +0200
@@ -1,6 +1,24 @@
CHANGES
=======
+2.21.0
+------
+
+* Implement system-scope
+* Remove stale pip-missing-reqs tox test
+* Trivial: Update pypi url to new url
+* Switch pep8 job to python 3
+* add lower-constraints job
+* pypy not checked at gate
+* Updated from global requirements
+* Update links in README
+* Add -W for document build
+* Update reno for stable/queens
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+
2.20.0
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/PKG-INFO
new/oslo.context-2.21.0/PKG-INFO
--- old/oslo.context-2.20.0/PKG-INFO 2018-01-08 15:14:15.000000000 +0100
+++ new/oslo.context-2.21.0/PKG-INFO 2018-06-05 20:09:44.000000000 +0200
@@ -1,12 +1,11 @@
Metadata-Version: 1.1
Name: oslo.context
-Version: 2.20.0
+Version: 2.21.0
Summary: Oslo Context library
Home-page: https://docs.openstack.org/oslo.context/latest/
Author: OpenStack
Author-email: [email protected]
License: UNKNOWN
-Description-Content-Type: UNKNOWN
Description: ====================
Oslo Context Library
====================
@@ -23,17 +22,17 @@
Team and repository tags
========================
- .. image:: https://governance.openstack.org/badges/oslo.context.svg
- :target: https://governance.openstack.org/reference/tags/index.html
+ .. image:: https://governance.openstack.org/tc/badges/oslo.context.svg
+ :target:
https://governance.openstack.org/tc/reference/tags/index.html
.. Change things from this point on
.. image:: https://img.shields.io/pypi/v/oslo.context.svg
- :target: https://pypi.python.org/pypi/oslo.context/
+ :target: https://pypi.org/project/oslo.context/
:alt: Latest Version
.. image:: https://img.shields.io/pypi/dm/oslo.context.svg
- :target: https://pypi.python.org/pypi/oslo.context/
+ :target: https://pypi.org/project/oslo.context/
:alt: Downloads
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/README.rst
new/oslo.context-2.21.0/README.rst
--- old/oslo.context-2.20.0/README.rst 2018-01-08 15:11:35.000000000 +0100
+++ new/oslo.context-2.21.0/README.rst 2018-06-05 20:07:20.000000000 +0200
@@ -14,15 +14,15 @@
Team and repository tags
========================
-.. image:: https://governance.openstack.org/badges/oslo.context.svg
- :target: https://governance.openstack.org/reference/tags/index.html
+.. image:: https://governance.openstack.org/tc/badges/oslo.context.svg
+ :target: https://governance.openstack.org/tc/reference/tags/index.html
.. Change things from this point on
.. image:: https://img.shields.io/pypi/v/oslo.context.svg
- :target: https://pypi.python.org/pypi/oslo.context/
+ :target: https://pypi.org/project/oslo.context/
:alt: Latest Version
.. image:: https://img.shields.io/pypi/dm/oslo.context.svg
- :target: https://pypi.python.org/pypi/oslo.context/
+ :target: https://pypi.org/project/oslo.context/
:alt: Downloads
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/doc/requirements.txt
new/oslo.context-2.21.0/doc/requirements.txt
--- old/oslo.context-2.20.0/doc/requirements.txt 2018-01-08
15:11:52.000000000 +0100
+++ new/oslo.context-2.21.0/doc/requirements.txt 2018-06-05
20:07:20.000000000 +0200
@@ -2,7 +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.17.0 # Apache-2.0
-sphinx>=1.6.2 # BSD
+openstackdocstheme>=1.18.1 # Apache-2.0
+sphinx!=1.6.6,!=1.6.7,>=1.6.2 # 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.20.0/lower-constraints.txt
new/oslo.context-2.21.0/lower-constraints.txt
--- old/oslo.context-2.20.0/lower-constraints.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.context-2.21.0/lower-constraints.txt 2018-06-05
20:07:20.000000000 +0200
@@ -0,0 +1,36 @@
+appdirs==1.3.0
+Babel==2.3.4
+bandit==1.4.0
+coverage==4.0
+debtcollector==1.2.0
+extras==1.0.0
+fixtures==3.0.0
+flake8==2.5.5
+gitdb==0.6.4
+GitPython==1.0.1
+hacking==0.12.0
+iso8601==0.1.11
+keystoneauth1==3.4.0
+linecache2==1.0.0
+mccabe==0.2.1
+mock==2.0.0
+mox3==0.20.0
+os-client-config==1.28.0
+oslotest==3.2.0
+pbr==2.0.0
+pep8==1.5.7
+pyflakes==0.8.1
+python-mimeparse==1.6.0
+python-subunit==1.0.0
+pytz==2013.6
+PyYAML==3.12
+requests==2.14.2
+requestsexceptions==1.2.0
+six==1.10.0
+smmap==0.9.0
+stevedore==1.20.0
+testrepository==0.0.18
+testtools==2.2.0
+traceback2==1.4.0
+unittest2==1.1.0
+wrapt==1.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/oslo.context.egg-info/PKG-INFO
new/oslo.context-2.21.0/oslo.context.egg-info/PKG-INFO
--- old/oslo.context-2.20.0/oslo.context.egg-info/PKG-INFO 2018-01-08
15:14:14.000000000 +0100
+++ new/oslo.context-2.21.0/oslo.context.egg-info/PKG-INFO 2018-06-05
20:09:43.000000000 +0200
@@ -1,12 +1,11 @@
Metadata-Version: 1.1
Name: oslo.context
-Version: 2.20.0
+Version: 2.21.0
Summary: Oslo Context library
Home-page: https://docs.openstack.org/oslo.context/latest/
Author: OpenStack
Author-email: [email protected]
License: UNKNOWN
-Description-Content-Type: UNKNOWN
Description: ====================
Oslo Context Library
====================
@@ -23,17 +22,17 @@
Team and repository tags
========================
- .. image:: https://governance.openstack.org/badges/oslo.context.svg
- :target: https://governance.openstack.org/reference/tags/index.html
+ .. image:: https://governance.openstack.org/tc/badges/oslo.context.svg
+ :target:
https://governance.openstack.org/tc/reference/tags/index.html
.. Change things from this point on
.. image:: https://img.shields.io/pypi/v/oslo.context.svg
- :target: https://pypi.python.org/pypi/oslo.context/
+ :target: https://pypi.org/project/oslo.context/
:alt: Latest Version
.. image:: https://img.shields.io/pypi/dm/oslo.context.svg
- :target: https://pypi.python.org/pypi/oslo.context/
+ :target: https://pypi.org/project/oslo.context/
:alt: Downloads
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.context-2.20.0/oslo.context.egg-info/SOURCES.txt
new/oslo.context-2.21.0/oslo.context.egg-info/SOURCES.txt
--- old/oslo.context-2.20.0/oslo.context.egg-info/SOURCES.txt 2018-01-08
15:14:15.000000000 +0100
+++ new/oslo.context-2.21.0/oslo.context.egg-info/SOURCES.txt 2018-06-05
20:09:44.000000000 +0200
@@ -1,6 +1,7 @@
.coveragerc
.mailmap
.testr.conf
+.zuul.yaml
AUTHORS
CONTRIBUTING.rst
ChangeLog
@@ -8,6 +9,7 @@
LICENSE
README.rst
babel.cfg
+lower-constraints.txt
requirements.txt
setup.cfg
setup.py
@@ -49,6 +51,7 @@
releasenotes/source/newton.rst
releasenotes/source/ocata.rst
releasenotes/source/pike.rst
+releasenotes/source/queens.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.20.0/oslo.context.egg-info/pbr.json
new/oslo.context-2.21.0/oslo.context.egg-info/pbr.json
--- old/oslo.context-2.20.0/oslo.context.egg-info/pbr.json 2018-01-08
15:14:14.000000000 +0100
+++ new/oslo.context-2.21.0/oslo.context.egg-info/pbr.json 2018-06-05
20:09:43.000000000 +0200
@@ -1 +1 @@
-{"git_version": "bfdeba6", "is_release": true}
\ No newline at end of file
+{"git_version": "b1ba490", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/oslo_context/context.py
new/oslo.context-2.21.0/oslo_context/context.py
--- old/oslo.context-2.20.0/oslo_context/context.py 2018-01-08
15:11:35.000000000 +0100
+++ new/oslo.context-2.21.0/oslo_context/context.py 2018-06-05
20:07:20.000000000 +0200
@@ -49,6 +49,7 @@
'project_id': ['HTTP_X_PROJECT_ID',
'HTTP_X_TENANT_ID',
'HTTP_X_TENANT'],
+ 'system_scope': ['HTTP_OPENSTACK_SYSTEM_SCOPE'],
'user_domain_id': ['HTTP_X_USER_DOMAIN_ID'],
'project_domain_id': ['HTTP_X_PROJECT_DOMAIN_ID'],
'user_name': ['HTTP_X_USER_NAME'],
@@ -219,7 +220,8 @@
service_project_domain_id=None,
service_project_domain_name=None,
service_roles=None,
- global_request_id=None):
+ global_request_id=None,
+ system_scope=None):
"""Initialize the RequestContext
:param overwrite: Set to False to ensure that the greenthread local
@@ -228,6 +230,11 @@
the token as the admin project. Defaults to
True for backwards compatibility.
:type is_admin_project: bool
+ :param system_scope: The system scope of a token. The value ``all``
+ represents the entire deployment system. A service
+ ID represents a specific service within the
+ deployment system.
+ :type system_scope: string
"""
# setting to private variables to avoid triggering subclass properties
self._user_id = user_id
@@ -240,6 +247,7 @@
self.user_name = user_name
self.project_name = project_name
self.domain_name = domain_name
+ self.system_scope = system_scope
self.user_domain_name = user_domain_name
self.project_domain_name = project_domain_name
self.is_admin = is_admin
@@ -309,6 +317,7 @@
return _DeprecatedPolicyValues({
'user_id': self.user_id,
'user_domain_id': self.user_domain_id,
+ 'system_scope': self.system_scope,
'project_id': self.project_id,
'project_domain_id': self.project_domain_id,
'roles': self.roles,
@@ -330,6 +339,7 @@
return {'user': self.user_id,
'tenant': self.project_id,
+ 'system_scope': self.system_scope,
'project': self.project_id,
'domain': self.domain_id,
'user_domain': self.user_domain_id,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/oslo.context-2.20.0/oslo_context/tests/test_context.py
new/oslo.context-2.21.0/oslo_context/tests/test_context.py
--- old/oslo.context-2.20.0/oslo_context/tests/test_context.py 2018-01-08
15:11:35.000000000 +0100
+++ new/oslo.context-2.21.0/oslo_context/tests/test_context.py 2018-06-05
20:07:20.000000000 +0200
@@ -554,6 +554,7 @@
self.assertEqual({'user_id': user,
'user_domain_id': user_domain,
+ 'system_scope': None,
'project_id': tenant,
'project_domain_id': project_domain,
'roles': roles,
@@ -565,6 +566,32 @@
'service_roles': service_roles},
ctx.to_policy_values())
+ # NOTE(lbragstad): This string has special meaning in that the value
+ # ``all`` represents the entire deployment system.
+ system_all = 'all'
+
+ ctx = context.RequestContext(user=user,
+ user_domain=user_domain,
+ system_scope=system_all,
+ 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': system_all,
+ '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())
+
ctx = context.RequestContext(user=user,
user_domain=user_domain,
tenant=tenant,
@@ -577,6 +604,7 @@
self.assertEqual({'user_id': user,
'user_domain_id': user_domain,
+ 'system_scope': 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.20.0/releasenotes/source/index.rst
new/oslo.context-2.21.0/releasenotes/source/index.rst
--- old/oslo.context-2.20.0/releasenotes/source/index.rst 2018-01-08
15:11:35.000000000 +0100
+++ new/oslo.context-2.21.0/releasenotes/source/index.rst 2018-06-05
20:07:20.000000000 +0200
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ queens
pike
ocata
newton
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/releasenotes/source/queens.rst
new/oslo.context-2.21.0/releasenotes/source/queens.rst
--- old/oslo.context-2.20.0/releasenotes/source/queens.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/oslo.context-2.21.0/releasenotes/source/queens.rst 2018-06-05
20:07:20.000000000 +0200
@@ -0,0 +1,6 @@
+===================================
+ Queens Series Release Notes
+===================================
+
+.. release-notes::
+ :branch: stable/queens
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/test-requirements.txt
new/oslo.context-2.21.0/test-requirements.txt
--- old/oslo.context-2.20.0/test-requirements.txt 2018-01-08
15:11:52.000000000 +0100
+++ new/oslo.context-2.21.0/test-requirements.txt 2018-06-05
20:07:20.000000000 +0200
@@ -4,7 +4,7 @@
fixtures>=3.0.0 # Apache-2.0/BSD
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
-oslotest>=1.10.0 # Apache-2.0
+oslotest>=3.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
# Bandit security code scanner
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/oslo.context-2.20.0/tox.ini
new/oslo.context-2.21.0/tox.ini
--- old/oslo.context-2.20.0/tox.ini 2018-01-08 15:11:52.000000000 +0100
+++ new/oslo.context-2.21.0/tox.ini 2018-06-05 20:07:20.000000000 +0200
@@ -1,6 +1,6 @@
[tox]
minversion = 2.0
-envlist = py35,py27,pypy,pep8
+envlist = py35,py27,pep8
[testenv]
install_command = pip install {opts} {packages}
@@ -11,6 +11,7 @@
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
+basepython = python3
deps =
-r{toxinidir}/test-requirements.txt
commands =
@@ -25,7 +26,7 @@
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 -b html doc/source doc/build/html
+commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:cover]
commands = python setup.py test --coverage
--coverage-package-name=oslo_context --testr-args='{posargs}'
@@ -40,16 +41,15 @@
[hacking]
import_exceptions =
-[testenv:pip-missing-reqs]
-# do not install test-requirements as that will pollute the virtualenv for
-# determining missing packages
-# this also means that pip-missing-reqs must be installed separately, outside
-# of the requirements.txt files
-deps = pip_missing_reqs
-commands = pip-missing-reqs -d --ignore-module=oslo_context*
--ignore-file=oslo_context/tests/* --ignore-file=tests/ oslo_context
-
[testenv:releasenotes]
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 -a -E -W -d releasenotes/build/doctrees -b html
releasenotes/source releasenotes/build/html
+
+[testenv:lower-constraints]
+basepython = python3
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/requirements.txt