Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Unicode 12.0.0 #27

Merged
merged 1 commit into from
May 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

## 12.0.0
- Upgrade to unicode 12.0.0

## 11.0.0
- Upgrade to unicode 11.0.0
- Remove Python 3.3 support as wheel no longer supports Python 3.3.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ unicodedata2

unicodedata backport/updates to python 3 and python 2.

The versions of this package match unicode versions, so unicodedata2==11.0.0 is data from unicode 11.0.0.
The versions of this package match unicode versions, so unicodedata2==12.0.0 is data from unicode 12.0.0.
Additionally this backports support for named aliases and named sequences to python2.
2 changes: 1 addition & 1 deletion makeunicodedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
VERSION = "3.3"

# The Unicode Database
UNIDATA_VERSION = "11.0.0"
UNIDATA_VERSION = "12.0.0"
UNICODE_DATA = "UnicodeData%s.txt"
COMPOSITION_EXCLUSIONS = "CompositionExclusions%s.txt"
EASTASIAN_WIDTH = "EastAsianWidth%s.txt"
Expand Down
2 changes: 1 addition & 1 deletion makeunicodedata3.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# * Doc/library/stdtypes.rst, and
# * Doc/library/unicodedata.rst
# * Doc/reference/lexical_analysis.rst (two occurrences)
UNIDATA_VERSION = "11.0.0"
UNIDATA_VERSION = "12.0.0"
UNICODE_DATA = "UnicodeData%s.txt"
COMPOSITION_EXCLUSIONS = "CompositionExclusions%s.txt"
EASTASIAN_WIDTH = "EastAsianWidth%s.txt"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
)

setup (name = "unicodedata2",
version = "11.0.0",
version = "12.0.0",
description = "Unicodedata backport for python 2/3 updated to the latest unicode version.",
ext_modules = [module1],
author="Mike Kaplinskiy",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unicodedata2.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class UnicodeFunctionsTest(UnicodeDatabaseTest):

# Update this if the database changes. Make sure to do a full rebuild
# (e.g. 'make distclean && make') to get the correct checksum.
expectedchecksum = '4f73278b19c2ec3099724c132f0b90a1d25c19e4'
expectedchecksum = '4cb02a243aed7c251067386dd738189146fddf94'
def test_function_checksum(self):
data = []
h = hashlib.sha1()
Expand Down
2,533 changes: 1,307 additions & 1,226 deletions unicodedata2/py2/unicodedata_db.h

Large diffs are not rendered by default.

51,475 changes: 26,070 additions & 25,405 deletions unicodedata2/py2/unicodename_db.h

Large diffs are not rendered by default.

1,979 changes: 1,067 additions & 912 deletions unicodedata2/py2/unicodetype_db.h

Large diffs are not rendered by default.

2,533 changes: 1,307 additions & 1,226 deletions unicodedata2/py3/unicodedata_db.h

Large diffs are not rendered by default.

51,475 changes: 26,070 additions & 25,405 deletions unicodedata2/py3/unicodename_db.h

Large diffs are not rendered by default.

1,979 changes: 1,067 additions & 912 deletions unicodedata2/py3/unicodetype_db.h

Large diffs are not rendered by default.