requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-11-03 10:25:52 -07:00 committed by Tim Abbott
parent c6f6df986c
commit b9dfa23666
9 changed files with 1432 additions and 1444 deletions

View File

@ -161,7 +161,7 @@ requests[security]
requests-oauthlib
# For OpenAPI schema validation.
https://github.com/p1c2u/openapi-core/archive/ac64879418096c437ad5de9bf7a8c7498959ab87.zip#egg=openapi-core==0.16.0+git # https://github.com/p1c2u/openapi-core/pull/429
openapi-core
openapi-schema-validator
# For reporting errors to sentry.io
@ -195,4 +195,4 @@ soupsieve
circuitbreaker
# Runtime monkeypatching of django-stubs generics
https://github.com/typeddjango/django-stubs/archive/41deee4ec678544b0f2cbb6f3ea54a3a8151109c.zip#egg=django-stubs-ext==0.5.0+git&subdirectory=django_stubs_ext
django-stubs-ext

View File

@ -21,7 +21,7 @@ coverage<6.4.3 # undiagnosed bug
fakeldap
# For testing mock http requests
responses
responses<0.22.0 # https://github.com/getsentry/responses/pull/593
# For sorting imports
isort
@ -62,7 +62,7 @@ https://github.com/zulip/zulint/archive/80aba3fd88faf6598665ac670a1d30f3c028df0d
cairosvg
# Needed for tools/check-thirdparty
python-debian<0.1.45 # https://salsa.debian.org/python-debian-team/python-debian/-/merge_requests/106
python-debian
# Pattern-based lint tool
semgrep

File diff suppressed because it is too large Load Diff

View File

@ -11,9 +11,9 @@ alabaster==0.7.12 \
--hash=sha256:446438bdcca0e05bd45ea2de1668c1d9b032e1a9154c2c259092d77031ddd359 \
--hash=sha256:a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02
# via sphinx
babel==2.10.3 \
--hash=sha256:7614553711ee97490f732126dc077f8d0ae084ebc6a96e23db1482afabdb2c51 \
--hash=sha256:ff56f4892c1c4bf0d814575ea23471c230d544203c7748e8c68f0089478d48eb
babel==2.11.0 \
--hash=sha256:1ad3eca1c885218f6dce2ab67291178944f810a10a9b5f3cb8382a5a232b64fe \
--hash=sha256:5ef4b3226b0180dedded4229651c8b0e1a3a6a2837d45a073272f313e4cf97f6
# via sphinx
certifi==2022.9.24 \
--hash=sha256:0d9c601124e5a6ba9712dbc60d9c53c21e34f5f641fe83002317394311bdce14 \
@ -120,9 +120,9 @@ pyparsing==3.0.9 \
--hash=sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb \
--hash=sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc
# via packaging
pytz==2022.4 \
--hash=sha256:2c0784747071402c6e99f0bafdb7da0fa22645f06554c7ae06bf6358897e9c91 \
--hash=sha256:48ce799d83b6f8aab2020e369b627446696619e79645419610b9facd909b3174
pytz==2022.6 \
--hash=sha256:222439474e9c98fced559f1709d89e6c9cbf8d79c794ff3eb9f8800064291427 \
--hash=sha256:e89512406b793ca39f5971bc999cc538ce125c0e51c27941bef4568b460095e2
# via babel
pyyaml==6.0 \
--hash=sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf \
@ -174,16 +174,16 @@ snowballstemmer==2.2.0 \
--hash=sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1 \
--hash=sha256:c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a
# via sphinx
sphinx==5.2.3 \
--hash=sha256:5b10cb1022dac8c035f75767799c39217a05fc0fe2d6fe5597560d38e44f0363 \
--hash=sha256:7abf6fabd7b58d0727b7317d5e2650ef68765bbe0ccb63c8795fa8683477eaa2
sphinx==5.3.0 \
--hash=sha256:060ca5c9f7ba57a08a1219e547b269fadf125ae25b06b9fa7f66768efb652d6d \
--hash=sha256:51026de0a9ff9fc13c05d74913ad66047e104f56a129ff73e174eb5c3ee794b5
# via
# -r requirements/docs.in
# myst-parser
# sphinx-rtd-theme
sphinx-rtd-theme==1.0.0 \
--hash=sha256:4d35a56f4508cfee4c4fb604373ede6feae2a306731d533f409ef5c3496fdbd8 \
--hash=sha256:eec6d497e4c2195fa0e8b2016b337532b8a699a68bcb22a512870e16925c6a5c
sphinx-rtd-theme==1.1.0 \
--hash=sha256:36da4267c804b98197419df8aa415d245449b8945301fce8c961038e0ba79ec5 \
--hash=sha256:6e20f00f62b2c05434a33c5116bc3348a41ca94af03d3d7d1714c63457073bb3
# via -r requirements/docs.in
sphinxcontrib-applehelp==1.0.2 \
--hash=sha256:806111e5e962be97c29ec4c1e7fe277bfd19e9652fb1a4392105b43e01af885a \
@ -217,7 +217,7 @@ urllib3==1.26.12 \
--hash=sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e \
--hash=sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997
# via requests
zipp==3.8.1 \
--hash=sha256:05b45f1ee8f807d0cc928485ca40a07cb491cf092ff587c0df9cb1fd154848d2 \
--hash=sha256:47c40d7fe183a6f21403a199b3e4192cca5774656965b0a4988ad2f8feb5f009
zipp==3.10.0 \
--hash=sha256:4fcb6f278987a6605757302a6e40e896257570d11c51628968ccb2a47e80c6c1 \
--hash=sha256:7a7262fd930bd3e36c50b9a64897aec3fafff3dfdeec9623ae22b40e93f99bb8
# via importlib-metadata

View File

@ -8,10 +8,7 @@ lxml-stubs
SQLAlchemy[mypy]
types-beautifulsoup4
types-boto
types-certifi
types-chardet
types-commonmark
types-dataclasses
types-decorator
types-jsonschema
types-Markdown
@ -25,10 +22,9 @@ types-python-dateutil
types-PyYAML
types-redis
types-requests
types-six
types-stripe
types-zxcvbn
importlib-metadata ; python_version < "3.10" # for SQLAlchemy
https://github.com/typeddjango/django-stubs/archive/41deee4ec678544b0f2cbb6f3ea54a3a8151109c.zip#egg=django-stubs==1.12.0+git
django-stubs

View File

@ -17,7 +17,7 @@ pip==20.3.4 \
--hash=sha256:217ae5161a0e08c0fb873858806e3478c9775caffce5168b50ec885e358c199d \
--hash=sha256:6773934e5f5fc3eaa8c5a44949b5b924fc122daa0a8aa9f80c835b4ca2a543fc
# via -r requirements/pip.in
setuptools==65.4.1 \
--hash=sha256:1b6bdc6161661409c5f21508763dc63ab20a9ac2f8ba20029aaaa7fdb9118012 \
--hash=sha256:3050e338e5871e70c72983072fe34f6032ae1cdeeeb67338199c2f74e083a80e
setuptools==65.5.0 \
--hash=sha256:512e5536220e38146176efb833d4a62aa726b7bbff82cfbc8ba9eaa3996e0b17 \
--hash=sha256:f62ea9da9ed6289bfe868cd6845968a2c854d1427f8548d52cae02a42b4f0356
# via -r requirements/pip.in

File diff suppressed because it is too large Load Diff

View File

@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 154
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = (208, 1)
PROVISION_VERSION = (209, 0)

View File

@ -1047,7 +1047,6 @@ paths:
presence as a UNIX timestamp.
presence:
type: object
x-model: dict
description: |
Object containing the details of the user's most recent presence.
additionalProperties:
@ -2735,7 +2734,6 @@ paths:
marking already read messages as unread was not
supported by the Zulip API.
type: object
x-model: dict
additionalProperties:
type: object
description: |
@ -3235,7 +3233,6 @@ paths:
- update
realm_emoji:
type: object
x-model: dict
description: |
An object in which each key describes a realm emoji.
additionalProperties:
@ -3809,7 +3806,6 @@ paths:
allows editing the content of messages.
authentication_methods:
type: object
x-model: dict
additionalProperties:
description: |
Boolean describing whether the authentication method (i.e its key)
@ -6056,7 +6052,6 @@ paths:
msg: {}
messages:
type: object
x-model: dict
description: |
A dictionary with a key for each queried message that matches the narrow,
with message IDs as keys and search rendering data as values.
@ -6800,7 +6795,6 @@ paths:
msg: {}
presence:
type: object
x-model: dict
description: |
An object containing the presence details for every client the user has
logged into.
@ -7761,7 +7755,6 @@ paths:
msg: {}
subscribed:
type: object
x-model: dict
description: |
A dictionary where the key is the email
address of the user/bot and the value is a
@ -7776,7 +7769,6 @@ paths:
type: string
already_subscribed:
type: object
x-model: dict
description: |
A dictionary where the key is the email
address of the user/bot and the value is a
@ -8179,7 +8171,6 @@ paths:
msg: {}
emoji:
type: object
x-model: dict
description: |
An object that contains `emoji` objects, each identified with their
emoji ID as the key.
@ -8233,13 +8224,11 @@ paths:
in the response.
presences:
type: object
x-model: dict
description: |
A dictionary where each entry describes the presence details
of a user in the Zulip organization.
additionalProperties:
type: object
x-model: dict
description: |
`{user_email}`: Object containing the details of a user's presence
on every client the user is logged into. The object's key is the
@ -8471,7 +8460,6 @@ paths:
application/json:
schema:
type: object
x-model: dict
example:
{
"python": {"text": "Python", "order": "1"},
@ -9844,7 +9832,6 @@ paths:
$ref: "#/components/schemas/CustomProfileField"
custom_profile_field_types:
type: object
x-model: dict
description: |
Present if `custom_profile_fields` is present in `fetch_event_types`.
@ -10021,7 +10008,6 @@ paths:
An integer UNIX timestamp representing when the user was muted.
presences:
type: object
x-model: dict
description: |
Present if `presence` is present in `fetch_event_types`.
@ -10031,7 +10017,6 @@ paths:
Users who have been offline for multiple weeks may not appear in this object.
additionalProperties:
type: object
x-model: dict
description: |
`{user_id}` or `{user_email}`: Object containing the details of a user's
presence on every client the user is logged into. Depending on the value
@ -10066,7 +10051,6 @@ paths:
emoji that has been uploaded in this Zulip organization.
oneOf:
- type: object
x-model: dict
additionalProperties:
$ref: "#/components/schemas/RealmEmoji"
- type: array
@ -10500,7 +10484,6 @@ paths:
a stop word in the query was ignored.
user_status:
type: object
x-model: dict
description: |
Present if `user_status` is present in `fetch_event_types`.
@ -11941,7 +11924,6 @@ paths:
special value `0` before Zulip 5.0 (feature level 100).
realm_authentication_methods:
type: object
x-model: dict
additionalProperties:
description: |
Boolean describing whether the authentication method (i.e its key)
@ -12105,7 +12087,6 @@ paths:
The URL for the organization.
realm_available_video_chat_providers:
type: object
x-model: dict
description: |
Present if `realm` is present in `fetch_event_types`.
@ -12252,7 +12233,6 @@ paths:
a new wide organization logo to brand the organization.
realm_default_external_accounts:
type: object
x-model: dict
description: |
Present if `realm` is present in `fetch_event_types`.
@ -12328,7 +12308,6 @@ paths:
will be accepted.
giphy_rating_options:
type: object
x-model: dict
description: |
Dictionary where each entry describes a valid rating
that is configured on this server and could be selected by an
@ -13089,7 +13068,6 @@ paths:
msg: {}
authentication_methods:
type: object
x-model: dict
additionalProperties: false
deprecated: true
description: |
@ -15559,7 +15537,6 @@ components:
A boolean describing whether the user account has been deactivated.
Config:
type: object
x-model: dict
description: |
A "string: string" dictionary which describes the configuration
for the embedded bot (usually details like API keys).
@ -16691,7 +16668,6 @@ components:
$ref: "#/components/schemas/profile_data"
profile_data:
type: object
x-model: dict
description: |
Only present if `is_bot` is false; bots can't have custom profile fields.
@ -16887,7 +16863,6 @@ components:
msg: {}
subscribed:
type: object
x-model: dict
description: |
A dictionary where the key is the email address of the user/bot and the
value is a list of the names of the streams that were subscribed to as a
@ -16901,7 +16876,6 @@ components:
type: string
already_subscribed:
type: object
x-model: dict
description: |
A dictionary where the key is the email address of the user/bot and the
value is a list of the names of the streams that the user/bot is already