Re: Is ensurepip still a thing?

Wes Turner <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CACfEFw-1b=MATufYEp0-tgNarKxqEYACPNKkkco=Q4MqzRB6gw@mail.gmail.com>
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

https://github.com/python/cpython/blob/master/Tools/scripts/checkpip.py

https://github.com/pypa/get-pip/blob/master/tasks/generate.py

On Monday, August 6, 2018, Chris Barker via Distutils-SIG <
[email protected]> 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: /var/folders/ym/tj87fc850yd6526nbrn14rxm0000gn
> /T/tmpwc8nd6oj
> Requirement already up-to-date: setuptools in /Library/Frameworks/Python.
> framework/Versions/3.7/lib/python3.7/site-packages (39.0.1)
> Requirement already up-to-date: pip in /Library/Frameworks/Python.
> framework/Versions/3.7/lib/python3.7/site-packages (10.0.1)
>
> (this is after a brand-new python 3.7 install on OS-X from python.org)
>
> All good. But then I use pip, and get (after a successful install):
>
> You are using pip version 10.0.1, however version 18.0 is available.
> You should consider upgrading via the 'pip install --upgrade pip' command.
>
> Huh? shouldn't ensurepip have updated it for me already??
>
> Or should I simply suggest the
>
> pip install --upgrade pip
>
> command and not bother with ensurepip anymore?
>
> BTW -- shouldn't that be:
>
> python3 -m pip install --upgrade pip
>
> to make sure they get the "right" pip?
>
> KInda hard to keep up with the latest ...
>
> Thanks,
>
> -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/UYO7QQ45LRMPOZYVQORZYJNSQ7NHKHLT/
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.