Skip to content

Commit

Permalink
Replace pip-tools with uv
Browse files Browse the repository at this point in the history
  • Loading branch information
AndydeCleyre committed Sep 18, 2024
1 parent ea7b639 commit 664a80c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mk/reqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ if [ ! -d .venv ]; then
fi
# shellcheck disable=SC1091
. ./.venv/bin/activate
pip install -qU pip pip-and-pip-tools
pip install -qU uv

for reqsin in *requirements.in; do
pip-compile -U --no-header --annotation-style=line --strip-extras "$reqsin"
uv pip compile -U --no-header --annotation-style=line --strip-extras requirements.in -o "${reqsin%in}txt"
printf '%s\n' "Wrote lockfile for ${reqsin}"
git status --short "${reqsin}"
done
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ six==1.16.0 # via inform, python-dateutil
types-python-dateutil==2.9.0.20240906 # via arrow
typing-extensions==4.12.2 # via cattrs
wheezy-template==3.2.2 # via -r requirements.in
yamlpath==3.8.2 # via -r requirements.in, nt2
yamlpath==3.8.2 # via nt2, -r requirements.in

0 comments on commit 664a80c

Please sign in to comment.