zulip/requirements
Harshit Bansal 95b3f2e745 requirements: Add mypy.txt and docs.txt to locked requirements framework. 2017-11-21 02:38:26 +05:30
..
README.md requirements: Add documentation on regenerating lockfiles. 2017-09-15 07:58:19 -07:00
common.txt requirements: Update to new pyoembed release. 2017-11-17 11:03:08 -08:00
dev.txt requirements: Upgrade to fakeldap 0.6.1. 2017-11-16 15:23:44 -08:00
dev_lock.txt requirements: Update to new pyoembed release. 2017-11-17 11:03:08 -08:00
docs.txt requirements: Add mypy.txt and docs.txt to locked requirements framework. 2017-11-21 02:38:26 +05:30
docs_lock.txt requirements: Add mypy.txt and docs.txt to locked requirements framework. 2017-11-21 02:38:26 +05:30
mypy.txt requirements: Add mypy.txt and docs.txt to locked requirements framework. 2017-11-21 02:38:26 +05:30
mypy_lock.txt requirements: Add mypy.txt and docs.txt to locked requirements framework. 2017-11-21 02:38:26 +05:30
pip.txt Fix various typos. 2017-11-09 16:26:38 +01:00
prod.txt requirements: Add documentation on regenerating lockfiles. 2017-09-15 07:58:19 -07:00
prod_lock.txt requirements: Update to new pyoembed release. 2017-11-17 11:03:08 -08:00
thumbor.txt thumbor: Add dependencies and virtualenv setup script. 2017-11-16 22:38:29 -08:00
thumbor_lock.txt thumbor: Add dependencies and virtualenv setup script. 2017-11-16 22:38:29 -08:00

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.txt and propagate it to dev_lock.txt and prod_lock.txt: 0. Replace ipython==5.4.1 with ipython==6.0.0 in common.txt

  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.