From 664a80cc96b33cacf66f88c3c7b85114e3b63423 Mon Sep 17 00:00:00 2001 From: Andy Kluger Date: Wed, 18 Sep 2024 13:37:21 -0400 Subject: [PATCH] Replace pip-tools with uv --- mk/reqs.sh | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mk/reqs.sh b/mk/reqs.sh index 608440c..3fe8711 100755 --- a/mk/reqs.sh +++ b/mk/reqs.sh @@ -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 diff --git a/requirements.txt b/requirements.txt index 8e0213a..3e3ff6b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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