Skip to content

Commit b41adba

Browse files
committed
Use the --use-pep517 option in bootstrap.sh
This is to avoid deprecation warnings from dependencies that are not yet updated (see ClusterShell).
1 parent 19e340c commit b41adba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstrap.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ if [ -n "$PYGELF" ]; then
116116
sed -e 's/^#+pygelf%//g' requirements.txt > $tmp_requirements
117117
CMD_M +pygelf $python -m pip install --no-cache-dir -q -r $tmp_requirements --target=$py_pkg_prefix/ --upgrade $PIPOPTS && rm $tmp_requirements
118118
else
119-
CMD $python -m pip install --no-cache-dir -q -r requirements.txt --target=$py_pkg_prefix/ --upgrade $PIPOPTS
119+
CMD $python -m pip install --use-pep517 --no-cache-dir -q -r requirements.txt --target=$py_pkg_prefix/ --upgrade $PIPOPTS
120120
fi
121121

122122
if [ -n "$MAKEDOCS" ]; then
123-
CMD_M +docs $python -m pip install --no-cache-dir -q -r docs/requirements.txt --target=$py_pkg_prefix/ --upgrade $PIPOPTS
123+
CMD_M +docs $python -m pip install --use-pep517 --no-cache-dir -q -r docs/requirements.txt --target=$py_pkg_prefix/ --upgrade $PIPOPTS
124124
make -C docs PYTHON=$python
125125
fi

0 commit comments

Comments
 (0)