Skip to content

urllib3 < 1.26 not supported #270

@claudio-cantalupo-ca

Description

@claudio-cantalupo-ca

Is this a support request?
No

Describe the bug
The minimum requirement specified in pyproject.toml for urllib3 is not correct: urllib3 = ">=1.22.0" it should be urllib3 = ">=1.26.0"

Tried with urllib3 = 1.25.11 and the client initialization continuosly logs this warning:
Unexpected error on stream connection: __init__() got an unexpected keyword argument 'other', will retry

This should be an error by the way because the client will never be able to connect, it just infinitely pollutes the logs.

To reproduce
Put these lines in a requirements.txt and install them in a new venv:

launchdarkly-server-sdk==9.2.0
urllib3==1.25.11

Just init a new client as explained in the LD official doc.

SDK version
v9.2.0 (python 3.9.18)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions