Re: [Distutils] ensurepip in linux distros

2015-09-06 Thread Nick Coghlan
On 7 September 2015 at 01:37, Marcus Smith  wrote:
>>
>> then bundles the system
>> version back up with rewheel for installation into Python virtual
>> environments.
>
>
> this "bundles the system version back up" step happens when?

When ensurepip.bootstrap() runs - Fedora's system Python is patched to
do that rather than install from the embedded wheel files (technically
it falls back to the latter code path, but we omit those from the
Fedora system Python package and include a runtime dependency on
python-pip and python-setuptools instead).

> which fedora version did this start?

I think it was F21 (Dec 2014), may have been F22 (May 2015).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] ensurepip in linux distros

2015-09-06 Thread Marcus Smith
>
>
> then bundles the system
> version back up with rewheel for installation into Python virtual
> environments.


this "bundles the system version back up" step happens when?
which fedora version did this start?
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


Re: [Distutils] ensurepip in linux distros

2015-09-04 Thread Nick Coghlan
On 4 September 2015 at 15:02, Marcus Smith  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   |   ncogh...@gmail.com   |   Brisbane, Australia
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig


[Distutils] ensurepip in linux distros

2015-09-03 Thread Marcus Smith
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?

I'm not asking out of interest in wanting it, more to understand for the
sake of editing pip and PyPUG docs.

thanks,
Marcus
___
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig