From f62cd41caf7307fb7c50d94c11d86a252b82c106 Mon Sep 17 00:00:00 2001 From: FIXME Date: Fri, 19 Dec 2025 13:16:18 -0800 Subject: [PATCH] hot-fix: pin pip to allow legacy setup.py develop (celeryconfig.py installed in hysds directory) --- install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index f132dc3..fbd57a1 100755 --- a/install.sh +++ b/install.sh @@ -214,8 +214,11 @@ fi source $INSTALL_DIR/bin/activate -# Combining installs in case we have to pin setuptools in the future -pip install -U pip "setuptools<80.0.0" +# pin setuptool and pip; +# pip 25.2 is backwards compatible with projects that use the modern PEP 660 +# standard for editable installs. However, it lacks backwards compatibility +# with the legacy setup.py develop method, which was fully removed in pip 25.3 +pip install -U "pip<25.2" "setuptools<80.0.0" # Need to install backoff due to download_assets needing it pip install backoff