-
Notifications
You must be signed in to change notification settings - Fork 430
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
Support different backends for pipx? #1392
Comments
Sounds good, ans would be similar to what Actually, I find it really strange that someone just re-implements an actively developed program for a functionality that could be added to the same, and on his own, too!? |
the uv readme says:
so if they are successful in implementing their roadmap, it will subsume all of these tools including pipx (and pipxu) Ultimately it will be up to users if they want to use uv, but I do suspect users want a single well-built answer to Python packaging and common workflows. I think it’s a real possibility pipx becomes essentially deprecated in favor of uv. Not sure if or when that will happen exactly but I think it’s important to be realistic that this is a possible future. It doesn’t mean pipx is bad - it means pipx was successful in making its feature set an expectation for Python packaging ecosystem. This is a win for Python users and the language itself. Even if uv implements pipx, having competing tools is usually a good thing for users, since they push eachother to be better and faster. So +1 to having pipx use uv as a backend. |
Hi @cs01, nice to meet you! I agree with you completely, and personally I am eager to see that happen, like how 'ruff' replaced all lint tools. So, just as mentioned in the issue, do you have any comments whether we should think about making a single, universal backend library? Just like @chrysle said, 'nox' already implemented something similar. And I've seen 'pdm' made it too. We can avoid the reinventing of the wheels and advocate a consistent approach. This could be useful during migration. |
Hmm, doesn't sound like a bad idea. However, for more projects than |
Yep, that is the point, and I suppose PyPA might be the most suitable or even the only organization to do that. |
I'd love to see uv as a backend for pipx.
Keep in mind that astral is VC backed, so there are investors who presumably want to see returns at some point. The interests of users and investors often don't exactly align. While I can see avenues that might be win-win, I can also see avenues resembling enshittifcation, so I think there will always be value in having and maintaining pipx. |
Nice to meet you too @huxuan :)
Would the backend library be in Rust, call into uv, and have python bindings for callers like pipx? tbh I don't feel I am actively involved in the Python ecosystem or on pipx anymore to have a strong opinion, but it does sound pretty interesting. I'm just glad to see so much interest in continuing to push pipx and forward. Thanks so much. |
What I mean is a Python wrapper for different modules with capability of managing virtual environments, such as |
I think there should be separation between The main questions, IMO, are:
|
Hi @henryiii, Thanks for the suggestions! It is quite informative. I did not realize that there should also have an For |
I would love to see |
How would this feature be useful?
There are several open issues about supporting different "backends", such as #1370 for
uv
and #853 forvirtualenv
. Moreover, there is already a projectpipxu
that claims to have reimplemented pipx while using uv. So I would like to have your comments about whether we should support different backends.Describe the solution you'd like
Describe alternatives you've considered
There might be two other approaches to implement the same feature:
The text was updated successfully, but these errors were encountered: