This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author FFY00
Recipients FFY00, dstufft, ncoghlan, p-ganssle, pradyunsg
Date 2020-10-12.20:43:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602535430.83.0.251660396877.issue42022@roundup.psfhosted.org>
In-reply-to
Content
Some Linux distributions, such as Debian, have guidelines against shipping things like prebuilt wheels.

Taking Debian as an example, they remove the pip and setuptools wheels and consequently break ensurepip. This also has some implications in the venv module.

As a way to fix this, I would like to propose for ensurepip to install .pth files pointing to the pip and setuptools packages in purelib/platlib.

This behavior could either be switched on by a flag in the makefile or, maybe, if the wheels are not found.

Do you think this would be a reasonable approach?
Currently, we cannot rely on the ensurepip to work. Some projects that really need it are shipping a vendored version of the module.
History
Date User Action Args
2020-10-12 20:43:50FFY00setrecipients: + FFY00, ncoghlan, dstufft, pradyunsg, p-ganssle
2020-10-12 20:43:50FFY00setmessageid: <1602535430.83.0.251660396877.issue42022@roundup.psfhosted.org>
2020-10-12 20:43:50FFY00linkissue42022 messages
2020-10-12 20:43:50FFY00create