Skip to content

Conversation

@ptoscano
Copy link
Contributor

@ptoscano ptoscano commented Dec 3, 2021

Python 3.3 provides shutil.which(); since our required Python version is 3.6, then:

  • switch all the usages of our custom which() to shutil.which()
  • drop the custom which() and the tests for it

There should be no behaviour change, as shutil.which() does the right thing.

@cnsnyder cnsnyder requested review from a team and cnsnyder and removed request for a team December 3, 2021 17:27
@ptoscano ptoscano force-pushed the ptoscano/drop-custom-which branch from 11b3a32 to 35a15c3 Compare December 3, 2021 17:37
Python 3.3 provides it, so switch to it since the required Python
version is 3.6.
It is no more used now, so drop it along with its tests.
@ptoscano ptoscano force-pushed the ptoscano/drop-custom-which branch from 35a15c3 to 39e1763 Compare December 3, 2021 21:24
@jirihnidek jirihnidek self-assigned this Dec 6, 2021
Copy link
Contributor

@jirihnidek jirihnidek left a comment

Choose a reason for hiding this comment

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

LGTM

@jirihnidek jirihnidek merged commit e84b95b into main Dec 6, 2021
@jirihnidek jirihnidek deleted the ptoscano/drop-custom-which branch December 6, 2021 10:13
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.

2 participants