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

DeprecationWarning due to distutils #2603

Merged
merged 3 commits into from
Sep 13, 2024
Merged

Conversation

komoto48g
Copy link
Contributor

Fixes #2577

Seems no DeprecationWarning due to distutils for now.

https://docs.python.org/3/library/subprocess.html#popen-constructor
> Changed in version 3.2: Added context manager support.
> Changed in version 3.6: Popen destructor now emits a ResourceWarning warning if the child process is still running.
@swt2c
Copy link
Collaborator

swt2c commented Sep 6, 2024

Thanks for the PR! One thing - setuptools.modified was introduced somewhat recently. Should we either:

  1. try importing setuptools.modified and fall back to distutils if ImportError
  2. Update our setuptools requirement to ensure we have the version with setuptools.modified

I would lean towards #1 because it would enable us to support more setuptools versions.

@komoto48g
Copy link
Contributor Author

Sorry for the late reply. Following the instruction 1, I modified the import statements.

By the way, #1 is mistakenly linked to the very first PR.

@swt2c swt2c merged commit 99d1749 into wxWidgets:master Sep 13, 2024
29 checks passed
@komoto48g komoto48g deleted the py312-warn branch October 12, 2024 07:17
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.

Warnings in the build process
2 participants