zulip/requirements
Rishi Gupta dec4b9ed93 remote dev: Add code and instructions for creating digital ocean droplets.
Mostly copied from the zulip/zulip-gci repository, but with some changes to
wordings and code cleanup for linters.
2017-11-06 12:20:39 -08:00
..
README.md requirements: Add documentation on regenerating lockfiles. 2017-09-15 07:58:19 -07:00
common.txt requirements: Upgrade six to 1.11.0. 2017-10-27 16:56:15 -07:00
dev.txt remote dev: Add code and instructions for creating digital ocean droplets. 2017-11-06 12:20:39 -08:00
dev_lock.txt remote dev: Add code and instructions for creating digital ocean droplets. 2017-11-06 12:20:39 -08:00
docs.txt requirements: Upgrade Sphinx to 1.6.5. 2017-10-27 16:56:15 -07:00
mypy.txt requirements: Update mypy to latest version. 2017-10-27 17:05:52 -07:00
pip.txt requirements: Upgrade setuptools to 36.6.0. 2017-10-27 16:56:15 -07:00
prod.txt requirements: Add documentation on regenerating lockfiles. 2017-09-15 07:58:19 -07:00
prod_lock.txt requirements: Update comments output by update-locked-requirements. 2017-11-06 12:20:39 -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.