summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2022-05-20 16:13:37 -0700
committerTim Burke <tim.burke@gmail.com>2022-05-24 11:53:59 -0700
commit238dc035350610e6ca18b902f12890736fe0e095 (patch)
tree5e6e96bba4a3c0235bfcc6d2f160d98480ac6f1b /tox.ini
parent64f09c696d8c8e45a7e2f0fa1bcd3316babcb7d1 (diff)
downloadswift-238dc035350610e6ca18b902f12890736fe0e095.tar.gz
CI: constrain py36 deps
Now that OpenStack writ large has dropped support for py36, we're going to have to manage our constraints ourselves more, just like we did for py27. Change-Id: I0973be6692e3a9b871eb61cbf759e13644a25107
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini12
1 files changed, 12 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index c6acc4f53..bcc3f373b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -29,6 +29,15 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
+[testenv:py36]
+deps =
+ -c{toxinidir}/py36-constraints.txt
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
+
+[testenv:py37]
+deps = {[testenv:py36]deps}
+
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_COVERAGE=1
@@ -46,16 +55,19 @@ commands =
[testenv:func-py3]
basepython = python3
+deps = {[testenv:py36]deps}
commands = ./.functests {posargs}
[testenv:func-ec-py3]
basepython = python3
+deps = {[testenv:py36]deps}
commands = ./.functests {posargs}
setenv = SWIFT_TEST_IN_PROCESS=1
SWIFT_TEST_IN_PROCESS_CONF_LOADER=ec
[testenv:func-encryption-py3]
basepython = python3
+deps = {[testenv:py36]deps}
commands = ./.functests {posargs}
setenv = SWIFT_TEST_IN_PROCESS=1
SWIFT_TEST_IN_PROCESS_CONF_LOADER=encryption