-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Expose pip.main (but it's still unsupported) #4798
Conversation
Not sure if we want to do this. It remains an unsupported API, but virtualenv uses it so this is a low-cost fix to avoid breaking virtualenv (and to avoid virtualenv visibly using pip's |
I don't think we should expose this. The entire point of the move to The only reason to do this is because a few tools in our control need to call this and can't call a subprocess. These tools are virtualenv, get-pip.py, and ensurepip. However In any case, we're still going to have to reach into a private directory (and we do this today!) because we have to reach into |
OK, cool. Those arguments are enough for me (although I suspect that fixing virtualenv so that it works with older versions of pip will be fiddly - but I'll leave that for whoever wants to raise the PR to fix virtualenv). BTW, do we have any feel at all for whether any widely-used packages will break when pip 10 gets released? I did a quick scan of what I have locally, and pipsi and pew seem OK. pipenv will break horribly, but not because of |
I think the announcement on distutils-sig is a big enough audience? Given that there's over 2 months, it should be fine? |
I'll send an email to distutils-sig pointing out that anyone relying on pip internals has work to do and we're starting planning on a new release (without committing to a time at this point, there's enough coming out of the woodwork that I want to let things settle before doing that). |
Sounds perfect to me. :) |
OK, I've lit the blue touchpaper by sending the email to distutils-sig and pypa-dev. I may well now go AWOL over the weekend till the screams die down 😟 🙉 |
I think this should be re-considered: do you really want to have to field "updating pip broke my launcher" bugs until (at least) 2023? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
No description provided.