diff --git a/ci/rebuild_updated_recipes.py b/ci/rebuild_updated_recipes.py index a1ca96681d..26cba3bc7e 100755 --- a/ci/rebuild_updated_recipes.py +++ b/ci/rebuild_updated_recipes.py @@ -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: diff --git a/pythonforandroid/recipes/tiktoken/__init__.py b/pythonforandroid/recipes/tiktoken/__init__.py index 1c5407054e..5e2a9a7243 100644 --- a/pythonforandroid/recipes/tiktoken/__init__.py +++ b/pythonforandroid/recipes/tiktoken/__init__.py @@ -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 = "bb2d8fd5acd660d60e690769e46cf29b06361343ea30e35613d27d55f44acf9834e51aef28f4ff316ef66f2130042079718cea04b2353301aef334cd7bd6d221" depends = ['regex', 'requests']