File tree 2 files changed +4
-1
lines changed
tools/azure-sdk-tools/pypi_tools
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,10 @@ def combine_cert_file():
33
33
print ("Set the following certificate paths:" )
34
34
print ("\t SSL_CERT_DIR={}" .format (os .path .dirname (COMBINED_LOCATION )))
35
35
print ("\t REQUESTS_CA_BUNDLE={}" .format (COMBINED_LOCATION ))
36
+ print ("\t DEFAULT_CA_BUNDLE_PATH={}" .format (COMBINED_LOCATION ))
36
37
37
38
if os .getenv ('TF_BUILD' , False ):
38
39
print ("##vso[task.setvariable variable=SSL_CERT_DIR]{}" .format (os .path .dirname (COMBINED_LOCATION )))
39
40
print ("##vso[task.setvariable variable=REQUESTS_CA_BUNDLE]{}" .format (COMBINED_LOCATION ))
41
+ print ("##vso[task.setvariable variable=DEFAULT_CA_BUNDLE_PATH]{}" .format (COMBINED_LOCATION ))
42
+
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def get_pypi_xmlrpc_client():
14
14
class PyPIClient :
15
15
def __init__ (self , host = "https://pypi.org" ):
16
16
self ._host = host
17
- self ._http = PoolManager (retries = Retry (raise_on_status = True ))
17
+ self ._http = PoolManager (retries = Retry (total = 3 , raise_on_status = True ))
18
18
19
19
def project (self , package_name ):
20
20
response = self ._http .request (
You can’t perform that action at this time.
0 commit comments