[Distutils] ensurepip in linux distros

Nick Coghlan ncoghlan at gmail.com
Sat Sep 5 04:34:53 CEST 2015


On 4 September 2015 at 15:02, Marcus Smith <qwcode at gmail.com> wrote:
> Can anyone summarize the state of ensurepip for the major linux distros.
>
> Do any currently include a version that leaves ensurepip intact?
> If not, will any? Moreover, would any ever also bootstrap pip for you?

python in Fedora depends on python-pip, and then bundles the system
version back up with rewheel for installation into Python virtual
environments. With RPM gaining weak dependency support, that
dependency will potentially shift from a Requires to a Recommends, but
that will still mean pip and ensurepip work by default.

For Python 3.x on RHEL/CentOS, the EPEL Python 3.x stacks work the
same way Fedora does (currently python34 only, but there'll be a
python35 stack after the Fedora 23 beta is out the door and folks
start working on upgrading Fedora Rawhide to Python 3.5 - with the
work still needed to finish the "Python 3 as system Python" migration,
we unfortunately weren't able to pursue a Python 3.5 migration at the
same time)

The Python 2.7 and Python 3.x Software Collections also provide pip by default.

For system wide installations of Python 2.x, RHEL/CentOS require that
python-pip be installed manually from EPEL, and that's unlikely to
change (we'd prefer folks switch to using a more easily updated
Software Collection runtime instead of running directly in the system
Python).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Distutils-SIG mailing list