Skip to content

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

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

Merged
merged 1 commit into from
Jun 18, 2025

Conversation

dave-v
Copy link
Contributor

@dave-v dave-v commented Oct 2, 2024

The distutils module is deprecated since Python 3.10 and has been removed in Python 3.12.


Hi, we've had to use a fork to bring support for Python 3.12. As far as I can tell shutil.which is a drop-in replacement and a bunch of other libraries have made this same update. This change seems to be working fine for us.

The `distutils` module is deprecated since Python 3.10
and has been removed in Python 3.12.
@initialed85 initialed85 self-requested a review June 18, 2025 01:36
Copy link
Contributor

@initialed85 initialed85 left a comment

Choose a reason for hiding this comment

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

Sorry it took me so long to notice this PR mate

Thanks for the contribution, appreciate it!

I'll merge this in and get a release out

@initialed85 initialed85 merged commit 9ef3108 into ftpsolutions:master Jun 18, 2025
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