代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-requests 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
diff -uNrp a/requests/certs.py b/requests/certs.py
--- a/requests/certs.py 2019-12-20 15:17:38.304000000 +0800
+++ b/requests/certs.py 2019-12-20 15:25:18.952000000 +0800
@@ -11,7 +11,10 @@ If you are packaging Requests, e.g., for
environment, you can change the definition of where() to return a separately
packaged CA bundle.
"""
-from certifi import where
+def where():
+ """Return the absolute path to the system CA bundle."""
+ return '/etc/pki/tls/certs/ca-bundle.crt'
+
if __name__ == '__main__':
print(where())
diff -uNrp a/setup.py b/setup.py
--- a/setup.py 2019-12-20 15:17:38.304000000 +0800
+++ b/setup.py 2019-12-20 15:14:39.212000000 +0800
@@ -45,7 +45,6 @@ requires = [
'chardet>=3.0.2,<3.1.0',
'idna>=2.5,<2.9',
'urllib3>=1.21.1,<1.25',
- 'certifi>=2017.4.17'
]
test_requirements = [
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。