pypi: Upgrade zulip/zulip-bots dependencies to version 0.7.0.

Includes this change:
* openapi/python_examples: Update get_single_user.

This updates get_single_user to pass keyword arguments to
get_user_by_id instead of passing a dictionary.

Which is required for CI to pass, as we indeed fixed the API of that
function (which had only been present with the wrong API for one release).
This commit is contained in:
Eeshan Garg 2020-04-21 21:39:20 -02:30 committed by Tim Abbott
parent de28c8d238
commit 75b2264a3f
5 changed files with 12 additions and 12 deletions

View File

@ -135,8 +135,8 @@ python-magic
# the version from Git rather than a PyPI release. Keeping everything in # the version from Git rather than a PyPI release. Keeping everything in
# one repository simplifies the process of implementing and documenting # one repository simplifies the process of implementing and documenting
# new bots for new contributors. # new bots for new contributors.
https://github.com/zulip/python-zulip-api/archive/0.6.4.zip/#egg=zulip==0.6.4_git&subdirectory=zulip https://github.com/zulip/python-zulip-api/archive/0.7.0.zip/#egg=zulip==0.7.0_git&subdirectory=zulip
https://github.com/zulip/python-zulip-api/archive/0.6.4.zip/#egg=zulip_bots==0.6.4+git&subdirectory=zulip_bots https://github.com/zulip/python-zulip-api/archive/0.7.0.zip/#egg=zulip_bots==0.7.0+git&subdirectory=zulip_bots
# Used for Hesiod lookups, etc. # Used for Hesiod lookups, etc.
py3dns py3dns

View File

@ -1115,11 +1115,11 @@ zope.interface==5.1.0 \
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 \
--hash=sha256:9779afff26553119756e7be59d8a4adccda6758bf26483cc18a33cffe2efac60 \ --hash=sha256:9779afff26553119756e7be59d8a4adccda6758bf26483cc18a33cffe2efac60 \
# via -r requirements/dev.in # via -r requirements/dev.in
https://github.com/zulip/python-zulip-api/archive/0.6.4.zip/#egg=zulip==0.6.4_git&subdirectory=zulip \ https://github.com/zulip/python-zulip-api/archive/0.7.0.zip/#egg=zulip==0.7.0_git&subdirectory=zulip \
--hash=sha256:d1d46d435a147ea3f3ef63e0f0b5ce8356694d341502d1600eabb2db751adb9f \ --hash=sha256:161e3f38a9d27bf76a30da3d3d81f5f1b71a8c2c8144e0c4a33cd15018606d9f \
# via -r requirements/common.in, zulip-bots # via -r requirements/common.in, zulip-bots
https://github.com/zulip/python-zulip-api/archive/0.6.4.zip/#egg=zulip_bots==0.6.4+git&subdirectory=zulip_bots \ https://github.com/zulip/python-zulip-api/archive/0.7.0.zip/#egg=zulip_bots==0.7.0+git&subdirectory=zulip_bots \
--hash=sha256:d1d46d435a147ea3f3ef63e0f0b5ce8356694d341502d1600eabb2db751adb9f \ --hash=sha256:161e3f38a9d27bf76a30da3d3d81f5f1b71a8c2c8144e0c4a33cd15018606d9f \
# via -r requirements/common.in # via -r requirements/common.in
zxcvbn==4.4.28 \ zxcvbn==4.4.28 \
--hash=sha256:151bd816817e645e9064c354b13544f85137ea3320ca3be1fb6873ea75ef7dc1 \ --hash=sha256:151bd816817e645e9064c354b13544f85137ea3320ca3be1fb6873ea75ef7dc1 \

View File

@ -674,11 +674,11 @@ yamole==2.1.6 \
--hash=sha256:e9b9af803cd856517a5e0ce2a44820c49b7626c83117118a064622829aa8c5a7 \ --hash=sha256:e9b9af803cd856517a5e0ce2a44820c49b7626c83117118a064622829aa8c5a7 \
--hash=sha256:ea094cc8acee25316c41ab515921253b8dff965e04ac68e922e11bf86aa1cee4 \ --hash=sha256:ea094cc8acee25316c41ab515921253b8dff965e04ac68e922e11bf86aa1cee4 \
# via -r requirements/common.in # via -r requirements/common.in
https://github.com/zulip/python-zulip-api/archive/0.6.4.zip/#egg=zulip==0.6.4_git&subdirectory=zulip \ https://github.com/zulip/python-zulip-api/archive/0.7.0.zip/#egg=zulip==0.7.0_git&subdirectory=zulip \
--hash=sha256:d1d46d435a147ea3f3ef63e0f0b5ce8356694d341502d1600eabb2db751adb9f \ --hash=sha256:161e3f38a9d27bf76a30da3d3d81f5f1b71a8c2c8144e0c4a33cd15018606d9f \
# via -r requirements/common.in, zulip-bots # via -r requirements/common.in, zulip-bots
https://github.com/zulip/python-zulip-api/archive/0.6.4.zip/#egg=zulip_bots==0.6.4+git&subdirectory=zulip_bots \ https://github.com/zulip/python-zulip-api/archive/0.7.0.zip/#egg=zulip_bots==0.7.0+git&subdirectory=zulip_bots \
--hash=sha256:d1d46d435a147ea3f3ef63e0f0b5ce8356694d341502d1600eabb2db751adb9f \ --hash=sha256:161e3f38a9d27bf76a30da3d3d81f5f1b71a8c2c8144e0c4a33cd15018606d9f \
# via -r requirements/common.in # via -r requirements/common.in
zxcvbn==4.4.28 \ zxcvbn==4.4.28 \
--hash=sha256:151bd816817e645e9064c354b13544f85137ea3320ca3be1fb6873ea75ef7dc1 \ --hash=sha256:151bd816817e645e9064c354b13544f85137ea3320ca3be1fb6873ea75ef7dc1 \

View File

@ -44,4 +44,4 @@ API_FEATURE_LEVEL = 1
# 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 = '80.0' PROVISION_VERSION = '81.0'

View File

@ -212,7 +212,7 @@ def get_single_user(client: Client) -> None:
# {code_example|start} # {code_example|start}
# If you'd like data on custom profile fields, you can request them as follows: # If you'd like data on custom profile fields, you can request them as follows:
result = client.get_user_by_id(user_id, {'include_custom_profile_fields': True}) result = client.get_user_by_id(user_id, include_custom_profile_fields=True)
# {code_example|end} # {code_example|end}
validate_against_openapi_schema(result, '/users/{user_id}', 'get', '200') validate_against_openapi_schema(result, '/users/{user_id}', 'get', '200')