-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add a rattler_pypi_interop
crate
#1044
Comments
Curious to hear thoughts from @wolfv / @baszalmstra on why Pixi chose to go with This functionality is definitely key to have in rattler IMO since many conda environments inherently have to deal with PyPi packages and clean interop makes everyone's lives easier; however, as this is now an official "conda" project it's worth making a strategic decision about whether to implement PyPi interop support here or invest in cleaning up the |
There is a blog post about this decision. |
Would be great to help the In the meantime, I think it makes sense to keep pursing this crate and just keep it as light-weight as possible. When I wrote this issue, I was envisioning a library with "read-only" capabilities for pypi packages. This would primarily be used to fetch metadata about packages installed via As I've said elsewhere, my immediate use case for it is being able to generate But yes, maybe we should a take a step back and ask ourselves whether this is going to require more effort than just helping the |
Also, to help coordinate conda's approach to PyPI interoperability, I've created this thread on our Zulip server: I'm hoping that projects like |
The last time I inquired, they said they were not willing to support a stable API and such for now, and focus more on the application itself. This might change in the future but AFAIK astral is not going to publish its crates in the short-term :) |
I do have the say, as one of the authors as |
from your comment on the previous issue:
by bringing this new crate from I'm just curious of the situation be mindful, I'm in no way an expert on any of these projects so it's just food for thought |
@jacopoabramo I agree. It would make sense to keep this as lean as possible, just reading the |
Linking this discussion because I think it's somewhat related to what we've been discussing here: |
Checklist
What is the idea?
We would like to add better support to the rattler library for working with packages from PyPI. Much of this functionality exists the rip project, but because this is no longer being actively developed, we would like to bring it over to the rattler project.
Why is this needed?
Another project that could provide this functionality in Rust is the uv project, but unfortunately the crates that provide it are not available on crates.io and we're not sure if they ever will be made available there.
To continue publishing the rattler crates on crates.io, we need to ensure that all of its dependencies are available there.
We also need this crate to fill in the gaps for pypi interoperability. For example, the
rattler_lock
crate is currently unable to create lock files with pypi packages using components exclusively available from rattler. This is a bad developer experience, and we would like to fix it.What should happen?
We should first focus on bringing components from the rattler_installs_packages crate to a new create in rattler called
rattler_pypi_interop
.Additional Context
See original discussion surrounding this issue here:
The text was updated successfully, but these errors were encountered: