Skip to content
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

Merged
merged 4 commits into from
Aug 10, 2023

Conversation

christopherbunn
Copy link
Contributor

@christopherbunn christopherbunn commented Aug 10, 2023

Fixes issue with our automated dependency checker where we are including any package with post in the name/version number.

Resolves #4269

@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

Merging #4268 (05f30a5) into main (8d7e235) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main   #4268   +/-   ##
=====================================
  Coverage   99.7%   99.7%           
=====================================
  Files        355     355           
  Lines      38915   38915           
=====================================
  Hits       38794   38794           
  Misses       121     121           

@@ -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 -)
Copy link
Contributor Author

@christopherbunn christopherbunn Aug 10, 2023

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

Copy link
Contributor

@eccabay eccabay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 🙏

@christopherbunn christopherbunn merged commit b573631 into main Aug 10, 2023
24 checks passed
@christopherbunn christopherbunn deleted the fix_deps_checker branch August 10, 2023 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automated dependency checker includes any package that includes post in version name
3 participants