Skip to content

add uv.lock for reproducible installs#24

Open
jayendes wants to merge 1 commit intobrowser-use:mainfrom
jayendes:add-uv-lockfile
Open

add uv.lock for reproducible installs#24
jayendes wants to merge 1 commit intobrowser-use:mainfrom
jayendes:add-uv-lockfile

Conversation

@jayendes
Copy link
Copy Markdown

@jayendes jayendes commented May 1, 2026

Summary

  • Adds uv.lock generated by uv sync against the current pyproject.toml
  • Pins all 39 transitive dependencies to exact versions, eliminating non-deterministic installs
  • Anyone cloning the repo can now run uv sync and get an identical environment without re-solving the graph

Why

The repo ships pyproject.toml with unpinned ranges. Without a lockfile, two installs on different days can pull different patch versions of numpy/scipy/librosa and silently change audio processing behavior. The lockfile is the standard uv mechanism for reproducibility (equivalent to package-lock.json for npm or Cargo.lock for Rust).

Reviewer notes

  • uv.lock is machine-generated — no manual edits
  • Should be kept up to date whenever pyproject.toml changes (uv lock --upgrade-package <pkg> for targeted bumps)
  • Does not affect users who install via pip install -e . — lockfile is only used by uv sync

Pins exact dependency versions so `uv sync` produces a consistent
environment across machines without re-solving the dependency graph.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants