We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f3ff9b commit b294b08Copy full SHA for b294b08
1 file changed
src/requests/__init__.py
@@ -56,7 +56,7 @@
56
57
58
def check_compatibility(urllib3_version, chardet_version, charset_normalizer_version):
59
- urllib3_version = urllib3_version.split(".")
+ urllib3_version = urllib3_version.split(".")[:3]
60
assert urllib3_version != ["dev"] # Verify urllib3 isn't installed from git.
61
62
# Sometimes, urllib3 only reports its version as 16.1.
0 commit comments