diff options
author | Lance Bragstad <lbragstad@gmail.com> | 2019-08-26 22:41:41 +0000 |
---|---|---|
committer | Lance Bragstad <lbragstad@gmail.com> | 2019-08-26 22:41:41 +0000 |
commit | d68942d03d1628b0cc209024ec5966bc74f2f6d0 (patch) | |
tree | f81592f164b6fceaec11b9a0aef6eabeb12f204d | |
parent | 3487771ed154fdf93681dffc04f36deea26f99c8 (diff) | |
download | keystonemiddleware-d68942d03d1628b0cc209024ec5966bc74f2f6d0.tar.gz |
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
-rw-r--r-- | test-requirements.txt | 2 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index e17dfc5..5b2504b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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 @@ -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 |