Skip to content

Commit

Permalink
Merge pull request #284 from cvzi/unicode15-1
Browse files Browse the repository at this point in the history
Update to Unicode 15.1
  • Loading branch information
TahirJalilov committed Mar 26, 2024
2 parents 645331c + 3fb2d13 commit 75bee45
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypipublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -26,4 +26,4 @@ jobs:
run: |
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.6
uses: pypa/gh-action-pypi-publish@v1.8.14
2 changes: 1 addition & 1 deletion .github/workflows/updateGithubPages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
python-version: '3.12'
- name: Install package
run: |
python -m pip install --upgrade pip setuptools
Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sphinx>=5.2.2
alabaster>=0.7.12
sphinx>=7.2.6
alabaster>=0.7.16
4 changes: 3 additions & 1 deletion emoji/unicode_codes/data_dict.py

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions utils/get_codes_from_unicode_emoji_data_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,11 @@ def ascii(s):
logging.info(' Downloading...\n')

# Find the latest version at https://www.unicode.org/reports/tr51/#emoji_data
emoji_source = get_emoji_from_url(15.0)
emoji_sequences_source = get_emoji_variation_sequence_from_url('15.0.0')
emoji_source = get_emoji_from_url(15.1)
emoji_sequences_source = get_emoji_variation_sequence_from_url('15.1.0')
emojis = extract_emojis(emoji_source, emoji_sequences_source)
# Find latest release tag at https://cldr.unicode.org/index/downloads
github_tag = 'release-43-1'
github_tag = 'release-44-1'

languages = {
# Update names in other languages:
Expand Down Expand Up @@ -534,6 +534,9 @@ def ascii(s):
# 'fa': get_UNICODE_EMOJI('fa'),
# 'id': get_UNICODE_EMOJI('id'),
# 'zh': get_UNICODE_EMOJI('zh'),
# 'ru': get_UNICODE_EMOJI('ru'),
# 'tr': get_UNICODE_EMOJI('tr'),
# 'ar': get_UNICODE_EMOJI('ar'),
}

github_alias_dict = get_emoji_from_github_api('https://api.github.com/emojis')
Expand Down
2 changes: 1 addition & 1 deletion utils/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
requests>=2.31.0
beautifulsoup4>=4.12.2
beautifulsoup4>=4.12.3

0 comments on commit 75bee45

Please sign in to comment.