Skip to content

fix(mise): initialize Python dependencies in fresh worktrees - #2429

Merged
matthewgrossman merged 3 commits into
mainfrom
mgrossman/fix-worktree-grpc-tools
Jul 22, 2026
Merged

fix(mise): initialize Python dependencies in fresh worktrees#2429
matthewgrossman merged 3 commits into
mainfrom
mgrossman/fix-worktree-grpc-tools

Conversation

@matthewgrossman

@matthewgrossman matthewgrossman commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Allow Python protobuf generation and the pre-commit task to run in fresh worktrees whose mise-created .venv has not been manually populated. python:proto now uses uv's automatic, inexact project synchronization with the committed lockfile.

Related Issue

N/A

Changes

  • Run protobuf generation and import rewriting through uv run --frozen
  • Remove UV_NO_SYNC from python:proto
  • Document protobuf environment synchronization in the build architecture

Testing

  • mise run pre-commit passes
  • Generated protobuf stubs from a brand-new isolated uv environment
  • Confirmed grpc_tools was installed and imported from that isolated environment
  • Unit tests added/updated (not applicable; mise task behavior change)
  • E2E tests added/updated (not applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@matthewgrossman matthewgrossman changed the title fix(mise): Properly initialize venv for fresh worktrees Signed-off-by: Matthew Grossman <mgrossman@nvidia.com> fix(mise): Properly initialize venv for fresh worktrees Jul 22, 2026
Comment thread CONTRIBUTING.md Outdated
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
@matthewgrossman matthewgrossman changed the title fix(mise): Properly initialize venv for fresh worktrees fix(mise): initialize Python dependencies in fresh worktrees Jul 22, 2026
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
@matthewgrossman
matthewgrossman marked this pull request as ready for review July 22, 2026 22:56
@matthewgrossman
matthewgrossman added this pull request to the merge queue Jul 22, 2026
Merged via the queue into main with commit 541b97f Jul 22, 2026
32 checks passed
@matthewgrossman
matthewgrossman deleted the mgrossman/fix-worktree-grpc-tools branch July 22, 2026 23:32
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.

2 participants