Skip to content

Add support for uv in setup scripts. - #18

Open
christophe0606 wants to merge 1 commit into
Arm-Examples:mainfrom
christophe0606:use_uv
Open

Add support for uv in setup scripts.#18
christophe0606 wants to merge 1 commit into
Arm-Examples:mainfrom
christophe0606:use_uv

Conversation

@christophe0606

@christophe0606 christophe0606 commented Sep 9, 2026

Copy link
Copy Markdown

Add support for uv in the setup scripts.

uv is used more and more in Python and AI world.

The setup scripts can also use uv pip instead of pip and a specific python version to use can be defined on command line when uv is used.

MatthiasHertelArm pushed a commit that referenced this pull request Sep 10, 2026
Ported from PR #18 by Christophe Favergeon. --uv creates .venv with uv
venv and installs with uv pip; --python picks the interpreter version,
which uv downloads when it is missing. Without --uv nothing changes.
@MatthiasHertelArm

Copy link
Copy Markdown
Contributor

Thanks. main has been restructured in the meantime: the executes: build step is gone in favour of the three-step flow (cbuild setupcreate_ai_layer.pycbuild), and the solution is now cmsis-executorch.csolution.yml. Since this PR cannot merge onto that layout, I ported it: commit 6388f40 ("Add uv support to the venv setup") on main carries the --uv/--python options, the uv pip --index-strategy unsafe-best-match install, the wrapper changes and the "(uv)" task. Left out: the --executorch-ref option no longer exists on main, and the README text is shorter. If the port covers what you needed, please close this PR.

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