mirror of https://github.com/zulip/zulip.git
setup_venv: Skip virtualenv’s automatic download of setuptools.
It recently started failing on Debian 10 (buster). We immediately follow this by replacing these packages with our own versions from pip.txt, anyway. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
417c32629d
commit
902883d818
|
@ -330,7 +330,7 @@ def do_setup_virtualenv(venv_path: str, requirements_file: str) -> None:
|
|||
if not try_to_copy_venv(venv_path, new_packages):
|
||||
# Create new virtualenv.
|
||||
run_as_root(["mkdir", "-p", venv_path])
|
||||
run_as_root(["virtualenv", "-p", "python3", venv_path])
|
||||
run_as_root(["virtualenv", "-p", "python3", "--no-download", venv_path])
|
||||
run_as_root(["chown", "-R", f"{os.getuid()}:{os.getgid()}", venv_path])
|
||||
create_log_entry(get_logfile_name(venv_path), "", set(), new_packages)
|
||||
|
||||
|
|
Loading…
Reference in New Issue