We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
As pointed out by Azure/azure-cli-extensions#2987 (comment), distutils.version.LooseVersion is legacy and conformant only to the superseded PEP 386 (by PEP 440).
distutils.version.LooseVersion
In edge build, the version is 2.20.0.post20210302071300, which causes a failure at
2.20.0.post20210302071300
azure-cli/src/azure-cli-core/azure/cli/core/util.py
Line 1179 in b2c8e71
'<' not supported between instances of 'int' and 'str'
because post is not a supported versioning convention of distutils.version.LooseVersion.
post
Describe the solution you'd like
We should migrate to packaging.version.Version.
packaging.version.Version
The text was updated successfully, but these errors were encountered:
distutils related issue
Sorry, something went wrong.
Azure#17170
5e13cad
Replace distutils.version.LooseVersion with packaging.version.Version
3db6fdf
{core} Fix #17170: Replace distutils.version.LooseVersion with packag…
3d14ca2
…ing.version.parse (#17667)
Jing-song
fengzhou-msft
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
As pointed out by Azure/azure-cli-extensions#2987 (comment),
distutils.version.LooseVersion
is legacy and conformant only to the superseded PEP 386 (by PEP 440).In edge build, the version is
2.20.0.post20210302071300
, which causes a failure atazure-cli/src/azure-cli-core/azure/cli/core/util.py
Line 1179 in b2c8e71
because
post
is not a supported versioning convention ofdistutils.version.LooseVersion
.Describe the solution you'd like
We should migrate to
packaging.version.Version
.The text was updated successfully, but these errors were encountered: