diff --git a/actions/update-constraints/generate_constraints.sh b/actions/update-constraints/generate_constraints.sh index 5faf9bf..ec575a1 100755 --- a/actions/update-constraints/generate_constraints.sh +++ b/actions/update-constraints/generate_constraints.sh @@ -7,14 +7,13 @@ if [ "$(uname)" != "Linux" ]; then exit 1 fi -# If we run from tox, ignore the index url -unset PIP_EXTRA_INDEX_URL - # Read list of requirements files from the config file REQUIREMENTS_FILES=$(grep -v '^#' requirements-files.in | tr '\n' ' ') CONSTRAINTS_FILE=constraints-dev.txt +export UV_INDEX_STRATEGY=unsafe-best-match + # shellcheck disable=SC2086 uv pip compile -U \ --no-header \