File diff 7a59d39d976e → 380556b776cd
roles/common/files/pip_check_requirements_upgrades.sh
Show inline comments
 
@@ -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