From c23f4fe24122522617e217780374e899a98a4747 Mon Sep 17 00:00:00 2001 From: Thiago da Silva Date: Fri, 1 Nov 2019 09:57:34 +0200 Subject: [PATCH] pin lower-constraints to run against python 2.7 Change-Id: I5c856012a04ef8f910c28b0248ea7bcda47e4816 (cherry picked from commit 281ffab2a52f348aa3f8ad39e800a43c6047e1cf) --- .zuul.yaml | 2 ++ tox.ini | 1 + 2 files changed, 3 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 12fdfbbe25..5a763b733d 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -372,6 +372,8 @@ name: swift-tox-lower-constraints parent: openstack-tox-lower-constraints vars: + bindep_profile: test py27 + python_version: 2.7 tox_environment: TMPDIR: '{{ ansible_env.HOME }}/xfstmp' diff --git a/tox.ini b/tox.ini index 95f3de556e..6f862d59bf 100644 --- a/tox.ini +++ b/tox.ini @@ -145,6 +145,7 @@ commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasen # FIXME(dhellmann): We'll want to uncomment this # when the full test suite works with python 3. # basepython = python3 +basepython = python2.7 deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt