requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 9ee636e920)
This commit is contained in:
Anders Kaseorg
2022-06-01 14:53:07 -07:00
committed by Tim Abbott
parent c74f3c247c
commit 51d0886f60
9 changed files with 784 additions and 804 deletions

View File

@@ -58,7 +58,7 @@ def add_context(event: "Event", hint: "Hint") -> Optional["Event"]:
def setup_sentry(dsn: Optional[str], environment: str) -> None:
if not dsn:
return
sentry_sdk.init( # type: ignore[abstract] # https://github.com/getsentry/sentry-python/issues/1415
sentry_sdk.init(
dsn=dsn,
environment=environment,
release=ZULIP_VERSION,