requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit feff1d0411)
This commit is contained in:
Anders Kaseorg
2022-07-05 13:14:19 -07:00
committed by Tim Abbott
parent 1ae9922a86
commit 90c45bd230
13 changed files with 1239 additions and 1162 deletions

View File

@@ -24,8 +24,6 @@ from scripts.lib.zulip_tools import (
from tools.setup.generate_zulip_bots_static_files import generate_zulip_bots_static_files
from version import PROVISION_VERSION
pygments_version = pygments.__version__ # type: ignore[attr-defined] # private member missing from stubs
VENV_PATH = "/srv/zulip-py3-venv"
UUID_VAR_PATH = get_dev_uuid_var_path()
@@ -149,7 +147,7 @@ def need_to_run_build_pygments_data() -> bool:
return is_digest_obsolete(
"build_pygments_data_hash",
build_pygments_data_paths(),
[pygments_version],
[pygments.__version__],
)
@@ -227,7 +225,7 @@ def main(options: argparse.Namespace) -> int:
write_new_digest(
"build_pygments_data_hash",
build_pygments_data_paths(),
[pygments_version],
[pygments.__version__],
)
else:
print("No need to run `tools/setup/build_pygments_data`.")