From c67cb5c60491a40bc4e8b91c343ece3690665fc6 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 5 Mar 2025 09:24:43 -0800 Subject: [PATCH] refactor: Replace pip-compile with uv pip compile in dependency management script --- scripts/pip-compile.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/pip-compile.sh b/scripts/pip-compile.sh index 423a7d21f..e68d7a572 100755 --- a/scripts/pip-compile.sh +++ b/scripts/pip-compile.sh @@ -5,16 +5,14 @@ set -e # First compile the common constraints of the full requirement suite # to make sure that all versions are mutually consistent across files -pip-compile \ - --allow-unsafe \ +uv pip compile \ --output-file=requirements/common-constraints.txt \ requirements/requirements.in \ requirements/requirements-*.in \ $1 # Compile the base requirements -pip-compile \ - --allow-unsafe \ +uv pip compile \ --constraint=requirements/common-constraints.txt \ --output-file=requirements.txt \ requirements/requirements.in \ @@ -24,8 +22,7 @@ pip-compile \ SUFFIXES=(dev help browser playwright) for SUFFIX in "${SUFFIXES[@]}"; do - pip-compile \ - --allow-unsafe \ + uv pip compile \ --constraint=requirements/common-constraints.txt \ --output-file=requirements/requirements-${SUFFIX}.txt \ requirements/requirements-${SUFFIX}.in \