mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
refactor: Replace pip-compile with uv pip compile in dependency management script
This commit is contained in:
parent
eea64cf272
commit
c67cb5c604
1 changed files with 3 additions and 6 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue