Regenerate stale uv.lock and enforce lockfile consistency in CI
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- python
- Domain
- build-system, ci-cd, tooling
Research direction
Start by comparing pyproject.toml and src/browserbase/_version.py with the root package metadata and dependency entries in uv.lock. Run uv sync --all-extras with uv 0.12.3, review the resulting lockfile diff, and check CONTRIBUTING.md and scripts/bootstrap for the contributor workflow. Done means the committed lockfile is synchronized and a clean sync does not mutate it; CI should also verify the lockfile with --locked or uv lock --check.
Written by the indexing model from the issue text.
Description
Description
The committed uv.lock is stale relative to the current project metadata:
pyproject.tomlandsrc/browserbase/_version.pyare at1.17.0, while the root package entry inuv.lockis still1.15.0(uv.lock:229).- Dev dependencies added in the July 28 tooling migration (
playwright,pytest-playwright,python-dotenv, andselenium) are present inpyproject.tomlbut absent from the committed lockfile'sbrowserbasedev dependency metadata (uv.lock:249-264,uv.lock:286-302).
Reproduction
From a clean checkout:
uv sync --all-extras
git diff -- uv.lock
With uv 0.12.3, this rewrites the root package version and adds the missing dev dependency graph (over 1,000 lockfile lines in the current resolution). Conversely, a frozen install follows the stale graph and does not install the example/E2E dependencies declared by the project.
Expected behavior
The committed lockfile should be synchronized with pyproject.toml, and a clean uv sync --all-extras should not mutate it. CI should ideally check the lockfile with --locked/uv lock --check so future metadata changes cannot drift.
Actual behavior
Normal contributor bootstrap changes a tracked file, while frozen/reproducible installs omit declared development packages.
Why it matters
CONTRIBUTING.md and scripts/bootstrap direct contributors to use uv, and CI also installs from this metadata. Lock drift makes local and CI environments non-reproducible and contributed diffs noisy.
- Dominant language
- Python
- Stars
- 93
- Forks
- 16
- Avg merge
- 11m
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from browserbase/sdk-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
browserbase/sdk-python#182 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
browserbase/sdk-python#180 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
browserbase/sdk-python#179 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
browserbase/sdk-python#178 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
browserbase/sdk-python#176 ·
All issues in browserbase/sdk-python
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·