Repository navigation
chore(tooling): mark root pyproject as uv-unmanaged - #801
Closed
AndriiPasternak31 wants to merge 1 commit into
Closed
AndriiPasternak31 wants to merge 1 commit into
AndriiPasternak31 wants to merge 1 commit into
Conversation
The root pyproject.toml is pytest config only — no [project] section, no dependencies. Running any uv command from the repo root (or a worktree of it) triggers uv to generate a near-empty uv.lock anyway, which then shows up as untracked in `git status`. Setting [tool.uv] managed = false opts out of uv's automatic locking and syncing for this directory. Sub-projects under src/cli and src/scheduler keep their own pyproject.toml and are unaffected. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Contributor
Author
|
Closing — this was a mistake. |
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
pyproject.tomlis pytest config only (no[project], no dependencies).uvinvocation from the repo root (or a worktree) generates a near-emptyuv.lock(52 bytes — justversion,revision,requires-python) that then surfaces as untracked ingit statusand noise in PRs.[tool.uv] managed = falseopts out of uv's automatic locking and syncing for this directory (uv docs reference). Sub-projects undersrc/cli/andsrc/scheduler/keep their ownpyproject.tomland are unaffected.Test plan
git statusclean afteruv run pytestfrom the repo root (no strayuv.lock)pyteststill discovers and runs the suite (the[tool.pytest.ini_options]block is unchanged)pytest,lint,regression diff) passes🤖 Generated with Claude Code