Skip to content

chore(deps): add uv.lock and use locked installs - #11

Merged
sscodeai merged 1 commit into
mainfrom
chore/dependency-lock
Nov 26, 2026
Merged

sscodeai merged 1 commit into
mainfrom
chore/dependency-lock

Conversation

@sscodeai

Copy link
Copy Markdown
Owner

Summary

  • Adds uv.lock (resolved with uv 0.11.14, 76 packages).
  • Switches CI installation to a locked uv sync:
    • astral-sh/setup-uv@v10.4.0
    • uv sync --locked --extra dev --python <matrix version>
    • lint / typecheck / tests run via uv run --locked.
  • Updates the documented development setup to uv sync --extra dev in README.md and CONTRIBUTING.md.
  • Records the change in CHANGELOG.md.

Why

CI previously installed with pip install -e ".[dev]" from minimum-version ranges, so a new transitive release could change the test environment without a repository change. The lock file makes the 3.11–3.14 matrix reproducible.

Verification

Check Result
uv lock --check lockfile is current
uv sync --locked --extra dev --python 3.12 succeeded
uv run --locked pytest -q (3.12) 339 tests passed
uv run --locked ruff check src tests passed
uv run --locked mypy src passed
YAML parse OK
GitHub CI runs 3.11 / 3.12 / 3.13 / 3.14 on this PR

Limitations

  • The fallback pip development path is still documented for contributors who do not use uv.
  • Lockfile refresh is manual (uv lock); no automated dependency updater is added in this PR.

Generate uv.lock and switch CI plus the documented development setup to uv sync --locked / uv sync --extra dev. This makes dependency resolution reproducible across the 3.11-3.14 matrix.
@sscodeai
sscodeai merged commit 115deb6 into main Nov 26, 2026
4 checks passed
@sscodeai
sscodeai deleted the chore/dependency-lock branch November 26, 2026 11:15
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.

1 participant