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

Linux install script not working with Python 3.10 #20713

Closed
pallxk opened this issue Dec 13, 2021 · 2 comments
Closed

Linux install script not working with Python 3.10 #20713

pallxk opened this issue Dec 13, 2021 · 2 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Packaging/Pip question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@pallxk
Copy link
Contributor

pallxk commented Dec 13, 2021

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

The install script https://aka.ms/InstallAzureCli does not work with python >= 3.10

To Reproduce

docker run --rm -it python:3.10 bash

curl -L https://aka.ms/InstallAzureCli | bash

Expected behavior

It installs.

Environment summary

root@d4a94dc7ef92:/# python --version
Python 3.10.1
root@d4a94dc7ef92:/# pip --version
pip 21.2.4 from /usr/local/lib/python3.10/site-packages/pip (python 3.10)

Additional context

https://github.com/Azure/azure-cli/blob/azure-cli-2.31.0/scripts/curl_install_pypi/install.py#L44-L47

pypa/virtualenv#2109

https://virtualenv.pypa.io/en/legacy/changes.html#v16-7-11-2021-07-20

Virutalenv is fixed to 16.7.7, it seems we need at least 16.7.11

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Dec 13, 2021
@jiasli jiasli self-assigned this Dec 14, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Dec 14, 2021
@jiasli
Copy link
Member

jiasli commented Dec 14, 2021

Thanks for the contribution. I will take a look.

@pallxk
Copy link
Contributor Author

pallxk commented Mar 2, 2022

Fixed in 2.32.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Packaging/Pip question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

2 participants