Skip to content

chore(tooling): mark root pyproject as uv-unmanaged - #801

Closed
AndriiPasternak31 wants to merge 1 commit into
devfrom
AndriiPasternak31/chore-uv-managed-false
Closed

AndriiPasternak31 wants to merge 1 commit into
devfrom
AndriiPasternak31/chore-uv-managed-false

Conversation

@AndriiPasternak31

Copy link
Copy Markdown
Contributor

Summary

  • Root pyproject.toml is pytest config only (no [project], no dependencies).
  • Any uv invocation from the repo root (or a worktree) generates a near-empty uv.lock (52 bytes — just version, revision, requires-python) that then surfaces as untracked in git status and noise in PRs.
  • [tool.uv] managed = false opts out of uv's automatic locking and syncing for this directory (uv docs reference). Sub-projects under src/cli/ and src/scheduler/ keep their own pyproject.toml and are unaffected.

Test plan

  • git status clean after uv run pytest from the repo root (no stray uv.lock)
  • pytest still discovers and runs the suite (the [tool.pytest.ini_options] block is unchanged)
  • Existing CI (pytest, lint, regression diff) passes

🤖 Generated with Claude Code

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]>
@AndriiPasternak31

Copy link
Copy Markdown
Contributor Author

Closing — this was a mistake.

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