From fe4bb77cda67fa955ee2a5ca85fdf3f3f38623fb Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Fri, 28 Oct 2022 18:02:45 -0700 Subject: [PATCH] require unicodedata2>=15 to support Unicode 15 --- requirements.txt | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 11acb3c97..c50182c0e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ # extension 'brotlipy' on PyPy brotli==1.0.9; platform_python_implementation != "PyPy" brotlicffi==1.0.9.2; platform_python_implementation == "PyPy" -unicodedata2==14.0.0; python_version < '3.11' +unicodedata2==15.0.0; python_version <= '3.11' scipy==1.7.3; platform_python_implementation != "PyPy" and python_version <= '3.7' # pyup: ignore scipy==1.9.3; platform_python_implementation != "PyPy" and python_version > '3.7' munkres==1.1.4; platform_python_implementation == "PyPy" diff --git a/setup.py b/setup.py index 790a5f632..960a73b78 100755 --- a/setup.py +++ b/setup.py @@ -99,9 +99,9 @@ extras_require = { # of the Unicode Character Database instead of the built-in unicodedata # which varies between python versions and may be outdated. "unicode": [ - # Python 3.11 already has Unicode 14.0, so the backport is not needed. + # Python 3.12 will have Unicode 15.0, so the backport is not needed. ( - "unicodedata2 >= 14.0.0; python_version < '3.11'" + "unicodedata2 >= 15.0.0; python_version <= '3.11'" ), ], # for graphite type tables in ttLib/tables (Silf, Glat, Gloc)