From cbab74f7fcbc27d4e36c02b8d8b0b3e0b6e3bd2c Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 28 May 2019 11:30:22 +0100 Subject: [PATCH] update unicodedata2 backport for Unicode 12.0 --- requirements.txt | 2 +- setup.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 141f742e9..bdfd52ba7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ # extension 'brotlipy' on PyPy brotli==1.0.7; platform_python_implementation != "PyPy" brotlipy==0.7.0; platform_python_implementation == "PyPy" -unicodedata2==11.0.0; python_version < '3.7' and platform_python_implementation != "PyPy" +unicodedata2==12.0.0; python_version < '3.8' and platform_python_implementation != "PyPy" scipy==1.2.1; platform_python_implementation != "PyPy" and python_version < '3.5' # pyup: ignore scipy==1.3.0; platform_python_implementation != "PyPy" and python_version >= '3.5' munkres==1.0.12; platform_python_implementation == "PyPy" and python_version < '3.5' # pyup: ignore diff --git a/setup.py b/setup.py index f3ed6bfc5..b2e5aac55 100755 --- a/setup.py +++ b/setup.py @@ -57,10 +57,10 @@ extras_require = { # which varies between python versions and may be outdated. "unicode": [ # the unicodedata2 extension module doesn't work on PyPy. - # Python 3.7 already has Unicode 11, so the backport is not needed. + # Python 3.8 already has Unicode 12, so the backport is not needed. ( - "unicodedata2 >= 11.0.0; " - "python_version < '3.7' and platform_python_implementation != 'PyPy'" + "unicodedata2 >= 12.0.0; " + "python_version < '3.8' and platform_python_implementation != 'PyPy'" ), ], # for graphite type tables in ttLib/tables (Silf, Glat, Gloc)