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

Can it replace conda? #9433

Closed
MonolithFoundation opened this issue Nov 26, 2024 · 5 comments
Closed

Can it replace conda? #9433

MonolithFoundation opened this issue Nov 26, 2024 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@MonolithFoundation
Copy link

The slowest thing is not pip, it's conda.

@FishAlchemist
Copy link
Contributor

FishAlchemist commented Nov 26, 2024

There have been previous issues discussing conda, but given the current support for it, I don't see it as a priority in the near future.

It seems that uv doesn't support conda packages yet, so it might be too early to completely replace it.

@MonolithFoundation
Copy link
Author

Thank you for your reply. Judging from the description of uv, it appears that some C++ shared object (.so) library dependencies cannot be properly handled in uv. This is a significant strength of conda. Literally, some Python libraries such as torch, librosa, and sox-python, etc., require their own.sos. Some even need a more appropriate libstdc++ ABI. In this regard, what is the current support status of uv?

If this can be supported, wouldn't conda can move into trash?

@konstin
Copy link
Member

konstin commented Nov 26, 2024

Shared libraries in packages are supported through the manylinux standard, which is widely used by machine learning libraries.

@chrisrodrigue
Copy link

chrisrodrigue commented Nov 26, 2024

It would be awesome if uv could install a .conda package into a venv.

On Windows, and likely other platforms, Anaconda bundles hundreds of these .conda packages in the anaconda3/pkgs directory. If one could use this directory as a package source (index) for uv, that would be sweet. uv makes environments way faster than conda.

In the meantime, it looks like conda convert could be used to turn the conda packages into wheels, which uv knows how to work with.

I’m not sure what the exact sequence of commands should look like.

@zanieb
Copy link
Member

zanieb commented Nov 26, 2024

Let's discuss this in #1703 instead

@zanieb zanieb closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2024
@zanieb zanieb added the duplicate This issue or pull request already exists label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants