Skip to content

Replace distutils.spawn.find_executable with shutil.which#47

Merged
nicoddemus merged 1 commit intopytest-dev:mainfrom
azaher1126:master
Jul 16, 2025
Merged

Replace distutils.spawn.find_executable with shutil.which#47
nicoddemus merged 1 commit intopytest-dev:mainfrom
azaher1126:master

Conversation

@azaher1126
Copy link
Contributor

@azaher1126 azaher1126 commented Jun 19, 2025

The package distutils is deprecated and caues DeprecationWarnings. Replaced its usage with shutil.which.

Similar to a previous pull request that was closed before being merged: #46


This change is Reviewable

The package distutils is deprecated and caues DeprecationWarnings. Replaced its usage with shutil.which.
@nicoddemus nicoddemus merged commit 15aad15 into pytest-dev:main Jul 16, 2025
7 checks passed
@nicoddemus
Copy link
Member

Thanks @azaher1126!

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