mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
d0c6f4f400
commit
9ba48c4ed3
@@ -84,7 +84,17 @@ def get_venv_dependencies(vendor: str, os_version: str) -> List[str]:
|
||||
def install_venv_deps(pip: str, requirements_file: str) -> None:
|
||||
pip_requirements = os.path.join(ZULIP_PATH, "requirements", "pip.txt")
|
||||
run([pip, "install", "--force-reinstall", "--require-hashes", "-r", pip_requirements])
|
||||
run([pip, "install", "--no-deps", "--require-hashes", "-r", requirements_file])
|
||||
run(
|
||||
[
|
||||
pip,
|
||||
"install",
|
||||
"--use-deprecated=legacy-resolver", # https://github.com/pypa/pip/issues/5780
|
||||
"--no-deps",
|
||||
"--require-hashes",
|
||||
"-r",
|
||||
requirements_file,
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
def get_index_filename(venv_path: str) -> str:
|
||||
|
Reference in New Issue
Block a user