Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate dropping runtime PDM dependency #11

Open
ncoghlan opened this issue Aug 22, 2024 · 2 comments
Open

Investigate dropping runtime PDM dependency #11

ncoghlan opened this issue Aug 22, 2024 · 2 comments
Labels
Category: Maintainability Proposed improvement to project maintainability

Comments

@ncoghlan
Copy link
Collaborator

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
Copy link
Collaborator Author

ncoghlan commented Aug 22, 2024

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.

@ncoghlan ncoghlan added the question Further information is requested label Sep 10, 2024
@ncoghlan ncoghlan transferred this issue from another repository Oct 18, 2024
@ncoghlan ncoghlan added Category: Maintainability Proposed improvement to project maintainability and removed question Further information is requested labels Oct 22, 2024
@ncoghlan
Copy link
Collaborator Author

venvstacks has wrapped the pbs-installer download step to apply the tar extraction filter on CPython 3.12+.

If uv already implements similar tarball filtering, that would be an additional reason to switch (since we'd also get the filtering on 3.11), while if it doesn't, it would be a reason to delay switching (since we'd lose the filtering on 3.12+)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Maintainability Proposed improvement to project maintainability
Projects
None yet
Development

No branches or pull requests

1 participant