From 9cd3c53e6d351a7097cc2a1b76eee433f2eb83ae Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Fri, 21 Oct 2022 23:09:24 -0700 Subject: [PATCH] install xx deps with XX env (#26205) old-commit-hash: db6c9b9d456ce6b7246f9002bde05ea6b6f53054 --- update_requirements.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"