From 3c289f86ea4186675b8b3e127e67e325338f8289 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Mon, 25 May 2020 16:46:16 -0500 Subject: [PATCH] Add in-tree upper-constraints for py35 job It is difficult to keep the py35 upper constraints on reqiorements repo's upper-constarint.txt file as update-constraint tools generate the new file everytime with official supported python version only which is py3.6 and py3.8 for Victoria cycle - https://review.opendev.org/#/c/730428 Let's keep the py3.5 constraints in-tree which can be used in py35 unit test job. Change-Id: I397edb7eccdb23656d1a618635d9cb9c0c901d39 --- py35-upper-constraints.txt | 1 + tox.ini | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 py35-upper-constraints.txt diff --git a/py35-upper-constraints.txt b/py35-upper-constraints.txt new file mode 100644 index 0000000..eb75ea9 --- /dev/null +++ b/py35-upper-constraints.txt @@ -0,0 +1 @@ +zipp===1.1.0 diff --git a/tox.ini b/tox.ini index 8c6d279..3d802a7 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,12 @@ deps = commands = stestr run --slowest {posargs} +[testenv:py35] +deps = + -c{toxinidir}/py35-upper-constraints.txt + -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + [testenv:integration] whitelist_externals = bash commands =