requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-02-01 18:40:54 -08:00
committed by Anders Kaseorg
parent 5b7c4206d7
commit 81a7c7502f
11 changed files with 1376 additions and 989 deletions

View File

@@ -456,7 +456,7 @@ def get_tzdata_zi() -> IO[str]:
for path in zoneinfo.TZPATH:
filename = os.path.join(path, "tzdata.zi")
if os.path.exists(filename):
return open(filename)
return open(filename) # noqa: SIM115
raise RuntimeError("Missing time zone data (tzdata.zi)")