-
Notifications
You must be signed in to change notification settings - Fork 409
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
Azure-cli feature is broken for Python 3.12 as the distutils module is removed #899
Comments
Hi 👋 Thanks for reporting this issue, I was able to reproduce as well. Ideally, the Azure CLI team should fix it when one installs However, we can still fix it on our end if we avoid using
@gauravsaini04 / @prathameshzarkar9 Can you use my suggestion and help fix the issue? |
I guess it is known: Azure/azure-cli#27673 There is a statement over there:
|
Have added the possible fix in pr #909 |
PR was merged |
How to reproduce?
Setup in a fresh VSCode environment a new DevContainer setup ... e.g., using the wizzard. Select Python on Debian Bookworm, add azure-cli feature. This results in the following devcontainer setup:
Re-opening VSCode in the container works fine, installation of the feature succeeds. However, the
azure-cli
does not work at the command line due to the missingdistutils
package, which is removed in Python 3.12:The text was updated successfully, but these errors were encountered: