[Distutils] Re: Is ensurepip still a thing?

2018-08-11 Thread Nick Coghlan
On Wed., 8 Aug. 2018, 7:02 am Chris Barker via Distutils-SIG, < distutils-sig@python.org> wrote: > On Tue, Aug 7, 2018 at 9:16 AM, Donald Stufft wrote: > > >> > Or really, the question at hand: should a user starting from scratch >> > with a python.org install of 3.7 run ensurepip? >> > >> > Or

[Distutils] Re: Is ensurepip still a thing?

2018-08-07 Thread Chris Barker via Distutils-SIG
For completeness' sake: accidentally sent offline. -- Forwarded message -- From: Chung Tzu-ping Date: Tue, Aug 7, 2018 at 1:54 PM Subject: Re: [Distutils] Re: Is ensurepip still a thing? To: Chris Barker - NOAA Federal Replies inline On 7 Aug 2018, at 23:43, Chris Barker

[Distutils] Re: Is ensurepip still a thing?

2018-08-07 Thread Chris Barker via Distutils-SIG
On Tue, Aug 7, 2018 at 9:16 AM, Donald Stufft wrote: Ensurepip is the mechanism that Python uses to bundle pip with Python. We > didn’t add pip to the stdlib, we added ensurepip to the stdlib. In 3.x the > makefiles and macOS/Windows installers will automatically run ensurepip > (however in both

[Distutils] Re: Is ensurepip still a thing?

2018-08-07 Thread Donald Stufft
> On Aug 7, 2018, at 11:43 AM, Chris Barker - NOAA Federal via Distutils-SIG > wrote: > >> IIRC, ensurepip by design doesn't go to the internet , so it will only >> ever upgrade to the version bundled with Python > > Now I’m really confused — if pip is already bundled with Python, then > what

[Distutils] Re: Is ensurepip still a thing?

2018-08-07 Thread Chris Barker - NOAA Federal via Distutils-SIG
> IIRC, ensurepip by design doesn't go to the internet , so it will only > ever upgrade to the version bundled with Python Now I’m really confused — if pip is already bundled with Python, then what is ensurepip for ?!?! Or really, the question at hand: should a user starting from scratch with a

[Distutils] Re: Is ensurepip still a thing?

2018-08-07 Thread Donald Stufft
> On Aug 7, 2018, at 3:46 AM, Paul Moore wrote: > > IIRC, ensurepip by design doesn't go to the internet , so it will only > ever upgrade to the version bundled with Python (from the docs "To > ensure the installed version of pip is *at least as recent as the one > bundled with ensurepip*, pass

[Distutils] Re: Is ensurepip still a thing?

2018-08-07 Thread Paul Moore
On Tue, 7 Aug 2018 at 02:26, Chris Barker via Distutils-SIG wrote: > > I'm updating some instructions for my students, in which the first thing I do > is have them run ensurepip: > > $ python3 -m ensurepip --upgrade > > which resulted in: > > $ python3 -m ensurepip --upgrade > Looking in links:

[Distutils] Re: Is ensurepip still a thing?

2018-08-06 Thread Wes Turner
Is there a build script that automates vendoring in the latest pip? I see checkpip.py, which only checks the version. https://docs.python.org/3/library/ensurepip.html https://www.python.org/dev/peps/pep-0453/#updating-the-private-copy-of-pip