Skip to content

Commit 63e3e2e

Browse files
committed
Increase chardet major version limit to 7
1 parent 4cf8c97 commit 63e3e2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/requests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def check_compatibility(urllib3_version, chardet_version, charset_normalizer_ver
7676
major, minor, patch = chardet_version.split(".")[:3]
7777
major, minor, patch = int(major), int(minor), int(patch)
7878
# chardet_version >= 3.0.2, < 6.0.0
79-
assert (3, 0, 2) <= (major, minor, patch) < (6, 0, 0)
79+
assert (3, 0, 2) <= (major, minor, patch) < (7, 0, 0)
8080
elif charset_normalizer_version:
8181
major, minor, patch = charset_normalizer_version.split(".")[:3]
8282
major, minor, patch = int(major), int(minor), int(patch)

0 commit comments

Comments
 (0)