mirror of https://github.com/zulip/zulip.git
df18bbbd48
Note that django_stubs_ext is required to be placed within common.in because we need the monkeypatched types in runtime; django-stubs itself is for type checking only. In the future, we would like to pin to a release instead of a git revision, but several patches we've contributed upstream have not appeared in a release yet. We also remove the type annotation for RealmAuditLog.event_last_message_id here instead of earlier because type checking fails otherwise. Fixes #11560. |
||
---|---|---|
.. | ||
README.md | ||
common.in | ||
dev.in | ||
dev.txt | ||
docs.in | ||
docs.txt | ||
mypy.in | ||
pip.in | ||
pip.txt | ||
prod.in | ||
prod.txt |
README.md
The dependency graph of the requirements is as follows:
dev +-> prod +-> common
+
|
v
docs,pip
Of the files, only dev and prod have been used in the install scripts directly. The rest are implicit dependencies.
Steps to update a lock file, e.g. to update ipython from 5.3.0 to latest version:
- Remove entry for
ipython==5.3.0
in dev.txt. - Run
./tools/update-locked-requirements
, which will generate new entries, pinned to the latest version. - Increase
PROVISION_VERSION
inversion.py
. - Run
./tools/provision
to install the new deps and test them. - Commit your changes.