Skip to content

Commit

Permalink
fix attempt 2 make_deps_diff
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelFu512 committed May 16, 2024
1 parent 03526fb commit 3def0d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evalml/tests/dependency_update_check/make_deps_diff.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
reqs_list=$(python -c "import os; from evalml.utils import get_evalml_pip_requirements; print('\n'.join(get_evalml_pip_requirements(os.getcwd())))")
allow_list=$(echo ${reqs_list} | grep -oE "[a-zA-Z]+[a-zA-Z_\-]*" | grep -v "post" | paste -d "|" -s -)
allow_list=$(echo ${reqs_list} | grep -oE "[a-zA-Z]+[a-zA-Z_\-]*" | grep -v "post" | tr "_" "-" | paste -d "|" -s -)
echo "Allow list: ${allow_list}"
pip freeze | grep -v "evalml.git" | grep -E "${allow_list}" > "${DEPENDENCY_FILE_PATH}"
(pip freeze | grep -v "evalml.git") | tr "_" "-" | grep -E "${allow_list}" > "${DEPENDENCY_FILE_PATH}"

0 comments on commit 3def0d4

Please sign in to comment.