Skip to content
Myr

Upgrade to chardet 4.x

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

authored by Dan Blanchard · committed by Dan Blanchard · parent d3e0f73 · Browse files · 2 files+3 added−5 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+3 added−5 removed

  • other:+3 added−5 removed

2 files+3 added−5 removed

modified:requests/__init__.py+2 added-4 removed
63 unmodified lines
6465 # Check chardet for compatibility.66 major, minor, patch = chardet_version.split('.')[:3]67 major, minor, patch = int(major), int(minor), int(patch)68 # chardet >= 3.0.2, < 3.1.069 assert major == 370 assert minor < 171 assert patch >= 268 # chardet >= 3.0.2, < 5.0.069 assert (3, 0, 2) <= (major, minor, patch) < (5, 0, 0)707172def _check_cryptography(cryptography_version):73 # cryptography < 1.3.4
64 unmodified lines
modified:setup.py+1 added-1 removed
40 unmodified lines
4142packages = ['requests']4344requires = [45 'chardet>=3.0.2,<4',45 'chardet>=3.0.2,<5',46 'idna>=2.5,<3',47 'urllib3>=1.21.1,<1.27',48 'certifi>=2017.4.17'49
63 unmodified lines