File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
pythonforandroid/recipes/tiktoken Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff 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 = "bb2d8fd5acd660d60e690769e46cf29b06361343ea30e35613d27d55f44acf9834e51aef28f4ff316ef66f2130042079718cea04b2353301aef334cd7bd6d221"
89 depends = ['regex' , 'requests' ]
910
1011
You can’t perform that action at this time.
0 commit comments