CloudGenix / sdk-python

Python2 and Python3 SDK for the CloudGenix AppFabric
MIT License
25 stars 11 forks source link

Initialization failure with urllib3 v2 #37

Open ryankearney opened 1 year ago

ryankearney commented 1 year ago

requirements.txt does not include urllib3.

urllib3 v1.26.0 (released 2 and a half years ago) deprecated DEFAULT_METHOD_WHITELIST that's used in init.py and also calls out that v2.0 will drop support for Python 2.

Since urblib3 is not explicitly defined in requirements.txt, a pip install will load version 2 for the last month or so which breaks the SDK due to it using a feature deprecated (and now removed) attribute in urblib3.