Let brp_python_bytecompile run again, take care of the non-python{2,3} modules
by removing them from the python{,3}-requests package that they did not belong
in.
- Use the certificates in the ca-certificates package instead of the bundled one
+ https://bugzilla.redhat.com/show_bug.cgi?id=904614
- Fix a problem with cookie handling
+ https://bugzilla.redhat.com/show_bug.cgi?id=906924
This commit is contained in:
parent
e9f9b2b5c0
commit
ad439987b8
3 changed files with 111 additions and 16 deletions
16
python-requests-system-cert-bundle.patch
Normal file
16
python-requests-system-cert-bundle.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
Index: requests-0.14.1/requests/certs.py
|
||||
===================================================================
|
||||
--- requests-0.14.1.orig/requests/certs.py
|
||||
+++ requests-0.14.1/requests/certs.py
|
||||
@@ -21,7 +21,10 @@ def where():
|
||||
return certifi.where()
|
||||
else:
|
||||
f = os.path.split(__file__)[0]
|
||||
- return os.path.join(f, 'cacert.pem')
|
||||
+ path = os.path.join(f, 'cacert.pem')
|
||||
+ if os.path.exists(path):
|
||||
+ return path
|
||||
+ return None
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(where())
|
||||
Loading…
Add table
Add a link
Reference in a new issue