[issue42856] ensurepip: add configure --with-wheel-pkg-dir=PATH to get wheel packages from a system directory

STINNER Victor report at bugs.python.org
Thu Jan 7 06:26:59 EST 2021


STINNER Victor <vstinner at python.org> added the comment:

> If used, ensurepip will only use wheel packages from this directory.

An alternative is to find packages in all directories and pick the most recent version.

Example with a specified directory *and* ensurepip._bundled is available:

* wheel package directory: 

  * pip 20.2.2
  * setuptools 49.1.3
  * wheel 0.34.2

* ensurepip._bundled

  * pip 20.2.3
  * setuptools 47.1.0

Most recent versions:

* pip 20.2.3 from ensurepip._bundled
* setuptools 49.1.3 from the wheel package directory

Problem: I'm not sure that pip is fully compatible with any setuptools version.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42856>
_______________________________________


More information about the Python-bugs-list mailing list