zulip/requirements
Greg Price 455b77225f requirements: Note one requirement as needed only for zilencer.
Otherwise it's potentially puzzling why this is there, for an admin
looking at a normal install without zilencer.
2018-01-17 16:44:04 -08:00
..
README.md requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
common.in requirements: Note one requirement as needed only for zilencer. 2018-01-17 16:44:04 -08:00
dev.in requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
dev.txt requirements: Include stripe in common.in. 2018-01-17 16:12:32 -08:00
docs.in requirements: Add back explicit typing dependencies. 2017-11-20 13:47:16 -08:00
docs.txt requirements: Add back explicit typing dependencies. 2017-11-20 13:47:16 -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: Include stripe in common.in. 2018-01-17 16:12:32 -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.