Re: Is ensurepip still a thing?

Chris Barker via Distutils-SIG <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CALGmxELqjy49POGGMbd40diSy8BWHtx3HZevQwmmTST8NrHo_g@mail.gmail.com>
On Tue, Aug 7, 2018 at 9:16 AM, Donald Stufft <[email protected]> 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 cases there are flags to disable running ensurepip— but it
> defaults to On in 3.x).


OK -- that makes sense.


> > Or really, the question at hand: should a user starting from scratch
> > with a python.org install of 3.7 run ensurepip?
> >
> > Or can they just go straight to:
> >
> > Python3 -m pip install —upgrade pip
> >
>
> The intention behind ensurepip was that they could just go straight to
> ``python3 -m pip install -U pip`` because the ensurepip was implicit when
> they installed Python. However some downstream distributors have mucked
> around with ensurepip in one way or another (ranging from not running it by
> default, to out right disabling it).


so I *think* that means that ensurepip still has a useful function, but if
folks install python from the python.org installers (on Windows and OS-X)
then they can upgrade pip right out of the box -- yes?

-CHB




-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/UQ2KKFGW6OEJURMZABRDXE5IJIT7S6OA/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.