mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
thumbor: Fix missing virtualenv-clone package in dependencies.
This package is important in order to avoid scary-looking errors whenever we upgrade the dependencies in thumbor.txt (where virtualenv-clone isn't installed in the venv, and then gets installed by the code we just added a TODO comment to.
This commit is contained in:
@@ -157,6 +157,9 @@ def try_to_copy_venv(venv_path, new_packages):
|
||||
source=source_venv_path,
|
||||
target=venv_path).split()
|
||||
try:
|
||||
# TODO: We can probably remove this in a few months, now
|
||||
# that we can expect that virtualenv-clone is present in
|
||||
# all of our recent virtualenvs.
|
||||
run(cmd)
|
||||
except Exception:
|
||||
# Virtualenv-clone is not installed. Install it and try running
|
||||
|
||||
Reference in New Issue
Block a user