void-packages/srcpkgs/python3-requests/patches/use-system-cacerts.patch
Michal Vasilek 5bd9ae19dc python3-requests: update to 2.27.1
* drop python2 version
* fix tests
2022-01-06 20:33:25 +01:00

13 lines
382 B
Diff

--- a/requests/certs.py 2017-05-29 20:09:29.000000000 +0200
+++ b/requests/certs.py 2017-06-06 13:06:31.803000513 +0200
@@ -12,7 +12,8 @@
environment, you can change the definition of where() to return a separately
packaged CA bundle.
"""
-from certifi import where
+def where():
+ return '/etc/ssl/certs/ca-certificates.crt'
if __name__ == '__main__':
print(where())