zulip/requirements
Anders Kaseorg 840cf4b885 requirements: Drop direct dependency on mock.
mock is just a backport of the standard library’s unittest.mock now.

The SAMLAuthBackendTest change is needed because
MagicMock.call_args.args wasn’t introduced until Python
3.8 (https://bugs.python.org/issue21269).

The PROVISION_VERSION bump is skipped because mock is still an
indirect dev requirement via moto.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-05-26 11:40:42 -07:00
..
README.md update-locked-requirements: Generate prod locks from dev locks. 2020-04-18 13:09:51 -07:00
common.in requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
dev.in lint: Check docs/THIRDPARTY for format errors. 2020-05-02 10:10:22 -07:00
dev.txt requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
docs.in docs: Upgrade recommonmark to 0.6.0, fixing issues. 2019-10-02 12:29:24 -07:00
docs.txt requirements: Upgrade Python requirements. 2020-04-18 13:09:51 -07:00
mypy.in mypy: Upgrade from 0.730 to 0.740. 2019-11-13 12:38:45 -08:00
mypy.txt requirements: Upgrade Python requirements. 2020-04-18 13:09:51 -07:00
pip.in requirements: Generate pip.txt from pip.in like the other *.txt files. 2019-09-23 13:23:58 -07:00
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 requirements: Remove unnecessary version bounds from *.in. 2019-09-23 13:23:58 -07:00
prod.txt requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -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 requirements: Remove unnecessary version bounds from *.in. 2019-09-23 13:23:58 -07:00
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.