-
Notifications
You must be signed in to change notification settings - Fork 93
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
Plan for distutils
removal in Python 3.12
#108
Comments
disutils
removal in Python 3.12distutils
removal in Python 3.12
Another shortcoming of the python detector is that it does not respect pep517 build dependencies. Which means that this code will fail if the user imports something not in the current environment. This is made worse by the fact that this error is silent see #242 Having direct support for declarative specifications of dependencies as in #243 would help making this less of an issue |
Are there any news on this. Release candidate 1 of python 3.12 is out and the release of 3.12.0 is expected for Oktober. |
We are preparing the new pip installation report detector for validation on our next release. It is not an experimental detector! |
The
distutils
module in Python was deprecated in Python 3.101 and is planned to be removed entirely in Python 3.12. Our Python detector is currently based arounddistutils
2. Python 3.12 is due to be released in October 20233.There are some suggested migration paths in the release notes for Python 3.101.
AB#2095297
Footnotes
https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated ↩ ↩2
https://github.com/microsoft/component-detection/blob/2d5a418320e23f019f67b59e191ac72b5f8d9666/docs/detectors/pip.md#detection-strategy ↩
https://peps.python.org/pep-0602/ ↩
The text was updated successfully, but these errors were encountered: