FS#68111 - [python] shipping prebuilt pip & setuptools wheels

Attached to Project: Arch Linux
Opened by Filipe Laíns (FFY00) - Monday, 05 October 2020, 15:09 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


For ensurepip we are shipping prebuilt pip & setuptools wheels. These wheels are pure Python, but I'd argue they still fall under the rule to not ship anything prebuilt if we have the source.

To fix this we could simply use the already built setuptools to build pip and setuptools wheel from source and then include them in the package. When bootstraping Python, we build it without ensurepip, build setuptools and then rebuild Python and use the built setuptools to produce the wheels.

Keep in mind, ensurepip is required by some tools and it is a valid use-case to use it in virtual environments, so it shouldn't removed.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:16 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/python/issues/2
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.