Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 3f33cbf

Browse files
chore(deps): update dependency emoji to v2 (#511)
* chore(deps): update dependency emoji to v2 * fix usage Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Steven Loria <[email protected]>
1 parent 41a5734 commit 3f33cbf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/cuteid/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
with (HERE / "animals.json").open("r") as fp:
1212
_animals = json.load(fp)
1313

14-
_emoji = tuple(emoji.EMOJI_UNICODE_ENGLISH.values()) # type: ignore[attr-defined]
14+
_emoji = tuple(emoji.unicode_codes.get_emoji_unicode_dict("en").values()) # type: ignore[attr-defined]
1515

1616

1717
def cuteid():

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ aiohttp==3.7.4.post0
66
aiohttp-cors==0.7.0
77
pyyaml==6.0
88
python-slugify==6.1.2
9-
emoji==1.7.0
9+
emoji==2.1.0
1010
dateparser==1.1.1
1111
nameparser==1.1.1
1212
nanoid==2.0.0
@@ -19,7 +19,7 @@ PyYAML==6.0
1919
# meetings
2020
python-slugify==6.1.2
2121
# cuteid
22-
emoji==1.7.0
22+
emoji==2.1.0
2323
# database
2424
databases[postgresql]==0.4.3
2525
SQLAlchemy==1.3.23

0 commit comments

Comments
 (0)