Commit Graph

138 Commits

Author SHA1 Message Date
Miro Hrončok 51d3b539d4 Add a script that makes it easier to track bundled libs (uses pyp2rpm) 2018-11-22 13:08:59 +01:00
Michal Cyprian 50d9d64d96 Subject: Prevent removing of the system packages installed under /usr/lib
when pip install -U is executed.

Resolves: rhbz#1550368
2018-09-21 14:54:31 +02:00
Miro Hrončok 32a574d0df Only build the wheel once 2018-08-15 15:27:19 +02:00
Miro Hrončok 3e1ef986b4 No more with python3
There is no point of building this without python3 and this makes
the spec a bit more readable.

Also:

- only have one %python_wheelname (can be split in future if needed)
- use pythonX -m pytest instead of py.test-X.Y
2018-08-15 14:45:08 +02:00
Miro Hrončok 6186a480fa Create python-pip-wheel package with the wheel 2018-08-15 13:28:54 +02:00
Miro Hrončok 710463c247 Remove redundant "Unicode"" from License 2018-07-31 15:48:01 +02:00
Marcel Plch 2e7f501aa1 Update to 18.0 2018-07-31 12:17:18 +02:00
Fedora Release Engineering ffbc804f81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 01:25:03 +00:00
Miro Hrončok 2b109131d3 Rebuilt for Python 3.7 2018-06-18 09:25:27 +02:00
Miro Hrončok cc52c4fc2d Bootstrap for Python 3.7 2018-06-13 18:55:50 +02:00
Miro Hrončok 1d697f0af5 Bootstrap for Python 3.7 2018-06-13 18:34:34 +02:00
Miro Hrončok 0318944ef9 Only do 4b288bd when not bootstrapping 2018-05-12 01:22:06 +02:00
Miro Hrončok 4b288bd347 When pip is run outside of venv, don't show the upgrade warning
This is a fix for https://bugzilla.redhat.com/show_bug.cgi?id=1573755

1. We put "rpm" inside pip's INSTALLER instead of "pip"

2. From pip, we check what's in INSTALLER and only show the warning
   if it's "pip".

When a venv is cearted, pip is installed from wheel (trough rewheel),
INSTALLER contains "pip".

When virtualenv is used, pip is installed from the Interwebz via pip,
so INSTALLER contains "pip".

Upstream issue https://github.com/pypa/pip/issues/5346
2018-05-04 14:36:05 +02:00
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
Charalampos Stratakis 3989bcbcc0 Update to 9.0.3 2018-03-29 15:18:38 +02:00
Lumir Balhar 2611854c44 Include built HTML documentation (in the new -docs subpackage) and man page 2018-02-22 15:19:17 +01:00
Fedora Release Engineering 86e88e4c46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 09:48:53 +00:00
Charalampos Stratakis dab9696043 Reintroduce the ipaddress module in the python3 subpackage
as it is used within python3's upstream test suite.
2017-12-04 15:54:44 +01:00
Charalampos Stratakis 5fc56f6e70 Add virtual provides for all the libraries that pip bundles.
Remove ordereddict bundle as it is only required for python <=2.6.

Remove ipaddress library from the python3 build as it only required on python2.

Changed some dependency names from python-* to the python2-* namespace.

Resolves: rhbz#1096912
2017-11-28 17:58:55 +01:00
Tomas Orsava 2a788630f3 Properly conditionalize bashcompdir contents 2017-09-01 16:28:36 +02:00
Tomas Orsava a18983a006 Fix python2-only dependencies 2017-08-30 18:39:43 +02:00
Tomas Orsava d7cbed0aa4 Specify test dependencies in an if block 2017-08-29 16:12:19 +02:00
Tomas Orsava 222c069cc5 Make Python 2 optional
To facilitate building the Python 2 and Python 3 modules.
2017-08-29 15:43:14 +02:00
Tomas Orsava a096270f29 Switch macros to bcond's
To facilitate building the Python 2 and Python 3 modules.
2017-08-29 15:36:24 +02:00
Fedora Release Engineering e27aaa21f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 11:18:15 +00:00
Tomas Orsava db23604636 Modernized package descriptions 2017-05-23 15:51:03 +02:00
Tomas Orsava d6fcf17a6e Fix typo in the sudo pip warning 2017-03-21 12:09:02 +01:00
Tomas Orsava 5a8e99c9e5 No sudo pip warning in venv or virtualenv 2017-03-03 15:15:51 +01:00
Tomas Orsava 33d96860e5 Customize the sudo pip warning with the proper version of the pip 2017-02-23 12:17:28 +01:00
Tomas Orsava 3d0a78651f Added patch: Emit a warning when running with root privileges 2017-02-16 11:48:01 +01:00
Fedora Release Engineering 71bf5a7601 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 09:57:45 +00:00
Tomas Orsava de16c87712 Provide symlinks to executables to comply with Fedora guidelines for Python 2017-01-02 16:33:49 +01:00
Charalampos Stratakis c4e2448c9e Rebuild for Python 3.6 with wheel 2016-12-10 14:49:54 +01:00
Charalampos Stratakis ce7b625142 Rebuild for Python 3.6 without wheel 2016-12-10 13:28:49 +01:00
Orion Poplawski 3d2b99cd70 Upload 9.0.1 sources 2016-11-21 09:06:02 -07:00
Orion Poplawski 7ea3985a41 Drop BuildRoot 2016-11-21 08:50:17 -07:00
Orion Poplawski cdcedeafd9 Update to 9.0.1 2016-11-18 14:42:28 -07:00
Orion Poplawski 6190fb2229 Enable EPEL Python 3 builds
- Use new python macros
- Cleanup spec
2016-11-18 14:38:54 -07:00
Tomas Orsava 627cdf9b5b Updated test sources to 8.1.2 2016-08-15 16:18:34 +02:00
Tomas Orsava 47ea835c80 Moved python-pip into the python2-pip subpackage
Added the python_provide macro
2016-08-05 18:32:58 +02:00
Fedora Release Engineering 4841a130cb - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 10:58:39 +00:00
Tomas Orsava 7df5bbee66 Rebased to a new upstream version 8.1.2
Updated the prefix-stripping patch due to upstream changes in pip/wheel.py
2016-05-20 11:58:27 +02:00
Slavek Kabrda 686a4e2e6d Update to 8.0.2 2016-02-22 11:35:39 +01:00
Fedora Release Engineering 6ab95f60b9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 20:29:14 +00:00
Robert Kuska d688f38fb0 Rebuilt for Python3.5 rebuild
With wheel set to 1
2015-10-14 10:38:05 +02:00
Robert Kuska 459949c95f Rebuilt for Python3.5 rebuild 2015-10-13 18:39:17 +02:00
Slavek Kabrda b664d7200a Update to 7.1.0 2015-07-01 11:42:00 +02:00
Ville Skyttä 25a2de78a9 Install bash completion
- Ship LICENSE.txt as %license where available
2015-06-30 13:45:43 +03:00
Dennis Gilmore fdbeb48302 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 20:17:14 +00:00
Matej Stuchlik 319306cca0 Update to 7.0.3 2015-06-04 11:47:42 +02:00
Matej Stuchlik f50907e1c1 Update to 6.0.8 2015-03-06 14:33:17 +01:00
Slavek Kabrda 4669cc950d Only enable tests on Fedora. 2014-12-18 09:44:03 +01:00
Slavek Kabrda a78dc50b11 Merge branch 'master' into epel7 2014-12-18 09:21:24 +01:00
Matej Stuchlik 9297164887 Add tests and patch skipping tests requiring networking 2014-12-01 14:19:59 +01:00
Matej Stuchlik a7c7b123d7 Patch local dos with predictable temp directory names
See more at http://seclists.org/oss-sec/2014/q4/655
2014-11-18 13:49:10 +01:00
Dennis Gilmore e24e478a40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 17:05:22 -05:00
Matej Stuchlik 56b65b2601 Update to 1.5.6 2014-05-26 00:11:21 +02:00
Matej Stuchlik 3e3470390a Rebuild as wheel for Python 3.4 2014-04-25 14:13:31 +02:00
Matej Stuchlik 16abcb69d8 Actually disable build_wheel 2014-04-24 13:27:28 +02:00
Matej Stuchlik 5d7f89437b Disable build_wheel 2014-04-24 13:20:46 +02:00
Matej Stuchlik a48e4cb297 Rebuild as wheel for Python 3.4 2014-04-24 12:37:03 +02:00
Matej Stuchlik dd9e7dc94d Update to 1.5.4 and add an option to build as wheel 2014-04-07 12:16:08 +02:00
Pádraig Brady d42df6d2a7 python3 not in epel7 yet 2014-01-27 16:08:50 +00:00
Tim Flink 42d5421d50 updating to pip 1.4.1 and removing old CVE patch that's not needed anymore 2013-10-14 15:13:50 -06:00
Dennis Gilmore 6064dd1ddb - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 04:01:34 -05:00
Toshio Kuratomi 08349fb2f3 Fix for CVE 2013-2099 2013-07-16 13:32:51 -07:00
Tim Flink f5a26f9437 renaming python-pip for #958377 and updating summary to match upstream 2013-05-23 21:58:59 -06:00
Kevin Kofler 9a8af72d4d Fix main package Summary, it's for Python 2, not 3 (#877401)
* Mon May 06 2013 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.3.1-2
- Fix main package Summary, it's for Python 2, not 3 (#877401)
2013-05-06 18:50:34 +02:00
Jon Ciesla 53e39cd28e Update to 1.3.1 to fix CVE-2013-1888. 2013-04-26 07:33:23 -05:00
Dennis Gilmore 2052a4593b - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 14:04:59 -06:00
Tim Flink 3a2d5edebd fixing files for python3-pip and bumping to 1.2.1-2 2012-10-09 13:07:10 -06:00
Tim Flink a74e1e0c54 Updating to upstream 1.2.1 and changing symlinks for RHBZ#855495 2012-10-04 09:49:27 -06:00
David Malcolm 1676c4720a rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 2012-08-04 05:32:23 -04:00
Dennis Gilmore 13c1fa2699 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 02:44:46 -05:00
Tim Flink 3a898a9562 updating pip to 1.1 2012-05-16 09:18:06 -06:00
Dennis Gilmore 3c8c959639 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 19:59:25 -06:00
Tim Flink aded0dc96c update pip to 1.0.2 and add python3 package 2011-10-23 12:02:40 -06:00
Tim Flink 74924e00ab Update to 0.8.3, project web page and removing an EPEL4 specific
command.
2011-06-24 09:00:30 -06:00
Dennis Gilmore 8709b73553 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 23:43:12 -06:00
Luke Macken 9557dd60da Update pip to 0.8.2 2010-12-20 16:02:19 -05:00
Peter Halliday 3155cdf475 BugID: 616399
update to 0.8
2010-08-30 23:01:40 -04:00
dmalcolm 089f2c50f7 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 05:02:19 +00:00
Peter Halliday 6b45ab4d3b Update to 0.7.2 of pip 2010-07-08 05:17:31 +00:00
Peter Halliday 36e99b167c update to 0.7.1 2010-05-24 03:02:18 +00:00
Peter Halliday 97657b9e81 fixing dependency issues 2010-01-01 20:11:19 +00:00
Peter Halliday 365f19ee02 Updating to 0.6.1-3 2009-12-18 13:45:01 +00:00
Peter Halliday 24c5132c8a Updating to 0.6.1 2009-12-18 02:39:41 +00:00
Peter Halliday fc2018efb2 initial import 2009-10-26 00:51:48 +00:00