mirror of https://github.com/zulip/zulip.git
cfd93096b5
As explained in the previous commit, yamole preprocessed allOf with an algorithm that is not standards compliant. We replicate that algorithm, but importantly, we only use it for our own code and not for building the openapi_core RequestValidator. This improves the time taken by OpenAPISpec().check_reload() from 1.69s to 0.53s, nearly all of which is inside openapi_core.create_spec. Closes #10484. Significantly improves #16068. Signed-off-by: Anders Kaseorg <anders@zulip.com> |
||
---|---|---|
.. | ||
README.md | ||
common.in | ||
dev.in | ||
dev.txt | ||
docs.in | ||
docs.txt | ||
mypy.in | ||
mypy.txt | ||
pip.in | ||
pip.txt | ||
pip2.in | ||
prod.in | ||
prod.txt | ||
thumbor-dev.in | ||
thumbor-dev.txt | ||
thumbor.in | ||
thumbor.txt |
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.
- Run
./tools/update-locked-requirements
, which will generate new entries, pinned to the latest version. - Increase
PROVISION_VERSION
inversion.py
. - Run
./tools/provision
to install the new deps and test them. - Commit your changes.