ansible-test - add constraint for virtualenv (#67289)
* ansible-test - add constraint for virtualenv * Limit virtualenv only on macOS. Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
parent
c32348088a
commit
8f296a6533
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- ansible-test - Use ``virtualenv`` versions before 20 on provisioned macOS instances to remain compatible with an older pip install.
|
|
@ -73,7 +73,7 @@ elif [ "${platform}" = "rhel" ]; then
|
|||
elif [ "${platform}" = "osx" ]; then
|
||||
while true; do
|
||||
pip install --disable-pip-version-check --quiet \
|
||||
virtualenv \
|
||||
'virtualenv<20' \
|
||||
&& break
|
||||
echo "Failed to install packages. Sleeping before trying again..."
|
||||
sleep 10
|
||||
|
|
Loading…
Reference in a new issue