Closed cthart closed 1 year ago
This is a breaking change with the new version of urllib3, not requests. I downgraded urllib3 to 1.26.15 (last version prior to the recent 2.0) but retained the latest version of requests (2.30.0) and now the import works fine:
$ python
Python 3.8.10 (default, Mar 13 2023, 10:26:41)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from bankid import BankIDJSONClient
>>>
This was confirmed by a urllib3 developer: https://github.com/urllib3/urllib3/issues/3015
This is fixed now by version 0.14.0, see #49
Description
After upgrading to the above mentioned just released versions of requests and urllib3, get an exception in pybankid code.
What I Did