Skip to content

Commit 6564e9e

Browse files
committed
chore(common): check for uv lock
1 parent bd0e4fc commit 6564e9e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bin/detect

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env bash
22
# Detect script for Python buildpack with uv support
33

4-
if [ -f "pyproject.toml" ]; then
4+
# Detection succeeds only for uv-managed projects with a lockfile.
5+
if [ -f "pyproject.toml" ] && [ -f "uv.lock" ]; then
56
echo "python-uv"
67
exit 0
78
fi

0 commit comments

Comments
 (0)