Miro Hrončok
192c4aebdf
Fix broken uninstallation by a bogus downstream patch
...
In pip 21.2, the Distribution here is a wrapper around the regular Distribution.
It has a limited set of API defined by the BaseDistribution protocol.
dist_location() uses the project_name attribute under the hood --
and that is not part of the API.
If we ever upstream this, we should make this check a property of BaseDistribution.
But, for now, we hotfix it by accessing the private wrapped Distribution object directly.
Yes, this is ugly.
2021-08-16 12:27:18 +02:00
Miro Hrončok
d7a96d26f4
Enable previously failing test
2021-08-11 18:57:08 +02:00
Miro Hrončok
d3f6b95d9c
Adapt wheel installation to be more like %pyproject_install, use %python3
2021-08-11 18:57:08 +02:00
Miro Hrončok
8f31f816cc
Mark the installed LICENSE.txt as %license instead of duplicating it
2021-08-11 18:57:08 +02:00
Miro Hrončok
d39c496473
Update to 21.2.3
...
The bundled toml was replaced by tomli, same license (MIT).
2021-08-09 20:33:45 +02:00
Fedora Release Engineering
08464d3bcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 08:14:14 +00:00
Lumir Balhar
44c8353812
Update to 21.1.3
2021-07-07 13:46:14 +02:00
Karolina Surma
de909508e7
Update to 21.1.2
2021-06-17 09:45:24 +02:00
Python Maint
d2309d3f09
Rebuilt for Python 3.10
2021-06-04 02:57:58 +02:00
Python Maint
ec8cee20b2
Bootstrap for Python 3.10
2021-06-01 16:35:15 +02:00
Miro Hrončok
4e92c5da5b
Fedora CI: Cleanup for Fedora 32 EOL and prepare for Python 3.5 retirement
...
Fedora 32 was the last one to include Python 3.4
https://fedoraproject.org/wiki/Changes/RetirePython34
Fedora 35 will be the first one not to include Python 3.5
https://fedoraproject.org/wiki/Changes/RetirePython3.5
2021-05-25 00:50:46 +02:00
Karolina Surma
34ceb80d61
Resolve rpmlint warnings & fix changelog typos
2021-05-18 13:47:05 +02:00
Karolina Surma
5afdc00b06
Update to 21.1.1
...
Changes:
- dropped emit-a-warning-when-running-with-root-privileges.patch (fixed in upstream)
- rebased dummy-certifi.patch, remove-existing-dist-only-if-path-conflicts.patch, nowarn-pip._internal.main.patch
2021-05-18 13:43:22 +02:00
Karolina Surma
695f7debe3
Remove unused patches
2021-05-11 16:19:49 +02:00
Miro Hrončok
b476c02485
python-pip-wheel: Remove bundled provides and libcrypt recommends for Python 2
...
The wheel is Python 3 only for a while.
2021-03-13 22:34:09 +01:00
Lumir Balhar
e8f3551533
Update to 21.0.1
2021-02-17 10:26:08 +01:00
Lumir Balhar
093819ce2e
Update to 21.0 ( #1919530 )
2021-01-26 13:27:36 +01:00
Miro Hrončok
b650cd95c0
Add Python 3.10 to the CI tests
2020-12-30 10:20:05 +01:00
Petr Viktorin
cef1efc8a0
Update to 20.3.3
2020-12-17 17:24:11 +01:00
Petr Viktorin
cae1e54349
Remove DeprecationWarning about LegacyVersion
2020-12-17 17:23:37 +01:00
Petr Viktorin
05d68e041f
Remove comment about removed patch
2020-12-17 17:23:37 +01:00
Petr Viktorin
6eac568430
Patch the new resolver to not uninstall from /usr/lib on updates
2020-12-17 17:23:37 +01:00
Petr Viktorin
0626df487e
Update the patches
2020-12-17 17:23:37 +01:00
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
Miro Hrončok
9a044bd673
Run Python 3.4 tests optionally
...
https://fedoraproject.org/wiki/Changes/RetirePython34
2020-08-04 20:43:35 +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
e858da1425
Fedora CI: Add Python 3.9
2020-04-27 17:10:03 +02: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
903b01b22d
Add rpmlint config to filter not important warnings and errors
...
This commit adds rpmlint config to filter warning and errors
that are not really a problem. Such as no-documentation warning
for python-pip-wheel which has documentation README shipped with main
package but rpmlint does not see it.
Then it filters out venv spelling error and adds temporary filter for
non-executable-script and wrong-script-interpreter those will be fixed
once all upstream PRs will be merged.
2020-04-14 16:15:29 +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