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

{Packaging} Allow installation on Python 3.10 #19870

Merged
merged 1 commit into from
Oct 13, 2021
Merged

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Oct 13, 2021

Description

A quick fix for #19857.

As Python 3.10 is now the default version when downloading Python (https://www.python.org/downloads/), we need to make Azure CLI compatible with Python 3.10. Otherwise, the beta installation with pip as documented in https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-beta will fail with:

ERROR: Could not find a version that satisfies the requirement pywin32==300 (from versions: 302)
ERROR: No matching distribution found for pywin32==300

⚠ There are actually much more tasks to do before Python 3.10 is fully supported. Given the inherent complexity of supporting new Python versions, this is only a quick fix to allow Azure CLI to be installed on Python 3.10. No tests or linter checks are introduced so far.

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 13, 2021

Packaging

@jiasli jiasli merged commit 5540253 into Azure:dev Oct 13, 2021
@jiasli jiasli deleted the py310 branch October 13, 2021 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants