mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
deps: Explain the -e
oddness, and handle it uniformly.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
six==1.10.0
|
||||
git+https://github.com/python/mypy.git@d96b2cf22216a4ad6aa55a5726ee35a3fa38c637#egg=mypy==0.530-dev
|
||||
-e git+https://github.com/python/mypy.git@d96b2cf22216a4ad6aa55a5726ee35a3fa38c637#egg=mypy==0.530-dev
|
||||
typed-ast==1.1.0
|
||||
typing==3.6.2
|
||||
|
@@ -8,13 +8,11 @@ fi
|
||||
source /srv/zulip-py3-venv/bin/activate
|
||||
|
||||
pip-compile --output-file requirements/prod_lock.txt requirements/prod.txt
|
||||
# Add the editable flag to mypy for the purpose of building the lockfile for
|
||||
# dev.txt
|
||||
sed -i 's/git/-e git/' requirements/mypy.txt
|
||||
pip-compile --output-file requirements/dev_lock.txt requirements/dev.txt
|
||||
sed -i 's/-e git/git/' requirements/mypy.txt
|
||||
|
||||
# Remove the editable flag in the lock file for safer build
|
||||
# Remove the editable flag in the lock files. It's there because pip-compile
|
||||
# can't yet do without it (see https://github.com/jazzband/pip-tools/issues/272
|
||||
# upstream), but in the output of pip-compile it's no longer needed.
|
||||
sed -i 's/-e //' requirements/prod_lock.txt requirements/dev_lock.txt
|
||||
|
||||
# pip-tools bug; future, futures are obsolete in python3
|
||||
|
Reference in New Issue
Block a user