uv tool + mpremote romfs gotcha #19600
Unanswered
Josverl
asked this question in
Core Development
Replies: 1 comment 1 reply
|
mpy-cross should really be declared as a dependency in mpremote now it's used directly, that's cleaner than documenting a more complicated manual install. Oh and yes thanks for the prompter, my mpy-cross auto-builder had stopped because the self-publish access token had expired. Rotating that key has been pretty much the only maintenance that project has needed for some years. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks to uv im now installing most tools using
uv tool install <package>While testing romfs I ran into errors : during
mpremote romfs build folder/'mpy_cross' module not found, .py files were not precompiledAs uv installs all tools into their own isolated venv, I would need to install it using :
uv tool install --reinstall mpremote --with mpy-crossThat pulls in a (rather stale, but working @andrewleech ) mpy-cross, which then solves the issue
Would it make sense to clearly document this given the wide-spread use of uv ?
I assume that the same issue is when installing using pipx
All reactions