Re:Fun with uv and PEP 723
by avianlyric on Wednesday June 25, 2025 @03:17AM
(#44374463)
You should probably look to have the uv managed venvs completely excluded from being synced, and forcing every machine to build its own venv. Given how fast and consistent uv is, there’s no real reason to share the actual venvs between machines anymore.
Re:Fun with uv and PEP 723
by furyofantares on Wednesday June 25, 2025 @12:08PM
(#44378870)
Thank you! I wrap all my tools in very simple shell+batch scripts anyway so just specifying a different venv for each does the trick.
Some stuff like npm or dotnet do need an npm update / dotnet restore when I switch platforms. At first attempt uv seems like it just doesn't really like this and takes a fair bit of work to clean it up when switching platforms, while using venvs was fine.