require unicodedata2>=15 to support Unicode 15

This commit is contained in:
Cosimo Lupo 2022-10-28 18:02:45 -07:00
parent 0f48f0a5ea
commit fe4bb77cda
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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)