Skip to content
Myr

Increase chardet upper limit to 7

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Amin Vakil · committed by Ian Stapleton Cordasco · parent da9113c · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:src/requests/__init__.py+1 added-1 removed
74 unmodified lines
75 if chardet_version:76 major, minor, patch = chardet_version.split(".")[:3]77 major, minor, patch = int(major), int(minor), int(patch)78 # chardet_version >= 3.0.2, < 6.0.079 assert (3, 0, 2) <= (major, minor, patch) < (6, 0, 0)79 assert (3, 0, 2) <= (major, minor, patch) < (7, 0, 0)80 elif charset_normalizer_version:81 major, minor, patch = charset_normalizer_version.split(".")[:3]82 major, minor, patch = int(major), int(minor), int(patch)83 # charset_normalizer >= 2.0.0 < 4.0.0
100 unmodified lines
modified:pyproject.toml+1 added-1 removed