mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
requirements: Upgrade to Django 4.0.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
59174694af
commit
81892df176
@@ -10,13 +10,13 @@ ZULIP_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__f
|
||||
|
||||
sys.path.append(ZULIP_PATH)
|
||||
import pygments
|
||||
from pytz import VERSION as timezones_version
|
||||
|
||||
from scripts.lib import clean_unused_caches
|
||||
from scripts.lib.zulip_tools import (
|
||||
ENDC,
|
||||
OKBLUE,
|
||||
get_dev_uuid_var_path,
|
||||
get_tzdata_zi,
|
||||
is_digest_obsolete,
|
||||
run,
|
||||
run_as_root,
|
||||
@@ -28,6 +28,11 @@ from version import PROVISION_VERSION
|
||||
VENV_PATH = "/srv/zulip-py3-venv"
|
||||
UUID_VAR_PATH = get_dev_uuid_var_path()
|
||||
|
||||
with get_tzdata_zi() as f:
|
||||
line = f.readline()
|
||||
assert line.startswith("# version ")
|
||||
timezones_version = line[len("# version ") :]
|
||||
|
||||
|
||||
def create_var_directories() -> None:
|
||||
# create var/coverage, var/log, etc.
|
||||
|
||||
Reference in New Issue
Block a user