Skip to content

uv.lock is not recognized as a Python dependency lock file #6

Description

@anry-m

Python projects using uv can be incorrectly reported as missing a dependency lock file. uv.lock is a standard committed lock file for uv projects, but the readiness checks do not currently recognize it.

Expected behavior:
[+] Lock file found: uv.lock
[+] uv.lock was modified 0 day(s) ago

Actual Behavior
A repo with pyproject.toml and uv.lock is reported as having no dependency lock file.
[-] No dependency lock file found.
Commit a lock file to ensure reproducible dependency resolution.
[-] Project manifest found but no lock file or recent build file detected.
Add and commit a lock file to track dependency versions.

How to reproduce

tmp=$(mktemp -d)
touch "$tmp/pyproject.toml" "$tmp/uv.lock"
bun run src/index.ts "$tmp" --ci --no-web | grep lock

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions