Skip to content

Add uv support - #2970

Merged
mhsmith merged 4 commits into
beeware:mainfrom
freakboy3742:add-uv-support
Jul 30, 2026
Merged

Add uv support#2970
mhsmith merged 4 commits into
beeware:mainfrom
freakboy3742:add-uv-support

Conversation

@freakboy3742

Copy link
Copy Markdown
Member

Add uv as an option for application environment managers.

Works on Windows, macOS and iOS. Works for Linux System apps when not building in Docker.

To test - add env_manager = "uv" to a project definition.

Fixes #2231

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

Comment thread .pyspelling.yml
output: _build/dictionary/python.dic
sources:
- 'docs/**/*.md'
- 'docs/en/**/*.md'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is to avoid trying to spell check docs/superpowers - I've been testing out obra/superpowers tooling, and it writes to this folder.

# Patch run() since it's apparently quite difficult to find a
# location in Windows that is guaranteed to throw an error...
monkeypatch.setattr(subprocess, "run", raise_calledprpcesserror)
monkeypatch.setattr(os, "makedirs", raise_oserror)

@freakboy3742 freakboy3742 Jul 30, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change is unrelated; apparently Github has decided /etc is writable on some instances. I'll pull this out into a standalone PR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See #2971.

@freakboy3742
freakboy3742 requested a review from mhsmith July 30, 2026 07:56
@mhsmith
mhsmith merged commit 788ab5c into beeware:main Jul 30, 2026
67 checks passed
@freakboy3742
freakboy3742 deleted the add-uv-support branch July 30, 2026 21:28
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.

Provide the option to use uv instead of pip for creating environments and installation

2 participants