zulip/requirements
Puneeth Chaganti e41f4b01c0 requirements: Upgrade IPython to the latest version. 2020-04-24 17:25:33 -07:00
..
README.md update-locked-requirements: Generate prod locks from dev locks. 2020-04-18 13:09:51 -07:00
common.in requirements: Unblock IPython upgrade since Python 3.5 dropped. 2020-04-24 12:39:10 -07:00
dev.in requirements: Remove requirement on cairosvg in production. 2020-04-20 23:25:45 -07:00
dev.txt requirements: Upgrade IPython to the latest version. 2020-04-24 17:25:33 -07:00
docs.in
docs.txt requirements: Upgrade Python requirements. 2020-04-18 13:09:51 -07:00
mypy.in
mypy.txt requirements: Upgrade Python requirements. 2020-04-18 13:09:51 -07:00
pip.in
pip.txt requirements: Upgrade Python requirements. 2020-04-18 13:09:51 -07:00
pip2.in update-locked-requirements: Generate prod locks from dev locks. 2020-04-18 13:09:51 -07:00
pip2.txt requirements: Upgrade Python requirements. 2020-04-18 13:09:51 -07:00
prod.in
prod.txt requirements: Upgrade IPython to the latest version. 2020-04-24 17:25:33 -07:00
thumbor-dev.in update-locked-requirements: Generate prod locks from dev locks. 2020-04-18 13:09:51 -07:00
thumbor-dev.txt requirements: Upgrade Python requirements. 2020-04-18 13:09:51 -07:00
thumbor.in
thumbor.txt requirements: Upgrade Python requirements. 2020-04-18 13:09:51 -07:00

README.md

The dependency graph of the requirements is as follows:

dev +-> prod +-> common
+
|
v
mypy,docs,pip

Of the files, only dev, prod, and mypy have been used in the install scripts directly. The rest are implicit dependencies.

Steps to update a lock file, e.g. to update ipython from 5.3.0 to latest version: 0. Remove entry for ipython==5.4.1 in dev.txt.

  1. Run ./tools/update-locked-requirements, which will generate new entries, pinned to the latest version.
  2. Increase PROVISION_VERSION in version.py.
  3. Run ./tools/provision to install the new deps and test them.
  4. Commit your changes.