Repository navigation
Replace additional use of which(1) with shutil.which() - #355
Merged
Merged
Conversation
Replace the remaining use of external `which(1)` tool with `shutil.which()` from the standard Python library, finally removing the dependency on a third party package. This is a followup to 1024f4f.
Owner
|
Hey! Thanks for the patch! |
Contributor
Author
|
What kind of test? |
Owner
|
Unit test. |
Contributor
Author
|
|
ssbarnea
approved these changes
Nov 2, 2024
ssbarnea
left a comment
Contributor
There was a problem hiding this comment.
That is indeed a very good fix, which is not installed by default on all platforms and native python implementation is well tested. Not an uncommon mistake to see in python projects.
Owner
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the remaining use of external
which(1)tool withshutil.which()from the standard Python library, finally removing the dependency on a third party package.This is a followup to 1024f4f.