lmstudio-ai / venvstacks

Virtual environment stacks for Python
https://lmstudio-ai.github.io/venvstacks/
MIT License
1 stars 0 forks source link

Investigate dropping runtime PDM dependency #11

Open ncoghlan opened 2 months ago

ncoghlan commented 2 months ago

uv 0.3 release announcement: https://astral.sh/blog/uv-unified-python-packaging

uv python install may be able to replace the use of pdm and pbs-installer for Python runtime installation.

However, we'll need something equivalent to the dev version pinning on pbs-installer to keep the runtime selection in CI stable.

ncoghlan commented 2 months ago

Checking https://docs.astral.sh/uv/concepts/python-versions/#python-implementation-support I get the impression that a version pin on uv itself will serve the same purpose as the pbs-installer pin that's currently implemented.

uv is already explicitly pinned in CI to avoid unexpected changes to the format of exported lockfiles, so that shouldn't pose any problems.