Skip to content

chore(mise): make pipx-via-uvx routing explicit#201

Merged
laurigates merged 1 commit into
mainfrom
chore/mise-pipx-uvx-explicit
May 10, 2026
Merged

chore(mise): make pipx-via-uvx routing explicit#201
laurigates merged 1 commit into
mainfrom
chore/mise-pipx-uvx-explicit

Conversation

@laurigates
Copy link
Copy Markdown
Owner

Summary

  • Rewrite the misleading comment above the Python Tools block. Previous comment claimed mise's pipx backend "automatically uses uvx if uv is installed", but mise only detects mise-managed uv — system-PATH uv is invisible to the auto-detection (see jdx/mise#7477).
  • Add pipx.uvx = true under [settings] to make the routing explicit and version-independent.

Why

PR #199 surfaced this when mise install pipx:pre-commit failed on a host where uv was on \$PATH but not mise-managed. The fallback silently tried pipx, which wasn't installed → install failed. After PR #199 added uv = "latest" as a mise-managed tool, the fallback worked — but the behavior is still implicit and would break again if uv ever stops being mise-managed.

Test plan

  • mise settings get pipx.uvx returns true after apply
  • mise install pipx:pre-commit succeeds without MISE_PIPX_UVX=true env override
  • On macOS: confirm same behavior (no regression)

🤖 Generated with Claude Code

mise's pipx backend auto-falls-back to uvx, but only when uv is
itself a mise-managed tool — system-PATH uv is invisible to the
detection logic (jdx/mise#7477). The previous comment claiming
"automatically uses uvx if uv is installed" obscured this caveat.

- Rewrite the comment to describe the actual behavior and link the
  upstream issue.
- Add `pipx.uvx = true` under [settings] so the routing is explicit
  and survives any future change to the auto-detection heuristic.

Verified locally: with uv mise-managed and the setting present,
`mise install pipx:pre-commit` succeeds without MISE_PIPX_UVX env
override.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Broken Links Detected

Summary

Status Count
🔍 Total 128
✅ Successful 122
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 5
❓ Unknown 0
🚫 Errors 1

Errors per input

Errors in exact_dot_claude/docs/prds/daily-catchup.PRD.md


Please fix the broken links before merging.

@laurigates laurigates merged commit 6c569b2 into main May 10, 2026
7 of 8 checks passed
@laurigates laurigates deleted the chore/mise-pipx-uvx-explicit branch May 10, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant