requirements: Add importlib-metadata and importlib-resources in dev.in.

importlib-metadata and importlib-resources are dependent packages for jsonschema
and cfn-lint respectively. They are built-in modules in later versions
of python (3.8, 3.7). When update-locked-requirements is run within python3.7 or
3.8 they will generate difference in locked files so we build these modules separately
to avoid such conflicts.
This commit is contained in:
arpit551 2020-03-23 04:19:01 +05:30 committed by Tim Abbott
parent 70bbb4ca7f
commit dc6b09dc04
3 changed files with 10 additions and 5 deletions

View File

@ -60,3 +60,10 @@ pip-tools
https://github.com/zulip/zulint/archive/aaed679f1ad38b230090eadd3870b7682500f60c.zip#egg=zulint==0.0.1 https://github.com/zulip/zulint/archive/aaed679f1ad38b230090eadd3870b7682500f60c.zip#egg=zulint==0.0.1
-r mypy.in -r mypy.in
# These modules are built in later versions of python and will generate difference in locked files
# if executed with python version > 3.6 so despite being dependent packages they have to be added separately.
# built-in python > 3.7 needed by jsonschema
importlib-metadata
# built-in python > 3.6 needed by cfn-lint
importlib-resources

View File

@ -343,12 +343,10 @@ imagesize==1.2.0 \
# via sphinx # via sphinx
importlib-metadata==1.5.0 \ importlib-metadata==1.5.0 \
--hash=sha256:06f5b3a99029c7134207dd882428a66992a9de2bef7c2b699b5641f9886c3302 \ --hash=sha256:06f5b3a99029c7134207dd882428a66992a9de2bef7c2b699b5641f9886c3302 \
--hash=sha256:b97607a1a18a5100839aec1dc26a1ea17ee0d93b20b0f008d80a5a050afb200b \ --hash=sha256:b97607a1a18a5100839aec1dc26a1ea17ee0d93b20b0f008d80a5a050afb200b
# via jsonschema
importlib-resources==1.0.2 \ importlib-resources==1.0.2 \
--hash=sha256:6e2783b2538bd5a14678284a3962b0660c715e5a0f10243fd5e00a4b5974f50b \ --hash=sha256:6e2783b2538bd5a14678284a3962b0660c715e5a0f10243fd5e00a4b5974f50b \
--hash=sha256:d3279fd0f6f847cced9f7acc19bd3e5df54d34f93a2e7bb5f238f81545787078 \ --hash=sha256:d3279fd0f6f847cced9f7acc19bd3e5df54d34f93a2e7bb5f238f81545787078
# via cfn-lint
incremental==17.5.0 \ incremental==17.5.0 \
--hash=sha256:717e12246dddf231a349175f48d74d93e2897244939173b01974ab6661406b9f \ --hash=sha256:717e12246dddf231a349175f48d74d93e2897244939173b01974ab6661406b9f \
--hash=sha256:7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3 \ --hash=sha256:7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3 \

View File

@ -26,4 +26,4 @@ LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/12/13/zulip-2-1-relea
# historical commits sharing the same major version, in which case a # historical commits sharing the same major version, in which case a
# minor version bump suffices. # minor version bump suffices.
PROVISION_VERSION = '75.1' PROVISION_VERSION = '75.2'