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

use shutil.which instead of distutils.spawn.find_executable #13164

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

michaelkedar
Copy link
Member

distutils is deprecated and removed in Python 3.12 (this has broken osv.dev).
The migration advice says to replace distutils.spawn.find_executable with shutil.which.

distutils.dir_util.copy_tree is still used in infra/cifuzz/filestore/filesystem, but I'm not sure what the correct replacement for that is.

Copy link
Collaborator

@oliverchang oliverchang left a comment

Choose a reason for hiding this comment

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

thanks!

@oliverchang
Copy link
Collaborator

/gcbrun skip

@oliverchang oliverchang merged commit 88e2b76 into google:master Mar 26, 2025
19 checks passed
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.

None yet

2 participants