bootstrap: remove deprecated virtualenv options 348/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 21 May 2020 14:48:34 +0000 (10:48 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 21 May 2020 14:48:47 +0000 (10:48 -0400)
this fails on Ubuntu 20.04:

> virtualenv: error: unrecognized arguments: --no-site-packages --distribute

according to `virtualenv -h`:

>   --no-site-packages    DEPRECATED. Retained only for backward compatibility.
>                         Not having access to global site-packages is now the
>                         default behavior.
>   --distribute          DEPRECATED. Retained only for backward compatibility.
>                         This option has no effect.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
bootstrap

index 8434767a7ff569fd3f44b888224cf97d85855248..018597a61ab34075506bd77ff77e0d99fb2339bc 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -59,7 +59,7 @@ esac
 
 
 # s3-tests only works on python 3.6 not newer versions of python3
-${virtualenv} --python=$(which python3.6) --no-site-packages --distribute virtualenv
+${virtualenv} --python=$(which python3.6) virtualenv
 
 # avoid pip bugs
 ./virtualenv/bin/pip3 install --upgrade pip