zulip/requirements
Vishnu Ks 449c1d5064 requirements: Upgrade django-two-factor-auth to 1.7.0. 2018-02-14 09:41:49 -08:00
..
README.md requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
common.in requirements: Upgrade django-two-factor-auth to 1.7.0. 2018-02-14 09:41:49 -08:00
dev.in requirements: Upgrade cryptography to 2.1.4. 2018-02-14 09:41:49 -08:00
dev.txt requirements: Upgrade django-two-factor-auth to 1.7.0. 2018-02-14 09:41:49 -08:00
docs.in requirements: Upgrade Babel to 2.5.3. 2018-02-14 09:41:49 -08:00
docs.txt requirements: Upgrade Babel to 2.5.3. 2018-02-14 09:41:49 -08:00
mypy.in requirements: Upgrade mypy to 0.560. 2017-12-20 18:09:36 -08:00
mypy.txt requirements: Upgrade mypy to 0.560. 2017-12-20 18:09:36 -08:00
pip.txt Fix various typos. 2017-11-09 16:26:38 +01:00
prod.in requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
prod.txt requirements: Upgrade django-two-factor-auth to 1.7.0. 2018-02-14 09:41:49 -08:00
thumbor.in requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
thumbor.txt requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30

README.md

The dependency graph of the requirements is as follows:

dev         prod
+ +          +
| +->common<-+
v
mypy,docs

Of the files, only dev, prod, and mypy have been used in the install scripts directly. The rest are implicit dependencies.

common and dev are locked.

Steps to update a lock file, e.g. to update ipython from 5.3.0 to 6.0.0 in common.in and propagate it to dev.txt and prod.txt: 0. Replace ipython==5.4.1 with ipython==6.0.0 in common.in

  1. Run './tools/update-locked-requirements'
  2. Increase PROVISION_VERSION in version.py.
  3. Run ./tools/provision to install the new deps and test them
  4. Commit your changes.