requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-05-31 12:02:22 -07:00 committed by Anders Kaseorg
parent e53e3af0f6
commit fd55da4ed8
6 changed files with 1315 additions and 1213 deletions

File diff suppressed because it is too large Load Diff

View File

@ -200,9 +200,9 @@ markupsafe==2.1.5 \
--hash=sha256:fce659a462a1be54d2ffcacea5e3ba2d74daa74f30f5f143fe0c58636e355fdd \ --hash=sha256:fce659a462a1be54d2ffcacea5e3ba2d74daa74f30f5f143fe0c58636e355fdd \
--hash=sha256:ffee1f21e5ef0d712f9033568f8344d5da8cc2869dbd08d87c84656e6a2d2f68 --hash=sha256:ffee1f21e5ef0d712f9033568f8344d5da8cc2869dbd08d87c84656e6a2d2f68
# via jinja2 # via jinja2
mdit-py-plugins==0.4.0 \ mdit-py-plugins==0.4.1 \
--hash=sha256:b51b3bb70691f57f974e257e367107857a93b36f322a9e6d44ca5bf28ec2def9 \ --hash=sha256:1020dfe4e6bfc2c79fb49ae4e3f5b297f5ccd20f010187acc52af2921e27dc6a \
--hash=sha256:d8ab27e9aed6c38aa716819fedfde15ca275715955f8a185a8e1cf90fb1d2c1b --hash=sha256:834b8ac23d1cd60cec703646ffd22ae97b7955a6d596eb1d304be1e251ae499c
# via myst-parser # via myst-parser
mdurl==0.1.2 \ mdurl==0.1.2 \
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \ --hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
@ -273,9 +273,9 @@ pyyaml==6.0.1 \
--hash=sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d \ --hash=sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d \
--hash=sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f --hash=sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f
# via myst-parser # via myst-parser
requests==2.31.0 \ requests==2.32.3 \
--hash=sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f \ --hash=sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760 \
--hash=sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1 --hash=sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6
# via sphinx # via sphinx
snowballstemmer==2.2.0 \ snowballstemmer==2.2.0 \
--hash=sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1 \ --hash=sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1 \
@ -290,9 +290,9 @@ sphinx==7.3.7 \
# sphinx-design # sphinx-design
# sphinx-rtd-theme # sphinx-rtd-theme
# sphinxcontrib-jquery # sphinxcontrib-jquery
sphinx-design==0.5.0 \ sphinx-design==0.6.0 \
--hash=sha256:1af1267b4cea2eedd6724614f19dcc88fe2e15aff65d06b2f6252cee9c4f4c1e \ --hash=sha256:e9bd07eecec82eb07ff72cb50fc3624e186b04f5661270bc7b62db86c7546e95 \
--hash=sha256:e8e513acea6f92d15c6de3b34e954458f245b8e761b45b63950f65373352ab00 --hash=sha256:ec8e3c5c59fed4049b3a5a2e209360feab31829346b5f6a0c7c342b894082192
# via -r requirements/docs.in # via -r requirements/docs.in
sphinx-rtd-theme==2.0.0 \ sphinx-rtd-theme==2.0.0 \
--hash=sha256:bd5d7b80622406762073a04ef8fadc5f9151261563d47027de09910ce03afe6b \ --hash=sha256:bd5d7b80622406762073a04ef8fadc5f9151261563d47027de09910ce03afe6b \

View File

@ -16,7 +16,7 @@ wheel==0.43.0 \
https://github.com/zulip/pip/archive/39e8b5ecfcd8d19872f103d680713bc8e9de9d00.zip#egg=pip==20.3.4+git \ https://github.com/zulip/pip/archive/39e8b5ecfcd8d19872f103d680713bc8e9de9d00.zip#egg=pip==20.3.4+git \
--hash=sha256:2c8ae0783fea3e2b98b422d443b19c443779f0881882f905e0728be7b4043d1b --hash=sha256:2c8ae0783fea3e2b98b422d443b19c443779f0881882f905e0728be7b4043d1b
# via -r requirements/pip.in # via -r requirements/pip.in
setuptools==69.5.1 \ setuptools==70.0.0 \
--hash=sha256:6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987 \ --hash=sha256:54faa7f2e8d2d11bcd2c07bed282eef1046b5c080d1c32add737d7b5817b1ad4 \
--hash=sha256:c636ac361bc47580504644275c9ad802c50415c7522212252c033bd15f301f32 --hash=sha256:f211a66637b8fa059bb28183da127d4e86396c991a942b028c6650d4319c3fd0
# via -r requirements/pip.in # via -r requirements/pip.in

File diff suppressed because it is too large Load Diff

View File

@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 262
# 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 = (272, 2) # last bumped 2024-05-26 for upgrading Transifex CLI PROVISION_VERSION = (280, 0) # last bumped 2024-05-31 for upgrading Python requirements

View File

@ -24,8 +24,8 @@ from zerver.models.groups import SystemGroups
from zerver.models.users import UserProfile from zerver.models.users import UserProfile
if TYPE_CHECKING: if TYPE_CHECKING:
# We use ModelBackend only for typing. Importing it otherwise causes circular dependency. # We use BaseBackend only for typing. Importing it otherwise causes circular dependency.
from django.contrib.auth.backends import ModelBackend from django.contrib.auth.backends import BaseBackend
from zerver.models import Stream from zerver.models import Stream
@ -37,14 +37,13 @@ SECONDS_PER_DAY = 86400
# these values cannot change in a running production system, but do # these values cannot change in a running production system, but do
# regularly change within unit tests; we address the latter by calling # regularly change within unit tests; we address the latter by calling
# clear_supported_auth_backends_cache in our standard tearDown code. # clear_supported_auth_backends_cache in our standard tearDown code.
supported_backends: Optional[List["ModelBackend"]] = None supported_backends: Optional[List["BaseBackend"]] = None
def supported_auth_backends() -> List["ModelBackend"]: def supported_auth_backends() -> List["BaseBackend"]:
global supported_backends global supported_backends
# Caching temporarily disabled for debugging # Caching temporarily disabled for debugging
supported_backends = django.contrib.auth.get_backends() supported_backends = django.contrib.auth.get_backends()
assert supported_backends is not None
return supported_backends return supported_backends