diff --git a/setup.cfg b/setup.cfg index 5ff5d4274e..33af66eb15 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,7 +5,7 @@ provides-extra = use_chardet_on_py3 requires-dist = certifi>=2017.4.17 - charset_normalizer~=2.0.0 + charset_normalizer>=2,<3 idna>=2.5,<4 urllib3>=1.21.1,<1.27 diff --git a/setup.py b/setup.py index ca7bc3a0cd..5c4f040b10 100755 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ def run_tests(self): sys.exit() requires = [ - "charset_normalizer~=2.0.0", + "charset_normalizer>=2,<3", "idna>=2.5,<4", "urllib3>=1.21.1,<1.27", "certifi>=2017.4.17",