requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-06-01 14:53:07 -07:00
committed by Tim Abbott
parent 0255cbda03
commit 9ee636e920
9 changed files with 789 additions and 810 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,