diff --git a/roles/common/files/pip_check_requirements_upgrades.sh b/roles/common/files/pip_check_requirements_upgrades.sh index 457d1c9a1560fc2601e44fa1d6f73c73ffd95c24..168c5e3256033846dcc0ca17078e067584dff8a5 100755 --- a/roles/common/files/pip_check_requirements_upgrades.sh +++ b/roles/common/files/pip_check_requirements_upgrades.sh @@ -238,7 +238,7 @@ for environment in "$config_dir"/*; do current=$(sed -e 's/[[:blank:]]*#.*//' "$req_txt" | grep -v "^$" | sort -u) # Calculate up-to-date requirements. - new=$(pip-compile --quiet --allow-unsafe --no-header --no-annotate --no-index --output-file - --upgrade "$req_in") + new=$(pip-compile --quiet --allow-unsafe --no-header --no-annotate --no-emit-index-url --output-file - --upgrade "$req_in") result="$?" if [[ $result != 0 ]]; then error "Failed while running pip-compile command against (see error stack trace above): $req_in"