Please port to Python3.12 #28194
Labels
Auto-Resolve
Auto resolve by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Describe the bug
The test suite does not pass when using Python3.12 as it is reported in a Debian bug report. It results in
While fixing the
assertNotEquals
can be easily fixed with this patchassertDictContainsSubset
is not supported any more as you can read in the Python3.12 documentation.(BTW, the patch is against the Debian packaged version 2.50.0 so not the latest release but it should be pretty easy to adapt sind the replacement is simple.)
Related command
Simply run the test suite under Python3.12.
Errors
Issue script & Debug output
See above
Expected behavior
The unittest should be passed when using Python3.12.
Environment Summary
azure-cli 2.50.0
Additional context
No response
The text was updated successfully, but these errors were encountered: