From 646bc817246a1e3e0d8107c2b69d726681c643b6 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Sat, 22 Jun 2024 17:35:30 +0200 Subject: [PATCH] fix: pin pip version to <24.1 to allow installing pytz (celery) (#3043) Related to https://github.com/libretime/libretime/issues/2983 --- install | 2 +- tools/python.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index 0464c2a4b..68149ddf1 100755 --- a/install +++ b/install @@ -605,7 +605,7 @@ info "creating python3 venv" python3 -m venv "$VENV_DIR" info "upgrading python3 tools" -$VENV_DIR/bin/pip install --upgrade "pip<21.4" setuptools wheel +$VENV_DIR/bin/pip install --upgrade "pip<24.1" setuptools wheel # Install Shared and API client ######################################################################################## diff --git a/tools/python.mk b/tools/python.mk index 039dcfa94..2892e71a0 100644 --- a/tools/python.mk +++ b/tools/python.mk @@ -12,7 +12,7 @@ VENV = .venv install: $(VENV) $(VENV): python3 -m venv $(VENV) - $(VENV)/bin/pip install --upgrade pip setuptools wheel + $(VENV)/bin/pip install --upgrade "pip<24.1" setuptools wheel $(VENV)/bin/pip install --prefer-binary \ --requirement ../tools/python-requirements.txt \ $(PIP_INSTALL)