mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-25 03:47:22 +00:00
bootstrap: remove deprecated virtualenv options
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>
(cherry picked from commit a0c15c80ad
)
This commit is contained in:
parent
9092d1ac61
commit
8ebb504159
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ esac
|
||||||
|
|
||||||
|
|
||||||
# s3-tests only works on python 3.6 not newer versions of python3
|
# 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
|
# avoid pip bugs
|
||||||
./virtualenv/bin/pip3 install --upgrade pip
|
./virtualenv/bin/pip3 install --upgrade pip
|
||||||
|
|
Loading…
Reference in a new issue