Miro Hrončok
58c5acd7e8
WIP: Upgrade to 20.3
2020-12-17 17:23:35 +01:00
Miro Hrončok
f444f50981
Disable tests and documentation in Fedora ELN (and RHEL)
2020-12-04 13:33:13 +01:00
Miro Hrončok
e8ba55beb4
vendor_meta.sh is not used any more
2020-11-26 18:07:19 +01:00
Miro Hrončok
79b09f862d
Also test with hg
2020-11-15 23:34:59 +01:00
Tomas Hrnciar
32ac5407bd
Add python3-cryptography test dependency
...
Cryptography is used directly and it has been so far only brought in by breezy.
2020-11-03 12:44:21 +01:00
Lumir Balhar
aab1da4a87
Update to 20.2.4 ( #1889112 )
2020-10-19 03:29:18 +02:00
Tomas Orsava
8825fe54dc
Update to 20.2.2 ( #1838553 )
2020-08-11 16:20:47 +02:00
Fedora Release Engineering
588f123d93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 02:48:00 +00:00
Lumir Balhar
728b4e49d0
Do not emit a warning about root privileges when --root is used
2020-07-10 08:17:12 +02:00
Miro Hrončok
21fe0a233c
Backport: Update tests to be endian safe, fix FTBFS on s390x
...
Also, use %autopatch to apply the patches.
2020-07-08 17:52:45 +02:00
Miro Hrončok
159feb818e
Cleanup explicit conflicts with old RPM macros
2020-07-08 15:45:17 +02:00
Miro Hrončok
e195c51818
Switch to %pytest to simplify the spec file
...
/usr/bin/pip is Python 3 now anyway, so we can drop the custom _bin hack.
2020-07-08 15:45:17 +02:00
Miro Hrončok
8253bfab57
Update bundled provides to match 20.1.1 and verify it in %check
2020-07-08 15:45:17 +02:00
Lumir Balhar
acf982e208
Deselect tests incompatible with the latest virtualenv
2020-06-17 07:41:13 +02:00
Miro Hrončok
230ac9caa8
Rebuilt for Python 3.9
2020-05-24 03:30:08 +02:00
Miro Hrončok
97bba91589
Bootstrap for Python 3.9
2020-05-22 00:30:49 +02:00
Tomas Hrnciar
5ef43e57f4
Update to 20.1.1
2020-05-20 08:15:36 +00:00
Tomas Hrnciar
0e2a444500
Update to 20.1
2020-05-20 08:15:36 +00:00
Tomas Hrnciar
55406531cf
Update to 20.1~b1
...
Don't install pip wheel via path to prevent PEP 610 treatment, see:
https://discuss.python.org/t/pep-610-usage-guidelines-for-linux-distributions/4012
2020-05-20 08:15:36 +00:00
Miro Hrončok
9d1451298e
Only recommend setuptools, don't require them
2020-04-15 12:38:11 +02:00
Tomas Hrnciar
46e383d546
Remove doctree pickles
...
This commit removes hidden doctree folder which serves as a cache for
Sphinx when documentation is build. It's useless for user and creates
rpmlint warning hidden-file-or-dir.
2020-04-15 11:09:16 +02:00
Tomas Hrnciar
db4c30e311
Remove python_provide macro
...
This commit removes %python_provide macro which is now automatic, see:
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/message/SSJLPWSGFGPYRSHXQZDR7JNQXSDGGX3Z/
This is applicable only for F33 and higher.
2020-04-15 11:09:16 +02:00
Tomas Hrnciar
f6c63603fb
Replace pypi source with tarball from GitHub
...
Pypi source does not include tests folder so they had to be manually
downloaded from GitHub. This commit replaces pypi source with tarball
from GitHub where tests are included.
This also fixes rpmlint invalid-url warning.
2020-04-15 11:09:11 +02:00
Tomas Hrnciar
542eb0faf8
Link to man page for all executables
...
There are four different executables for python-pip, but so far only two of
them had man page. This commit makes man page available for rest of the
executables via links.
2020-04-14 16:15:20 +02:00
Miro Hrončok
4347c1397d
Allow setting $TMPDIR to $PWD/... during pip wheel
...
Needed for https://bugzilla.redhat.com/show_bug.cgi?id=1806625
2020-04-10 15:30:03 +02:00
Miro Hrončok
7913cd9edf
Make patches apply --without tests
...
Some patches touch tests and we didn't include the test sources --without tests,
leading to broken build. This was a long standing reoccurring problem.
Now we always include and unpack tests sources, even when we don't run them.
2020-04-06 13:24:41 +02:00
Miro Hrončok
eb1cbbd764
Don't warn the user about pip._internal.main() entrypoint to fix ensurepip
2020-03-10 12:22:59 +01:00
Miro Hrončok
f994ff1cc7
Update to 20.0.2
...
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1793456
The main() wrapper moved the import path again, this time with compatibility shim:
- we still need pip-allow-different-versions.patch to support older pips installed by users
- we dropped callable-main.patch - the shim is provided by pip for all previous paths
- no need to patch older pips to support user installed pip 20+
- no need to patch Pythons (or virtualenv) to support pip 20+ wheel in ensurepip
2020-03-04 12:47:38 +01:00
Fedora Release Engineering
c9ae810483
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 14:04:40 +00:00
Miro Hrončok
af087f8054
Patch new pip to make it support the old private API of main()
...
This is needed to be able to use pip 19.3+ in ensurepip of older Pythons
without patching all the Pythons.
2019-12-11 16:41:11 +01:00
Tomas Orsava
f6e9c0640b
Update to 19.3.1 ( #1761508 )
...
Drop upstreamed patch that fixed expected output in test to not break with alpha/beta/rc Python versions
2019-12-11 16:41:11 +01:00
Miro Hrončok
3bced42530
Make /usr/bin/pip(3) work with user-installed pip 19.3+
...
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1767212
== Before:
$ rpm -q python3-pip
python3-pip-19.2.3-1.fc32.noarch
$ /usr/bin/pip --version
pip 19.2.3 from /usr/lib/python3.8/site-packages/pip (python 3.8)
$ pip install --user --upgrade pip
...
Successfully installed pip-19.3.1
$ /usr/bin/pip --version
Traceback (most recent call last):
File "/usr/bin/pip", line 15, in <module>
sys.exit(main())
TypeError: 'module' object is not callable
$ rm .local/ -rf
$ pip install --user --upgrade 'pip<10'
...
Successfully installed pip-9.0.3
$ /usr/bin/pip --version
pip 9.0.3 from /home/pythonista/.local/lib/python3.8/site-packages (python 3.8)
$ pip install --user --upgrade 'pip<9'
...
Successfully installed pip-8.1.2
$ /usr/bin/pip --version
pip 8.1.2 from /home/pythonista/.local/lib/python3.8/site-packages (python 3.8)
== After
$ rpm -q python3-pip
python3-pip-19.2.3-2.fc32.noarch
$ /usr/bin/pip --version
pip 19.2.3 from /usr/lib/python3.8/site-packages/pip (python 3.8)
$ pip install --user --upgrade pip
...
Successfully installed pip-19.3.1
$ /usr/bin/pip --version
pip 19.3.1 from /home/pythonista/.local/lib/python3.8/site-packages/pip (python 3.8)
$ pip install --user --upgrade 'pip<10'
...
Successfully installed pip-9.0.3
$ /usr/bin/pip --version
pip 9.0.3 from /home/pythonista/.local/lib/python3.8/site-packages (python 3.8)
$ pip install --user --upgrade 'pip<9'
...
Successfully installed pip-8.1.2
$ /usr/bin/pip --version
pip 8.1.2 from /home/pythonista/.local/lib/python3.8/site-packages (python 3.8)
2019-10-31 00:50:36 +01:00
Miro Hrončok
add791f1d5
Update to 19.2.3 ( #1742230 )
2019-09-02 12:17:41 +02:00
Petr Viktorin
a0ac853b8c
Simplify bash completion
...
Bash reads all the completion files at start, so we don't need
additional symlinks.
Register completions for all the pip3 symliks at once.
2019-08-28 16:43:20 +02:00
Petr Viktorin
9a8a1ef98e
Remove python2-pip
2019-08-21 17:39:35 +02:00
Petr Viktorin
ef07805c26
Make pip bootstrap itself, rather than with an extra bootstrap RPM build
2019-08-21 17:11:03 +02:00
Miro Hrončok
1e1292bcb1
Rebuilt for Python 3.8
2019-08-17 12:49:08 +02:00
Miro Hrončok
0f902d1fc0
Bootstrap for Python 3.8
2019-08-14 23:02:14 +02:00
Miro Hrončok
07e4cb7088
Only apply Patch 5 with tests
2019-08-14 22:20:49 +02:00
Miro Hrončok
30557cd2a5
Bootstrap for Python 3.8
2019-08-14 22:15:12 +02:00
Miro Hrončok
36d098078c
Skip python2-virtualenv tests
2019-07-29 14:54:20 +02:00
Fedora Release Engineering
776d4ae9a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 15:12:09 +00:00
Miro Hrončok
8fc8d4526b
Make /usr/bin/pip Python 3
2019-07-22 14:48:51 +02:00
Petr Viktorin
5813f49ff1
Use correct Python versions
2019-07-15 18:06:26 +02:00
Petr Viktorin
23345c5b9c
Recommend libcrypt.so.1 for manylinux1 compatibility
2019-07-15 17:09:43 +02:00
Miro Hrončok
853f763a7e
Remove a redundant second WARNING prefix form the root warning
...
It is added automatically since 19.1.
2019-06-10 14:50:04 +02:00
Miro Hrončok
de5ce17674
Fix root warning when pip is invoked via python -m pip
...
Fixes https://github.com/pypa/pip/issues/6576
2019-06-10 13:09:38 +02:00
Miro Hrončok
fa2f84fe5b
Update to 19.1.1 ( #1706995 )
2019-05-15 16:47:48 +02:00
Miro Hrončok
a2422cfdac
Update to 19.1 ( #1702525 )
2019-04-25 15:33:26 +02:00
Miro Hrončok
9f86bca8b1
Pytest 4 compatibility
...
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1694177
2019-04-15 17:56:04 +02:00