zulip/requirements
Anders Kaseorg a5596011a0 queue_processors, python_examples: Fix mypy errors.
zerver/openapi/python_examples.py:105: error: Argument 1 to "get_user_presence" of "Client" has incompatible type "str"; expected "Dict[str, Any]"
    zerver/openapi/python_examples.py:563: error: Argument 1 to "add_reaction" of "Client" has incompatible type "Dict[str, object]"; expected "Dict[str, str]"
    zerver/openapi/python_examples.py:576: error: Argument 1 to "remove_reaction" of "Client" has incompatible type "Dict[str, object]"; expected "Dict[str, str]"
    zerver/worker/queue_processors.py:587: error: Argument "client" to "extract_query_without_mention" has incompatible type "EmbeddedBotHandler"; expected "ExternalBotHandler"

These were only missed because mypy daemon mode requires us to set
`follow_imports = skip` for the `zulip` package.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-08-16 14:13:40 -07:00
..
README.md requirements: Improve README's format. 2018-05-26 06:26:14 -07:00
common.in queue_processors, python_examples: Fix mypy errors. 2019-08-16 14:13:40 -07:00
dev.in requirements: Update zulint. 2019-08-16 14:13:40 -07:00
dev.txt queue_processors, python_examples: Fix mypy errors. 2019-08-16 14:13:40 -07:00
docs.in docs: pip upgrade recommonmark and CommonMark 2019-08-15 22:41:40 -07:00
docs.txt docs: pip upgrade recommonmark and CommonMark 2019-08-15 22:41:40 -07:00
mypy.in requirements: Upgrade to mypy 0.720. 2019-07-25 17:41:10 -07:00
mypy.txt requirements: Upgrade to mypy 0.720. 2019-07-25 17:41:10 -07:00
pip.txt requirements: Upgrade wheel from 0.33.1 to 0.33.4. 2019-07-26 10:57:31 -07:00
prod.in requirements: Upgrade uWSGI to 2.0.17.1. 2018-07-31 11:13:22 -07:00
prod.txt queue_processors, python_examples: Fix mypy errors. 2019-08-16 14:13:40 -07:00
thumbor.in requirements: Upgrade certifi from 2019.3.9 to 2019.6.16. 2019-07-26 10:57:31 -07:00
thumbor.txt requirements: Upgrade certifi from 2019.3.9 to 2019.6.16. 2019-07-26 10:57:31 -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.