Skip to content

Commit

Permalink
Merge pull request #64 from fonttools/unicode-16
Browse files Browse the repository at this point in the history
Update to Unicode 16.0.0
  • Loading branch information
khaledhosny authored Jan 11, 2025
2 parents d924b53 + bf618af commit 1f0af97
Show file tree
Hide file tree
Showing 7 changed files with 40,803 additions and 33,843 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ jobs:
- os: windows-latest
arch: x86
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python 3.x
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: pip install cibuildwheel
- name: Build and Test Wheels
run: python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: unicodedata2-${{ matrix.os }}-${{ matrix.arch }}
path: wheelhouse/*.whl
Expand All @@ -60,17 +60,17 @@ jobs:
CIBW_BUILD: cp${{ matrix.python }}-*
CIBW_ARCHS: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: docker/setup-qemu-action@v1.2.0
- uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Install dependencies
run: pip install cibuildwheel
- name: Build and Test Wheels
run: python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: unicodedata2-${{ matrix.python }}-linux-${{ matrix.arch }}
path: wheelhouse/*.whl
Expand All @@ -82,19 +82,19 @@ jobs:
needs: [build_wheels, build_aarch64_wheels]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade setuptools wheel twine
- name: Download artifacts from build jobs
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: wheelhouse/
- name: Move wheels to dist/ directory
Expand Down
2 changes: 1 addition & 1 deletion makeunicodedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
# * Doc/library/stdtypes.rst, and
# * Doc/library/unicodedata.rst
# * Doc/reference/lexical_analysis.rst (two occurrences)
UNIDATA_VERSION = "15.1.0"
UNIDATA_VERSION = "16.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 @@ -26,7 +26,7 @@

setup(
name="unicodedata2",
version="15.1.0",
version="16.0.0",
description="Unicodedata backport updated to the latest Unicode version.",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unicodedata2.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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 = '232affd2a50ec4bd69d2482aa0291385cbdefaba'
expectedchecksum = '23ab09ed4abdf93db23b97359108ed630dd8311d'

def test_function_checksum(self):
import unicodedata2
Expand Down
4,665 changes: 2,445 additions & 2,220 deletions unicodedata2/unicodedata_db.h

Large diffs are not rendered by default.

64,918 changes: 35,679 additions & 29,239 deletions unicodedata2/unicodename_db.h

Large diffs are not rendered by default.

5,039 changes: 2,667 additions & 2,372 deletions unicodedata2/unicodetype_db.h

Large diffs are not rendered by default.

0 comments on commit 1f0af97

Please sign in to comment.