From b41adba182205c1323eed9459c8114403caee241 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Mon, 5 May 2025 18:09:45 +0200 Subject: [PATCH] Use the `--use-pep517` option in `bootstrap.sh` This is to avoid deprecation warnings from dependencies that are not yet updated (see ClusterShell). --- bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 4b325bd0d..29a99060d 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -116,10 +116,10 @@ if [ -n "$PYGELF" ]; then sed -e 's/^#+pygelf%//g' requirements.txt > $tmp_requirements CMD_M +pygelf $python -m pip install --no-cache-dir -q -r $tmp_requirements --target=$py_pkg_prefix/ --upgrade $PIPOPTS && rm $tmp_requirements else - CMD $python -m pip install --no-cache-dir -q -r requirements.txt --target=$py_pkg_prefix/ --upgrade $PIPOPTS + CMD $python -m pip install --use-pep517 --no-cache-dir -q -r requirements.txt --target=$py_pkg_prefix/ --upgrade $PIPOPTS fi if [ -n "$MAKEDOCS" ]; then - CMD_M +docs $python -m pip install --no-cache-dir -q -r docs/requirements.txt --target=$py_pkg_prefix/ --upgrade $PIPOPTS + CMD_M +docs $python -m pip install --use-pep517 --no-cache-dir -q -r docs/requirements.txt --target=$py_pkg_prefix/ --upgrade $PIPOPTS make -C docs PYTHON=$python fi