Skip to content

Add uv tool support to brew bundle#21614

Merged
MikeMcQuaid merged 2 commits intoHomebrew:mainfrom
shaanmajid:bundle-uv-tool
Feb 25, 2026
Merged

Add uv tool support to brew bundle#21614
MikeMcQuaid merged 2 commits intoHomebrew:mainfrom
shaanmajid:bundle-uv-tool

Conversation

@shaanmajid
Copy link
Contributor

@shaanmajid shaanmajid commented Feb 22, 2026

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) with your changes locally?

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

Closes #21579

Summary

  • Add uv as a new package type for brew bundle, supporting dump, install, check, and list
  • Supports extras and --with requirements:
    uv "ruff"
    uv "mkdocs", with: ["mkdocs-material<10"]
    uv "fastapi[standard]"

This keeps the MVP focused. Version specifier support can be added in a follow-up.

@shaanmajid shaanmajid force-pushed the bundle-uv-tool branch 3 times, most recently from 0ac4775 to c6f445d Compare February 22, 2026 21:51
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work so far! One question.

If you can be bothered @shaanmajid I'd also love to see a follow-up that tries to DRY things up a bit between types so we don't need quite so many changes for other tools like uv in future where we're running a single command.

This could be e.g. combining _checker/_dumper/_installer classes, providing some helpers in cmd/bundle.rb, etc.

@shaanmajid
Copy link
Contributor Author

If you can be bothered @shaanmajid I'd also love to see a follow-up that tries to DRY things up a bit between types so we don't need quite so many changes for other tools like uv in future where we're running a single command.

Happy to do this in a follow-up PR :)

@shaanmajid shaanmajid force-pushed the bundle-uv-tool branch 2 times, most recently from 2baa82f to 596bccc Compare February 25, 2026 00:59
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @shaanmajid

@MikeMcQuaid
Copy link
Member

If you can be bothered @shaanmajid I'd also love to see a follow-up that tries to DRY things up a bit between types so we don't need quite so many changes for other tools like uv in future where we're running a single command.

Happy to do this in a follow-up PR :)

@shaanmajid looking forward to it!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Feb 25, 2026
Merged via the queue into Homebrew:main with commit 36bd496 Feb 25, 2026
37 checks passed
@shaanmajid shaanmajid deleted the bundle-uv-tool branch February 25, 2026 18:56
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.

brew bundle: Add support for uv tools

3 participants