diff options
author | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-04-29 15:57:08 -0500 |
---|---|---|
committer | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-05-04 07:03:53 -0500 |
commit | 0f2da2aee6805afbdadfd1e8fa8e993cd6a0196d (patch) | |
tree | 611cfb3d18e8f8f675dc29788567f0f5ca231550 /tox.ini | |
parent | 7bff34c5d3714f3a2f999de3b5d34d92df2e0e5b (diff) | |
download | swift-0f2da2aee6805afbdadfd1e8fa8e993cd6a0196d.tar.gz |
Use local py2 upper-constraints
The global upper constraints repo will no longer track py2 packages,
meaning upper constraints for the py2.7 runtime will need to be handled
locally.
This adds an in-repo file for upper constraints enforcement using the
last py27 constraints from openstack/requirements to validate
functionality.
Change-Id: I624f914c6155178cbe474f1eae2871e2aef721eb
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -21,6 +21,12 @@ whitelist_externals = find rm passenv = SWIFT_* *_proxy +[testenv:py27] +deps = + -c{toxinidir}/py2-constraints.txt + -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + [testenv:cover] setenv = VIRTUAL_ENV={envdir} NOSE_WITH_COVERAGE=1 @@ -30,6 +36,7 @@ setenv = VIRTUAL_ENV={envdir} [testenv:pep8] basepython = python2.7 +deps = {[testenv:py27]deps} commands = flake8 {posargs:swift test doc setup.py} flake8 --filename=swift* bin @@ -71,28 +78,33 @@ setenv = SWIFT_TEST_IN_PROCESS=1 [testenv:func] basepython = python2.7 +deps = {[testenv:py27]deps} commands = ./.functests {posargs} [testenv:func-encryption] basepython = python2.7 +deps = {[testenv:py27]deps} commands = ./.functests {posargs} setenv = SWIFT_TEST_IN_PROCESS=1 SWIFT_TEST_IN_PROCESS_CONF_LOADER=encryption [testenv:func-domain-remap-staticweb] basepython = python2.7 +deps = {[testenv:py27]deps} commands = ./.functests {posargs} setenv = SWIFT_TEST_IN_PROCESS=1 SWIFT_TEST_IN_PROCESS_CONF_LOADER=domain_remap_staticweb [testenv:func-ec] basepython = python2.7 +deps = {[testenv:py27]deps} commands = ./.functests {posargs} setenv = SWIFT_TEST_IN_PROCESS=1 SWIFT_TEST_IN_PROCESS_CONF_LOADER=ec [testenv:func-s3api] basepython = python2.7 +deps = {[testenv:py27]deps} commands = ./.functests {posargs} setenv = SWIFT_TEST_IN_PROCESS=1 SWIFT_TEST_IN_PROCESS_CONF_LOADER=s3api |