Skip to content

Commit

Permalink
remove pkg_resources in run_generate_requirements.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNeuralBit committed Nov 17, 2021
1 parent 5656e26 commit 99f489f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdks/python/container/run_generate_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,7 @@ cat <<EOT > $REQUIREMENTS_FILE
# Reach out to a committer if you need help.
EOT
pip freeze >> $REQUIREMENTS_FILE
# Remove pkg_resources to guard against
# https://stackoverflow.com/questions/39577984/what-is-pkg-resources-0-0-0-in-output-of-pip-freeze-command
pip freeze | grep -v pkg_resources >> $REQUIREMENTS_FILE
rm -rf $ENV_PATH

0 comments on commit 99f489f

Please sign in to comment.