From 6a97f1c96998e605c1233c0f1dec60eee351944b Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Mon, 20 Jun 2022 09:32:16 +0200 Subject: [PATCH] Allow charset normalizer >=2 and <3 --- setup.cfg | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",