From 0e28c8f1dc1db297fb2ba5a953bee2097a554c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?= Date: Wed, 29 Jun 2022 04:01:42 +0200 Subject: [PATCH] Allow charset normalizer >=2 and <3 (#6169) --- 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 43c69fcfd2..23977ed77a 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",