Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

role:python: Set pip's Retry Interval to 0 #79

Open
markuslf opened this issue Sep 7, 2022 · 0 comments
Open

role:python: Set pip's Retry Interval to 0 #79

markuslf opened this issue Sep 7, 2022 · 0 comments

Comments

@markuslf
Copy link
Member

markuslf commented Sep 7, 2022

Make this setting configurable. Vendor default is 4, in a datacenter 0 would be a better default value.

With the vendor default an update with missing internet connection looks like this (and takes an hour):

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4b16cb3190>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/python-dateutil/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4b16cb7210>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/python-dateutil/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4b16cb7390>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/python-dateutil/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4b16cb7510>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/python-dateutil/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f4b16cb7690>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/python-dateutil/
Requirement already up-to-date: python-dateutil>=2.6.0 in /opt/python2-influxdb/lib/python2.7/site-packages (from influxdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant