<div dir="ltr">The short answer is that someone complained about the pip API not doing what they wanted it to do, so we broke the API to make it clear to everyone that the API is not something that should be depended on.</div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-20 17:53 GMT-05:00 Richard Jones <span dir="ltr"><<a href="mailto:r1chardj0n3s@gmail.com" target="_blank">r1chardj0n3s@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hiya Paul,<div><br></div><div>There's a bunch of tooling out there using pip's internals to extending pip's functionality. Could you please provide a some reasoning as to why they're all going to be broken at pip 10, and possibly some guidance on how to get that functionality back?</div><div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>     Richard</div><div><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 21 October 2017 at 00:22, Paul Moore <span dir="ltr"><<a href="mailto:p.f.moore@gmail.com" target="_blank">p.f.moore@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We're in the process of starting to plan for a release of pip (the<br>
long-awaited pip 10). We're likely still a month or two away from a<br>
release, but now is the time for people to start ensuring that<br>
everything works for them. One key change in the new version will be<br>
that all of the internal APIs of pip will no longer be available, so<br>
any code that currently calls functions in the "pip" namespace will<br>
break. Calling pip's internal APIs has never been supported, and<br>
always carried a risk of such breakage, so projects doing so should,<br>
in theory, be prepared for such things. However, reality is not always<br>
that simple, and we are aware that people will need time to deal with<br>
the implications.<br>
<br>
Just in case it's not clear, simply finding where the internal APIs<br>
have moved to and calling them under the new names is *not* what<br>
people should do. We can't stop people calling the internal APIs,<br>
obviously, but the idea of this change is to give people the incentive<br>
to find a supported approach, not just to annoy people who are doing<br>
things we don't want them to ;-)<br>
<br>
So please - if you're calling pip's internals in your code, take the<br>
opportunity *now* to check out the in-development version of pip, and<br>
ensure your project will still work when pip 10 is released.<br>
<br>
And many thanks to anyone else who helps by testing out the new<br>
version, as well :-)<br>
<br>
Thanks,<br>
Paul<br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/distutils-sig</a><br>
<br></blockquote></div><br></div>