From 4f3b36607738be78985982c3dc935836e9a1814d Mon Sep 17 00:00:00 2001
From: Doug Hellmann <doug@doughellmann.com>
Date: Thu, 8 Nov 2018 14:10:36 -0500
Subject: [PATCH] ensure twine is installed with python 3

Set twine_python to python3 to ensure that we use python3 to install
twine.

Change-Id: I94daa02a0380a765490b8e2b9d0276bcdba26103
Depends-On: https://review.openstack.org/616673
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
---
 zuul.d/jobs.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml
index 2cf3d586b2..9c053a7b82 100644
--- a/zuul.d/jobs.yaml
+++ b/zuul.d/jobs.yaml
@@ -207,6 +207,7 @@
       - gpg_key
     vars:
       release_python: python3
+      twine_python: python3
       bdist_wheel_xargs: "--universal"
 
 - job:
@@ -218,6 +219,7 @@
     run: playbooks/pti-python-tarball/check.yaml
     vars:
       release_python: python3
+      twine_python: python3
       bdist_wheel_xargs: "--universal"
     files:
       - setup.cfg