Skip to content

Commit c2ec278

Browse files
committed
🐛 Fix rebuild updated recipes
The bug probably got introduced with kivy#3049 Update the tiktoken to demonstrate the fix.
1 parent 2bb2216 commit c2ec278

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ci/rebuild_updated_recipes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def modified_recipes(branch='origin/develop'):
3939
# using the contrib version on purpose rather than sh.git, since it comes
4040
# with a bunch of fixes, e.g. disabled TTY, see:
4141
# https://stackoverflow.com/a/20128598/185510
42-
git_diff = sh.contrib.git.diff('--name-only', branch)
42+
git_diff = sh.contrib.git.diff('--name-only', branch).split("\n")
4343
recipes = set()
4444
for file_path in git_diff:
4545
if 'pythonforandroid/recipes/' in file_path:

pythonforandroid/recipes/tiktoken/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class TiktokenRecipe(RustCompiledComponentsRecipe):
55
name = 'tiktoken'
66
version = '0.7.0'
77
url = 'https://github.com/openai/tiktoken/archive/refs/tags/{version}.tar.gz'
8+
sha512sum = "c8028671aa0525e474f2862608ac2edc879071f96c00777e1f8af8b2d4800c8d"
89
depends = ['regex', 'requests']
910

1011

0 commit comments

Comments
 (0)