Go to file
Miro Hrončok d02d7aa312 Allow to import pip10's main from pip9's /usr/bin/pip
Users are upgrading pip9 to pip10 by various manners,
one of them is `pip install --user --upgrade pip`.

If they do that and they run `pip` or  `pip3`, the one from /usr/bin is used.
However that's the one from this RPM package (pip9) and the import in there
fails (it tries to import from ~/.local, but pip10 is there with a bit
different API).

We add a patch as a dirty workaround to make /usr/bin/pip* work with
both pip9 (from this RPM) and pip10 (from whatever).

A proper fix is to put ~/.local/bin in front of /usr/bin in the PATH,
however others are against that and we cannot change it for existing
installs/user homes anyway.

This is a workaround for:
 * https://bugzilla.redhat.com/show_bug.cgi?id=1569488
 * https://bugzilla.redhat.com/show_bug.cgi?id=1571650

Patch is applied in %install, because /usr/bin/pip* are entrypoints.
2018-05-04 13:42:21 +02:00
.gitignore Update to 9.0.3 2018-03-29 15:18:38 +02:00
allow-stripping-given-prefix-from-wheel-RECORD-files.patch Update to 9.0.1 2016-11-18 14:42:28 -07:00
emit-a-warning-when-running-with-root-privileges.patch Fix typo in the sudo pip warning 2017-03-21 12:09:02 +01:00
local-dos.patch Patch local dos with predictable temp directory names 2014-11-18 13:49:10 +01:00
pip9-allow-pip10-import.patch Allow to import pip10's main from pip9's /usr/bin/pip 2018-05-04 13:42:21 +02:00
python-pip.spec Allow to import pip10's main from pip9's /usr/bin/pip 2018-05-04 13:42:21 +02:00
skip-network-tests.patch Update to 6.0.8 2015-03-06 14:33:17 +01:00
sources Update to 9.0.3 2018-03-29 15:18:38 +02:00