zulip/requirements
Tim Abbott b42ce65090 requirements: Add dependencies for two-factor auth.
We're not yet ready to add 2FA to Zulip yet, but we've determined we'd
like to work from these libraries.

I'm not bothering to bump PROVISION_VERSION for this, since we're
likely to do something else that bumps it soon, and we're not merging
anything that uses these new libraries.
2017-11-28 15:13:38 -08:00
..
README.md requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
common.in requirements: Add dependencies for two-factor auth. 2017-11-28 15:13:38 -08:00
dev.in requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
dev.txt requirements: Add dependencies for two-factor auth. 2017-11-28 15:13:38 -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.550. 2017-11-25 10:06:27 -08:00
mypy.txt requirements: Upgrade mypy to 0.550. 2017-11-25 10:06:27 -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: Add dependencies for two-factor auth. 2017-11-28 15:13:38 -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.