Open cskau opened 11 months ago
This fixes an incompatibility between using urllib3 v1 and v2, due breaking changes to the request(..) method's signature:
request(..)
urllib3 v1:
request(method, url, fields=None, headers=None, **urlopen_kw)
urllib3 v2:
request(method, url, body=None, fields=None, headers=None, json=None, **urlopen_kw)
Aside: To avoid similar issues due to breaking changes in dependencies, the requirements.txt files should probably be updated to have versions with both lower and upper bounds: urllib3>=1.25.6 -> urllib3>=1.25.6,<2.0.0
requirements.txt
urllib3>=1.25.6
urllib3>=1.25.6,<2.0.0
This fixes an incompatibility between using urllib3 v1 and v2, due breaking changes to the
request(..)
method's signature:urllib3 v1:
urllib3 v2:
Aside: To avoid similar issues due to breaking changes in dependencies, the
requirements.txt
files should probably be updated to have versions with both lower and upper bounds:urllib3>=1.25.6
->urllib3>=1.25.6,<2.0.0