File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -448,12 +448,12 @@ refresh-pipfilelock-files:
448
448
echo " Processing directory: $$ dir"
449
449
cd $(ROOT_DIR )
450
450
if [ -d " $$ dir" ]; then
451
- echo " Updating $( PYTHON_VERSION) Pipfile .lock in $$ dir"
451
+ echo " Updating $( PYTHON_VERSION) uv .lock in $$ dir"
452
452
cd $$ dir
453
- if [ -f " Pipfile " ]; then
454
- pipenv lock || pipenv lock --verbose
453
+ if [ -f " pyproject.toml " ]; then
454
+ uv lock
455
455
else
456
- echo " No Pipfile found in $$ dir, skipping."
456
+ echo " No pyproject.toml found in $$ dir, skipping."
457
457
fi
458
458
else
459
459
echo " Skipping $$ dir as it does not exist"
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ set -Eeuxo pipefail
7
7
# The following will create an extra requirement.txt file for every Pipfile.lock we have.
8
8
micropipenv --version || pip install micropipenv
9
9
find . -name Pipfile.lock -execdir bash -c '
10
+ pwd
10
11
echo "# Generated by /scripts/sync-requirements-txt.sh from Pipfile.lock" > requirements.txt &&
11
12
echo >> requirements.txt &&
12
- micropipenv requirements >> requirements.txt' \;
13
+ micropipenv requirements >> requirements.txt
14
+ uv pip compile pyproject.toml --output-file pylock.toml --format pylock.toml --generate-hashes --emit-index-url --python-platform linux --no-annotate -q' \;
You can’t perform that action at this time.
0 commit comments