Skip to content
New issue

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

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

Already on GitHub? # to your account

chore: Require minimum urllib3 1.26.0 version #198

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

tembleking
Copy link
Member

For versions lower than 1.26.0, this error arises:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/sdcclient/_monitor.py", line 11, in __init__
    super(SdMonitorClient, self).__init__(token, sdc_url, ssl_verify, custom_headers)
  File "/usr/local/lib/python3.9/dist-packages/sdcclient/monitor/_dashboards_v3.py", line 14, in __init__
    super(DashboardsClientV3, self).__init__(token, sdc_url, ssl_verify, custom_headers)
  File "/usr/local/lib/python3.9/dist-packages/sdcclient/monitor/_events_v2.py", line 9, in __init__
    super().__init__(token, sdc_url, ssl_verify, custom_headers)
  File "/usr/local/lib/python3.9/dist-packages/sdcclient/_common.py", line 55, in __init__
    adapter = SysdigHTTPAdapter(ssl_verify=self.ssl_verify)
  File "/usr/local/lib/python3.9/dist-packages/sdcclient/_common.py", line 11, in __init__
    retry_strategy = Retry(
TypeError: __init__() got an unexpected keyword argument 'allowed_methods'

@tembleking tembleking self-assigned this Jul 8, 2021
@tembleking tembleking merged commit d03052b into master Jul 8, 2021
@tembleking tembleking deleted the chore-upgrade-versions branch July 8, 2021 15:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant