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
|
# First compile the common constraints of the full requirement suite
|
||||||
# to make sure that all versions are mutually consistent across files
|
# to make sure that all versions are mutually consistent across files
|
||||||
pip-compile \
|
uv pip compile \
|
||||||
--allow-unsafe \
|
|
||||||
--output-file=requirements/common-constraints.txt \
|
--output-file=requirements/common-constraints.txt \
|
||||||
requirements/requirements.in \
|
requirements/requirements.in \
|
||||||
requirements/requirements-*.in \
|
requirements/requirements-*.in \
|
||||||
$1
|
$1
|
||||||
|
|
||||||
# Compile the base requirements
|
# Compile the base requirements
|
||||||
pip-compile \
|
uv pip compile \
|
||||||
--allow-unsafe \
|
|
||||||
--constraint=requirements/common-constraints.txt \
|
--constraint=requirements/common-constraints.txt \
|
||||||
--output-file=requirements.txt \
|
--output-file=requirements.txt \
|
||||||
requirements/requirements.in \
|
requirements/requirements.in \
|
||||||
|
@ -24,8 +22,7 @@ pip-compile \
|
||||||
SUFFIXES=(dev help browser playwright)
|
SUFFIXES=(dev help browser playwright)
|
||||||
|
|
||||||
for SUFFIX in "${SUFFIXES[@]}"; do
|
for SUFFIX in "${SUFFIXES[@]}"; do
|
||||||
pip-compile \
|
uv pip compile \
|
||||||
--allow-unsafe \
|
|
||||||
--constraint=requirements/common-constraints.txt \
|
--constraint=requirements/common-constraints.txt \
|
||||||
--output-file=requirements/requirements-${SUFFIX}.txt \
|
--output-file=requirements/requirements-${SUFFIX}.txt \
|
||||||
requirements/requirements-${SUFFIX}.in \
|
requirements/requirements-${SUFFIX}.in \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue