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

pick some real Python projects and attempt to port them to uv with universal locking #3881

Closed
Tracked by #3347
BurntSushi opened this issue May 28, 2024 · 5 comments
Closed
Tracked by #3347
Assignees
Labels
internal A refactor or improvement that is not user-facing

Comments

@BurntSushi
Copy link
Member

BurntSushi commented May 28, 2024

I'd like to start small (as in, a small dependency tree) but with a project that benefits from having a platform independent lock file. So probably a project that utilizes the universal locking of Poetry or PDM.

I'd also like to try locking packse's pyproject.toml and see what happens.

The idea is to see what issues arise with our universal locking implementation in real projects.

Ref #3347

@BurntSushi BurntSushi added the internal A refactor or improvement that is not user-facing label May 28, 2024
@mjclarke94
Copy link

Pretty much anything which leverages torch would be a good stress test given you need to use different index urls on a per platform basis.

@adeebshihadeh
Copy link

We're excited to switch for openpilot.

Previous attempt here: commaai/openpilot#32530.

@BurntSushi BurntSushi self-assigned this Jun 17, 2024
@helderco
Copy link

Curious to try it in dagger modules, but I'll need to catch up on these changes.

@jab
Copy link

jab commented Jun 19, 2024

bidict has a pretty small dependency tree (no runtime deps, and just a handful of test deps), in case it's a good candidate for testing this with -- it would exercise resolving different dependencies for different versions of python as well as for different dependency groups all into the same lockfile. It currently uses uv pip compile-generated requirements files (rather than Poetry or PDM). Looking forward to simplifying all those test.txt requirements files (under the dev-deps/* subtree) that have been required without this feature.

@zanieb
Copy link
Member

zanieb commented Jun 19, 2024

I ported packse in astral-sh/packse#183 if anyone is interested in what that looked like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
No open projects
Status: Done
Development

No branches or pull requests

7 participants