Browse Source

Use python3 for update_constraints

Change-Id: Id882f4fae0152ff0ae23b6c23ce575e099fcf70c
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
changes/31/738931/1
Sean McGinnis 2 years ago
parent
commit
a048436971
No known key found for this signature in database GPG Key ID: CE7EE4BFAF8D70C8
  1. 4
      roles/copy-release-tools-scripts/files/release-tools/update_constraints.sh

4
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"

Loading…
Cancel
Save