Skip to content

Commit 820374d

Browse files
committed
Update to Unicode 17.0.0
1 parent 1f0af97 commit 820374d

6 files changed

Lines changed: 35148 additions & 34641 deletions

File tree

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

0 commit comments

Comments
 (0)