zulip/requirements
Puneeth Chaganti 0884764421 url preview: Add python-magic dependency for content-type sniffing. 2019-05-06 12:37:32 -07:00
..
README.md requirements: Improve README's format. 2018-05-26 06:26:14 -07:00
common.in url preview: Add python-magic dependency for content-type sniffing. 2019-05-06 12:37:32 -07:00
dev.in Revert "requirements: Upgrade moto from 1.3.7 to 1.3.8." 2019-04-28 21:18:01 -07:00
dev.txt url preview: Add python-magic dependency for content-type sniffing. 2019-05-06 12:37:32 -07:00
docs.in Revert "docs: Update dependencies for docs." 2019-03-06 09:55:51 -08:00
docs.txt requirements: Upgrade indirect dependencies in docs.txt. 2019-04-26 16:22:00 -07:00
mypy.in requirements: Upgrade mypy to 0.670. 2019-04-16 17:50:12 -07:00
mypy.txt requirements: Upgrade mypy to 0.670. 2019-04-16 17:50:12 -07:00
pip.txt requirements: Upgrade setuptools from 40.8.0 to 41.0.1. 2019-04-26 16:22:00 -07:00
prod.in requirements: Upgrade uWSGI to 2.0.17.1. 2018-07-31 11:13:22 -07:00
prod.txt url preview: Add python-magic dependency for content-type sniffing. 2019-05-06 12:37:32 -07:00
thumbor.in thumbor requirements: Upgrade virtualenv-clone from 0.4.0 to 0.5.1. 2019-01-30 09:50:43 -08:00
thumbor.txt requirements: Upgrade indirect dependencies in thumbor.txt. 2019-04-26 16:22:00 -07:00
unupgradable.json requirements: Add Pillow to unupgradable.json. 2019-04-26 16:22:00 -07: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.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.