[setup.py] require unicodedata2>=15.1.0 for Unicode 15.1

This commit is contained in:
Cosimo Lupo 2023-11-03 10:32:04 +00:00
parent 53e71f9eb7
commit 6d43bd7e11

View File

@ -110,8 +110,7 @@ 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.12 will have Unicode 15.0, so the backport is not needed.
("unicodedata2 >= 15.0.0; python_version <= '3.11'"),
("unicodedata2 >= 15.1.0; python_version <= '3.12'"),
],
# for graphite type tables in ttLib/tables (Silf, Glat, Gloc)
"graphite": ["lz4 >= 1.7.4.2"],