Skip to content

Drop support for Python 2 in azure-cli #11362

@rodrigc

Description

@rodrigc

Is your feature request related to a problem? Please describe.
Certain new features of azure-cli and its extensions are using Python-3 only features, causing problems on Python-2, such as #11206 .

Since the Python project is dropping support for Python 2 in 2020: https://pythonclock.org/

At some point azure-cli should probably drop support for Python 2 as well,
since maintaining code which can work perfectly on Python 2 and Python 3 is a maintenance burden.

Describe the solution you'd like
Drop support for Python-2 in azure-cli, and error out if you try to install azure-cli with Python-2.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions