Skip to content

Commit

Permalink
Fix procedure for python dependency updates (#1059)
Browse files Browse the repository at this point in the history
Our current python dependency update command doesn't update the requirements.txt file when the file has contents.
Removing the contents allows for the it to be written with updated dependencies. 

Signed-off-by: chipmunkie <[email protected]>
  • Loading branch information
chipmunkie authored Jan 8, 2024
1 parent f72f7bd commit 6171d82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/root/updating_envoy_dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,12 @@ These should always be accompanied with a comment explaining them. Avoid using
First attempt to remove all existing pins in
[tools/base/requirements.in](/tools/base/requirements.in) to see if they are
still necessary. Once done editing
[tools/base/requirements.in](/tools/base/requirements.in), update the
[tools/base/requirements.in](/tools/base/requirements.in), delete the contents
of [tools/base/requirements.txt](/tools/base/requirements.txt) and update the
dependencies by running:

```bash
echo > tools/base/requirements.txt
bazel run //tools/base:requirements.update
```

Expand Down

0 comments on commit 6171d82

Please sign in to comment.