requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-11-18 16:49:34 -08:00
committed by Tim Abbott
parent a3eae0b6f0
commit 532aee926c
15 changed files with 1312 additions and 1335 deletions

View File

@@ -475,7 +475,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) # noqa: SIM115
return open(filename)
raise RuntimeError("Missing time zone data (tzdata.zi)")