diff --git a/roles/common/files/pip_check_requirements_upgrades.sh b/roles/common/files/pip_check_requirements_upgrades.sh index c87a317a60c292d7a546bed0c7f39830756a9316..c2504df1f4026ddd7520eacf5ebecaedd5779c02 100755 --- a/roles/common/files/pip_check_requirements_upgrades.sh +++ b/roles/common/files/pip_check_requirements_upgrades.sh @@ -254,7 +254,7 @@ for environment in "$config_dir"/*; do # Deploy the existing requirements file and the new one. sed -e 's/[[:blank:]]*#.*//' "$req_txt" | grep -v "^$" | sort -u > "$tmp_current" - if ! pip-compile --no-header --no-annotate --no-index --output-file "$tmp_new" --upgrade "$req_in" > /dev/null; then + if ! pip-compile --allow-unsafe --no-header --no-annotate --no-index --output-file "$tmp_new" --upgrade "$req_in" > /dev/null; then error "Failed while running pip-compile command against (see error stack trace above): $req_in" continue fi