File tree 2 files changed +2
-1
lines changed
pythonforandroid/recipes/tiktoken
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'):
39
39
# using the contrib version on purpose rather than sh.git, since it comes
40
40
# with a bunch of fixes, e.g. disabled TTY, see:
41
41
# 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 " )
43
43
recipes = set ()
44
44
for file_path in git_diff :
45
45
if 'pythonforandroid/recipes/' in file_path :
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ class TiktokenRecipe(RustCompiledComponentsRecipe):
5
5
name = 'tiktoken'
6
6
version = '0.7.0'
7
7
url = 'https://github.com/openai/tiktoken/archive/refs/tags/{version}.tar.gz'
8
+ sha512sum = "bb2d8fd5acd660d60e690769e46cf29b06361343ea30e35613d27d55f44acf9834e51aef28f4ff316ef66f2130042079718cea04b2353301aef334cd7bd6d221"
8
9
depends = ['regex' , 'requests' ]
9
10
10
11
You can’t perform that action at this time.
0 commit comments