-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
support for python 3.8 #11239
Comments
Thanks for submitting the issue. We'll take a look. |
Which casuing this error |
I'm experiencing the same issue on the latest build of Windows 10 Version 10.0.18362 Build 18362 running the newest 64bit version of Python. Error:
|
Downgrading to Python 3.7.5 solved the issued for me. |
From running the bash install script "curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash" |
Here is another issue: #10777 (comment).
It seems to be caused by
|
I am also having trouble with the new python 3.8. Downgraded to python 3.7 for now. Let's hope this is fixed soon. I just want to add that the installation described in the Azure CLI installation docs doesn't work either because of the error mentioned previously.
|
As a workaround, i created a little shell script at #!/usr/bin/env bash
set -eu
command="$@"
docker run --rm --volume $HOME/.azure:/root/.azure mcr.microsoft.com/azure-cli az $command This assumes that there's That way you don't have to mangle your python installation and can still use the az CLI |
The 'platform.linux_distribution' is used extensively throughout most scripts. |
StackOverflow seem to suggest the distro project, which seems maintained. @fengzhou-msft - is it okay to add this package as a dependency? If so, I may find some time to work on this. |
@r-darwish There's already a PR for it: #11229. But it needs some fix. |
) * Fix #11239 , `platform.linux_distribution()` deprecation problem in Python 3.8 * Add SLES (SUSE Linux Enterprise Server) support * Fix PEP8 code style error
Hey, guys. The bug should be fixed now. |
ansible[azure] 2.9.20 depends on azure-cli-core==2.0.35; extra == "azure" Too many moving parts lately, ansible 2.9 is finally stable. |
@bbaassssiiee, are you seeing any issue with Azure CLI? If it is related to ansible, could you open an issue at https://github.com/ansible/ansible/issues? |
There will be no bugfixes on Ansible 2.9, only security-fixes. Workaround is to use python37 for Azure. |
I'm having same issue, I can not downgrade to python3.7 because it does not support apple silicon, this is the error I'm having when I'm trying to get te logs form some resource: Command: Message it throws: |
Is your feature request related to a problem? Please describe.
Unable to install Azure CLI on Arch Linux due to the CLI not supporting python 3.8. Some APIs that the CLI relies on were deprecated and removed in python 3.8.
Examples of deprecated APIs that I'm hitting:
and:
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: