Update the patches

This commit is contained in:
Petr Viktorin 2020-12-02 16:46:34 +01:00
commit 0626df487e
3 changed files with 19 additions and 17 deletions

View file

@ -70,13 +70,14 @@ BuildRequires: python-wheel-wheel
# Downstream only patch
# Emit a warning to the user if pip install is run with root privileges
# Issue upstream: https://github.com/pypa/pip/issues/4288
# Upstream discussion:
# https://discuss.python.org/t/playing-nice-with-external-package-managers/1968/20
Patch1: emit-a-warning-when-running-with-root-privileges.patch
# Prevent removing of the system packages installed under /usr/lib
# when pip install -U is executed.
# https://bugzilla.redhat.com/show_bug.cgi?id=1550368#c24
#Patch3: remove-existing-dist-only-if-path-conflicts.patch
Patch3: remove-existing-dist-only-if-path-conflicts.patch
# Use the system level root certificate instead of the one bundled in certifi
# https://bugzilla.redhat.com/show_bug.cgi?id=1655253
@ -85,7 +86,7 @@ Patch4: dummy-certifi.patch
# Don't warn the user about pip._internal.main() entrypoint
# In Fedora, we use that in ensurepip and users cannot do anything about it,
# this warning is juts moot. Also, the warning breaks CPython test suite.
#Patch5: nowarn-pip._internal.main.patch
Patch5: nowarn-pip._internal.main.patch
# Downstream only patch
# Users might have local installations of pip from using