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

Replacing pip-compile with something from Rust-land? #111

Closed
LarsDu opened this issue May 6, 2023 · 3 comments
Closed

Replacing pip-compile with something from Rust-land? #111

LarsDu opened this issue May 6, 2023 · 3 comments

Comments

@LarsDu
Copy link

LarsDu commented May 6, 2023

I noticed that this tool is written in Rust but still relies on pip-compile for dependency resolution:
https://github.com/mitsuhiko/rye/blob/main/rye/src/lock.rs#L232

Are there any plans to swap out pip-compile with something faster written in rust? Perhaps whatever dependency resolver cargo is using?

This certainly won't resolve package metadata retrieval slowness, but this would seem like a good place to leverage the performance of Rust!(?)

@ischaojie
Copy link
Contributor

rye uses a wide range of tools from the existing Python ecosystem internally, and it's worth discussing whether it's necessary to re-invent them all over again~

https://github.com/mitsuhiko/rye/blob/5309d73af073c91ba788f267ecc1c1a416bfab0c/rye/src/bootstrap.rs#L28-L44

@mitsuhiko
Copy link
Collaborator

Well pip-tools need replacing, but I don't care much about it being written in Rust I think. But yes, that is one of the most significant issues with the whole experiment at the moment.

@mitsuhiko
Copy link
Collaborator

This ticket is now tracked here: #192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants