diff --git a/update_requirements.sh b/update_requirements.sh index 8571726e10..0967e2dc6c 100755 --- a/update_requirements.sh +++ b/update_requirements.sh @@ -46,7 +46,7 @@ pip install poetry==1.2.2 poetry config virtualenvs.prefer-active-python true --local POETRY_INSTALL_ARGS="" -if [ -d "./xx" ]; then +if [ -d "./xx" ] || [ -n "$XX" ]; then echo "WARNING: using xx dependency group, installing globally" poetry config virtualenvs.create false --local POETRY_INSTALL_ARGS="--with xx --sync"