From d11f89b72b6eece2923fbd1779849872448b948c Mon Sep 17 00:00:00 2001 From: BobDotCom <71356958+BobDotCom@users.noreply.github.com> Date: Tue, 25 Oct 2022 08:31:11 -0500 Subject: [PATCH] Pin cchardet version and add qualifiers --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 844a0277a9..eedc5017c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,8 @@ speed = [ "orjson>=3.5.4", "aiodns>=1.1", "Brotlipy", - "cchardet", + # cchardet does not support 3.10+, see https://github.com/PyYoshi/cChardet/pull/78 + "cchardet>=2.1.5,<=2.1.7; python_version<'3.10'", ] [tool.setuptools]