SHA256
1
0
forked from pool/python-pip
python-pip/pip-8.1.2-shipped-requests-cabundle.patch
Tomáš Chvátal a52524cd47 Accepting request 624890 from home:mimi_vx:branches:devel:languages:python
- update to 18.0
- refresh pip-8.1.2-shipped-requests-cabundle.patch
 * drop python 3.3 support
 * Remove the legacy format from pip list.
 * Remove support for cleaning up #egg fragment postfixes
 * Remove the shim for the old get-pip.py location
 * Introduce a new --prefer-binary flag, to prefer older wheels
     over newer source packages.
 * Improve autocompletion function on file name completion 
 * Add support for installing PEP 518 build dependencies from source
 * Improve status message when upgrade is skipped due to only-if-needed strategy

OBS-URL: https://build.opensuse.org/request/show/624890
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=54
2018-07-24 06:41:54 +00:00

24 lines
554 B
Diff

Index: pip-18.0/src/pip/_vendor/certifi/core.py
===================================================================
--- pip-18.0.orig/src/pip/_vendor/certifi/core.py
+++ pip-18.0/src/pip/_vendor/certifi/core.py
@@ -7,7 +7,6 @@ certifi.py
This module returns the installation location of cacert.pem.
"""
-import os
import warnings
@@ -19,9 +18,8 @@ class DeprecatedBundleWarning(Deprecatio
def where():
- f = os.path.dirname(__file__)
- return os.path.join(f, 'cacert.pem')
+ return '/etc/ssl/ca-bundle.pem'
def old_where():