diff --git a/cmake/scripts/codegen/requirements.txt b/cmake/scripts/codegen/requirements.txt index a10406e9fc..ca5667dcff 100644 --- a/cmake/scripts/codegen/requirements.txt +++ b/cmake/scripts/codegen/requirements.txt @@ -3,13 +3,16 @@ # These packages are required to run the code generation scripts that # parse macro files and generate C++ wrapper classes. # -# To update a package to the latest version (hashin will update the -# version and hashes in this file automatically): +# To update a package to the latest version (hashin will rewrite the +# entry in this file with the new version and hashes): # pip install hashin # hashin cmake/scripts/codegen/requirements.txt # Or to pin a specific version: # hashin == cmake/scripts/codegen/requirements.txt # +# Then install the updated packages: +# pip install --require-hashes -r cmake/scripts/codegen/requirements.txt +# # If pip install fails because a transitive dependency is missing hashes, # use hashin to pin that dependency with hashes here as well: # hashin cmake/scripts/codegen/requirements.txt