Red Hat Bugzilla – Bug 994189
Please create a python-pip build for the python 2.7 and 3.3 SCL environments on RHEL 6
Last modified: 2015-06-04 04:28:57 EDT
OpenShift would like to use virtualenv script with the "--never-download" option for speed and consistency. Existing virtual environments on OpenShift have downloaded pip and it would be better if we could offer a pre-installed version for new ones.
Created attachment 783461 [details]
SCL spec file for python-pip
Here is the spec file I am using to build our RPM for testing. Its derived from the python-pip spec file for RHEL 6 on EPEL.
Pip isn't bundled in virtualenv and we want this to work without downloading files (Bug 963660).
I'm going to create a python27-python-pip-virtualenv package that installs the source in virtualenv's cache. It shouldn't violate the "no bundled libraries" rule since the cached copy of the source is maintained by the pip RPM instead of the virtualenv RPM.
Created attachment 783581 [details]
Updated specfile with virtualenv subpackage
Here's the updated spec file with the virtualenv sub package. Obsoletes the previous spec file.
I really like the idea of providing the python-pip-virtualenv subpackage. If pip is approved for RHSCL, I'll do it this way. Thanks!
Postponed to RHSCL-1.1, no new packages at this point, only important bug fixes.
Here's the latest build of the one we're using in OpenShift.
We are not planning a python33 update at this time, so this RFE will cover python27 only.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.