Skip to content

{CI} Use Python 3.10 as the default and disable Python 3.9 tests - #20287

Merged
jiasli merged 2 commits into
Azure:devfrom
jiasli:py39
Nov 11, 2021
Merged

{CI} Use Python 3.10 as the default and disable Python 3.9 tests#20287
jiasli merged 2 commits into
Azure:devfrom
jiasli:py39

Conversation

@jiasli

@jiasli jiasli commented Nov 11, 2021

Copy link
Copy Markdown
Contributor

Description

Python 3.9.8 introduced an unexpected breaking change (python/cpython#28420) that breaks Azure CLI:

According to https://bugs.python.org/issue45235, this change will be reverted on 3.9 and withdrawn from future releases for other version like 3.7, 3.8, 3.10.

Azure Pipeline now only has Python 3.9.8, but not old versions like 3.9.7:

Even if Python releases 3.9.9 which reverts this change, it will take Azure Pipeline weeks to take that version.

To unblock our development and PRs from being merged, we have to use Python 3.10 as the default (thanks to the timely support for Python 3.10 (#19857)) and disable Python 3.9 tests.

@yonzhan yonzhan added this to the Nov 2021 (2021-12-07) milestone Nov 11, 2021
@yonzhan

yonzhan commented Nov 11, 2021

Copy link
Copy Markdown
Collaborator

CI

@jiasli
jiasli merged commit 1bb0dfb into Azure:dev Nov 11, 2021
@jiasli
jiasli deleted the py39 branch November 11, 2021 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants