You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched open requests and couldn't find a duplicate
What is the idea?
Given the difficulty (and long term questions) about attempting to use uv's crates to provide pip interop... should some basic functionality around this be added to rattler?
Why is this needed?
Heterogenous environments with both pip and conda packages are unavoidable. Both users of rattler directly as well as pixi users would benefit from more "native" support for dealing with pip packages. The reason I believe this should go in rattler is that ultimately conda has basic pip_interop support and we can probably do even better inside rattler.
What should happen?
Specifically, functionality that would be relevant here would be:
Core Functionality
In a given prefix, identify which packages came from pypi (or another pypi-like index).
Objects that can represent installed pypi package metadata akin to how PrefixRecord does so for conda packages.
Uninstall a pip installed package (eg; if we need to do so prior to linking to replace it with a conda package).
Install a pip package
Nice To Have Functionality (These may be more complex or simply not in scope for rattler)
Enable using mappings like grayskull/prefix.dev for pypi:conda packages to suggest a conda package replacement given repodata for some channels.
Solving with pip packages.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
I think this is a good idea! Note that https://github.com/prefix-dev/rip already provides most of this functionality, perhaps we can port/extract some of that functionality here.
The mapping also seems like something we could provide as a rattler crate. Note that pixi has also been split into crates which we intent to start publishing. pypi_mapping currently provides the mapping functionality and doesn't depend on any uv crate so we could publish that to crates.io.
Checklist
What is the idea?
Given the difficulty (and long term questions) about attempting to use
uv
's crates to provide pip interop... should some basic functionality around this be added to rattler?Why is this needed?
Heterogenous environments with both pip and conda packages are unavoidable. Both users of rattler directly as well as pixi users would benefit from more "native" support for dealing with pip packages. The reason I believe this should go in rattler is that ultimately conda has basic
pip_interop
support and we can probably do even better inside rattler.What should happen?
Specifically, functionality that would be relevant here would be:
Core Functionality
PrefixRecord
does so for conda packages.Nice To Have Functionality (These may be more complex or simply not in scope for rattler)
Additional Context
No response
The text was updated successfully, but these errors were encountered: