Skip to content

Commit

Permalink
🐛 Fix rebuild updated recipes
Browse files Browse the repository at this point in the history
The bug probably got introduced with kivy#3049
Update the tiktoken to demonstrate the fix.
  • Loading branch information
AndreMiras committed Aug 20, 2024
1 parent 2bb2216 commit c2ec278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/rebuild_updated_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def modified_recipes(branch='origin/develop'):
# using the contrib version on purpose rather than sh.git, since it comes
# with a bunch of fixes, e.g. disabled TTY, see:
# https://stackoverflow.com/a/20128598/185510
git_diff = sh.contrib.git.diff('--name-only', branch)
git_diff = sh.contrib.git.diff('--name-only', branch).split("\n")
recipes = set()
for file_path in git_diff:
if 'pythonforandroid/recipes/' in file_path:
Expand Down
1 change: 1 addition & 0 deletions pythonforandroid/recipes/tiktoken/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class TiktokenRecipe(RustCompiledComponentsRecipe):
name = 'tiktoken'
version = '0.7.0'
url = 'https://github.com/openai/tiktoken/archive/refs/tags/{version}.tar.gz'
sha512sum = "c8028671aa0525e474f2862608ac2edc879071f96c00777e1f8af8b2d4800c8d"
depends = ['regex', 'requests']


Expand Down

0 comments on commit c2ec278

Please sign in to comment.