
This change removes a workaround to handle python 2 vs python 3 in the fetch_wheels.sh script. This is part of the effort to remove the python 2 workarounds and references in the loci repo. Change-Id: I7176d665548a14442b06214e450e7b17e54dd85d
16 lines
572 B
Bash
Executable File
16 lines
572 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
python3 $(dirname $0)/fetch_wheels.py
|
|
|
|
mkdir -p /tmp/wheels/
|
|
# Exclude all files starting with '.' as these can be control files for
|
|
# AUFS which have special meaning on AUFS backed file stores.
|
|
tar xf /tmp/wheels.tar.gz --exclude='.*' -C /tmp/wheels/
|
|
|
|
# Presence of constraint for project we build (in Stein, Train for Horizon and
|
|
# Neutron) in uc breaks project installation with unsatisfied constraints error
|
|
# This line ensures that such constraint is absent for any future occurrence
|
|
sed -i "/^${PROJECT}===/d" /tmp/wheels/upper-constraints.txt
|