[+] update cli_bootstrap

1. generate requirements with hashes;
This commit is contained in:
Siarhei Siniak 2025-03-12 19:16:28 +03:00
parent c8b6d96b01
commit 9ac87fb3df
2 changed files with 6 additions and 4 deletions

@ -1 +1 @@
Subproject commit 29ffbc8dbd295ffbfe416dc28f5f7e828d78d7b2 Subproject commit 1498aa5e0320bda843f18fdd81b6238a0352e34a

@ -203,12 +203,13 @@ def env_bootstrap(
'uv', 'uv',
'pip', 'pip',
'compile', 'compile',
'--generate-hashes',
*pip_find_links_args, *pip_find_links_args,
'-p', # '-p',
bootstrap_settings.python_path, # bootstrap_settings.python_path,
*bootstrap_settings.uv_args, *bootstrap_settings.uv_args,
'-r', f.name,
'-o', str(requirements_path), '-o', str(requirements_path),
f.name,
]) ])
subprocess.check_call([ subprocess.check_call([
@ -226,6 +227,7 @@ def env_bootstrap(
*pip_find_links_args, *pip_find_links_args,
'-p', '-p',
bootstrap_settings.python_path, bootstrap_settings.python_path,
'--require-hashes',
*bootstrap_settings.uv_args, *bootstrap_settings.uv_args,
'-r', str(requirements_path), '-r', str(requirements_path),
]) ])