Update stable/queens upper constraints file location

Tox fails locally When running ``tox -e bandit`` due to a 302 redirect
pointing to the new location of the upper-constraints file, mainly due
to the migration to opendev.

This commit also constrains bandit to version 1.5.1 or earlier since
version 1.6.0 introduces some additional checks that fail on
false-positive naming (e.g., `token`).

Change-Id: Ie03e6970e0d45a3f066a87cdca8a6e1f98f51634
This commit is contained in:
Lance Bragstad 2019-08-26 22:41:41 +00:00
parent 3487771ed1
commit d68942d03d
2 changed files with 2 additions and 2 deletions

View File

@ -21,4 +21,4 @@ python-memcached>=1.56 # PSF
WebTest>=2.0.27 # MIT
# Bandit security code scanner
bandit>=1.1.0 # Apache-2.0
bandit>=1.1.0,<=1.5.1 # Apache-2.0

View File

@ -5,7 +5,7 @@ envlist = py35,py27,pep8,releasenotes
[testenv]
usedevelop = True
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens} {opts} {packages}
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/queens/upper-constraints.txt} {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
BRANCH_NAME=master
CLIENT_NAME=keystonemiddleware