From a04843697158838da05a53685a83fd074ae2cb83 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Wed, 1 Jul 2020 15:13:11 -0500 Subject: [PATCH] Use python3 for update_constraints Change-Id: Id882f4fae0152ff0ae23b6c23ce575e099fcf70c Signed-off-by: Sean McGinnis --- .../files/release-tools/update_constraints.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/copy-release-tools-scripts/files/release-tools/update_constraints.sh b/roles/copy-release-tools-scripts/files/release-tools/update_constraints.sh index c936a16d5b..2eeec80bfe 100755 --- a/roles/copy-release-tools-scripts/files/release-tools/update_constraints.sh +++ b/roles/copy-release-tools-scripts/files/release-tools/update_constraints.sh @@ -96,8 +96,8 @@ function pep503 { # we first ask for the name without saving the output and then we # ask for it again and save the output to get a clean # version. This is why we can't have nice things. -python setup.py --name -dist_name=$(python setup.py --name) +python3 setup.py --name +dist_name=$(python3 setup.py --name) canonical_name=$(pep503 $dist_name) if [[ -z "$dist_name" ]]; then echo "Could not determine the name of the constraint to update"