-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix deps checker including any package with post
in the name
#4268
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4268 +/- ##
=====================================
Coverage 99.7% 99.7%
=====================================
Files 355 355
Lines 38915 38915
=====================================
Hits 38794 38794
Misses 121 121 |
evalml/tests/dependency_update_check/latest_dependency_versions.txt
Outdated
Show resolved
Hide resolved
@@ -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_\-]*" | paste -d "|" -s -) | |||
allow_list=$(echo ${reqs_list} | grep -oE "[a-zA-Z]+[a-zA-Z_\-]*" | grep -v "post" | tr "_" "-" | paste -d "|" -s -) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added tr
to replace underscores with hyphens since pip does that automatically apparently
c88e7dd
to
853d92d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 🙏
Fixes issue with our automated dependency checker where we are including any package with
post
in the name/version number.Resolves #4269