[MacPorts] #52448: python35 @3.5.2 missing ensurepip?

MacPorts noreply at macports.org
Fri Sep 30 17:27:01 CEST 2016


#52448: python35 @3.5.2 missing ensurepip?
------------------------+-------------------
  Reporter:  hmijail@…  |      Owner:  jwa@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:             |   Keywords:
      Port:  python35   |
------------------------+-------------------

Comment (by hmijail@…):

 > ensurepip is a [https://docs.python.org/3.5/library/ensurepip.html
 module] that installs pip. It’s part of CPython; it doesn’t have a
 version. `pip --version` invokes pip.

 PEP 453 seems to disagree.
 `-m ensurepip` is an interface for cases where pip was not installed or
 uninstalled. "In most cases, end users won't need to use this CLI
 directly, as pip should have been installed automatically when installing
 Python or when creating a virtual environment. However, it is formally
 documented as a public interface to support at least these known use
 cases: ..."

 "ensurepip itself ('''including the private copy of pip and its
 dependencies''') will always be installed normally (as it is a regular
 part of the standard library), but an option will be provided to skip the
 invocation of ensurepip"

 Now, PEP 453 also seems to say that ensurepip does nothing if an updated
 pip is installed.

 https://www.python.org/dev/peps/pep-0453/

-- 
Ticket URL: <https://trac.macports.org/ticket/52448#comment:28>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list