mirror of https://github.com/zulip/zulip.git
8f6f78b912
Fixes #11209. This requires changing how zadd is used in rate_limiter.py: In redis-py >= 3.0 the pairs to ZADD need to be passed as a dictionary, not as *args or **kwargs, as described at https://pypi.org/project/redis/3.2.1/ in the section "Upgrading from redis-py 2.X to 3.0". The rate_limiter change has to be in one commit with the redis upgrade, because the dict format is not supported before redis-py 3.0. |
||
---|---|---|
.. | ||
README.md | ||
common.in | ||
dev.in | ||
dev.txt | ||
docs.in | ||
docs.txt | ||
mypy.in | ||
mypy.txt | ||
pip.txt | ||
prod.in | ||
prod.txt | ||
thumbor.in | ||
thumbor.txt | ||
unupgradable.json |
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.
- Run
./tools/update-locked-requirements
. - Increase
PROVISION_VERSION
inversion.py
. - Run
./tools/provision
to install the new deps and test them. - Commit your changes.