From 9ac87fb3df117aaf13e7bbb5057cef70a652381f Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Wed, 12 Mar 2025 19:16:28 +0300 Subject: [PATCH] [+] update cli_bootstrap 1. generate requirements with hashes; --- deps/com.github.aiortc.aiortc | 2 +- .../online/fxreader/pr34/commands_typed/cli_bootstrap.py | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/deps/com.github.aiortc.aiortc b/deps/com.github.aiortc.aiortc index 29ffbc8..1498aa5 160000 --- a/deps/com.github.aiortc.aiortc +++ b/deps/com.github.aiortc.aiortc @@ -1 +1 @@ -Subproject commit 29ffbc8dbd295ffbfe416dc28f5f7e828d78d7b2 +Subproject commit 1498aa5e0320bda843f18fdd81b6238a0352e34a diff --git a/python/online/fxreader/pr34/commands_typed/cli_bootstrap.py b/python/online/fxreader/pr34/commands_typed/cli_bootstrap.py index 80189b9..2190123 100644 --- a/python/online/fxreader/pr34/commands_typed/cli_bootstrap.py +++ b/python/online/fxreader/pr34/commands_typed/cli_bootstrap.py @@ -203,12 +203,13 @@ def env_bootstrap( 'uv', 'pip', 'compile', + '--generate-hashes', *pip_find_links_args, - '-p', - bootstrap_settings.python_path, + # '-p', + # bootstrap_settings.python_path, *bootstrap_settings.uv_args, - '-r', f.name, '-o', str(requirements_path), + f.name, ]) subprocess.check_call([ @@ -226,6 +227,7 @@ def env_bootstrap( *pip_find_links_args, '-p', bootstrap_settings.python_path, + '--require-hashes', *bootstrap_settings.uv_args, '-r', str(requirements_path), ])