Repository navigation
build: manage the development environment with uv and commit uv.lock - #94
Merged
Merged
Conversation
The lockfile resolves every extra, so Trivy scans real versions instead of pyproject.toml's ranges, Dependabot bumps it weekly in one grouped PR, and a `uv lock --check` job in CI and the pre-commit hook refuse a stale one. The setup instructions, the devcontainer and the Sphinx note move to `uv sync`; CI still installs the tests with pip so the declared ranges are exercised too, as in the sibling repositories. Co-authored-by: Yvette Mankerian <yvettekm@gmail.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Deploying tetrak with
|
| Latest commit: |
40d0ee2
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://332c8f7a.tetrak.pages.dev |
| Branch Preview URL: | https://build-uv-lockfile.tetrak.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uv.lock, regenerated from the currentpyproject.toml(it picks up thesillybos>=4,<5floor). It resolves every extra, torch and PaddlePaddle included.uv lock --check), and Lefthook runs the same check wheneverpyproject.tomloruv.lockis staged.uvecosystem, weekly, grouped into one PR, with thebuildprefix.AGENTS.md,CONTRIBUTING.md,README.mdanddocs/installation.md, and the devcontainer'ssetup.sh, move touv sync --extra dev.Same arrangement as tetrak-aggregator, tetrak-translit and sillybos. The CI test jobs and the Cloudflare docs build still install with pip, deliberately: the declared ranges keep being exercised, and the Docs workflow mirrors the Cloudflare build command.
Test plan
actionlint,lefthook validate, YAML parse ofdependabot.yml,bash -n setup.shuv lock --checkuv sync --extra dev --lockedinto a fresh environment, thenpytest -m "not slow": 503 passed; the 3 failures are the pre-existing Vision tests that assumeocrmacon macOStrivy fswith CI's flags: 0 findings inuv.locknpm run lint:markdownmain🤖 Generated with Claude Code