Skip to content

Commit 1448a60

Browse files
authored
Merge pull request #66 from fonttools/unicode-17
Update to Unicode 17.0.0
2 parents 1f0af97 + c1ab563 commit 1448a60

File tree

9 files changed

+35151
-34644
lines changed

9 files changed

+35151
-34644
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
matrix:
5656
# aarch64 uses qemu so it's slow, build each py version in parallel jobs
57-
python: [37, 38, 39, 310]
57+
python: [38, 39, 310, 312, 313, 314]
5858
arch: [aarch64]
5959
env:
6060
CIBW_BUILD: cp${{ matrix.python }}-*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
unicodedata2
55
============
66

7-
[unicodedata] backport/updates.
7+
[unicodedata] backport/updates. Currently supports Unicode 17.0.0.
88

99
The versions of this package match Unicode versions, so unicodedata2==13.0.0 is data from Unicode 13.0.0.
1010

makeunicodedata.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
# * Doc/library/stdtypes.rst, and
4545
# * Doc/library/unicodedata.rst
4646
# * Doc/reference/lexical_analysis.rst (two occurrences)
47-
UNIDATA_VERSION = "16.0.0"
47+
UNIDATA_VERSION = "17.0.0"
4848
UNICODE_DATA = "UnicodeData%s.txt"
4949
COMPOSITION_EXCLUSIONS = "CompositionExclusions%s.txt"
5050
EASTASIAN_WIDTH = "EastAsianWidth%s.txt"
@@ -104,13 +104,14 @@
104104
('3400', '4DBF'), # CJK Ideograph Extension A CJK
105105
('4E00', '9FFF'), # CJK Ideograph
106106
('20000', '2A6DF'), # CJK Ideograph Extension B
107-
('2A700', '2B739'), # CJK Ideograph Extension C
107+
('2A700', '2B73F'), # CJK Ideograph Extension C
108108
('2B740', '2B81D'), # CJK Ideograph Extension D
109-
('2B820', '2CEA1'), # CJK Ideograph Extension E
109+
('2B820', '2CEAD'), # CJK Ideograph Extension E
110110
('2CEB0', '2EBE0'), # CJK Ideograph Extension F
111111
('2EBF0', '2EE5D'), # CJK Ideograph Extension I
112112
('30000', '3134A'), # CJK Ideograph Extension G
113113
('31350', '323AF'), # CJK Ideograph Extension H
114+
('323B0', '33479'), # CJK Ideograph Extension J
114115
]
115116

116117

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="unicodedata2",
29-
version="16.0.0",
29+
version="17.0.0",
3030
description="Unicodedata backport updated to the latest Unicode version.",
3131
long_description=long_description,
3232
long_description_content_type="text/markdown",

tests/test_unicodedata2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class UnicodeFunctionsTest(UnicodeDatabaseTest):
3333

3434
# Update this if the database changes. Make sure to do a full rebuild
3535
# (e.g. 'make distclean && make') to get the correct checksum.
36-
expectedchecksum = '23ab09ed4abdf93db23b97359108ed630dd8311d'
36+
expectedchecksum = '2cf81cbeaa7cbc8f1ace57dd6c56d1f30f1a2de1'
3737

3838
def test_function_checksum(self):
3939
import unicodedata2

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{37,38,39,310,311,312}, pypy{37,38,39}
2+
envlist = py{38,39,310,311,312,313,314}, pypy{37,38,39}
33
skip_missing_interpreters = true
44

55
[testenv]

unicodedata2/unicodedata_db.h

Lines changed: 1975 additions & 2002 deletions
Large diffs are not rendered by default.

unicodedata2/unicodename_db.h

Lines changed: 31325 additions & 30666 deletions
Large diffs are not rendered by default.

unicodedata2/unicodetype_db.h

Lines changed: 1842 additions & 1968 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)