Main goal with the PR is to have an internal azure.core mapping in sys.modules that is instantiated with respect to IoT extension dependency versions rather than whatever comes with az cli. It is applied as shown in the ADU SDK _serialization , where the [De]serializationErrors did not exist in azure.core.exceptions of the packaged Az CLI 2.31.0 -- the flow attempts to import the required attributes as usual, where if that fails, the internal namespace is used to fulfill the needed attributes.
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Intent for Production
[x] It is expected that pull requests made to default or core branches such as dev or main are of production grade. Corollary to this, any merged contributions to these branches may be deployed in a public release at any given time. By checking this box, you agree and commit to the expected production quality of code.
Basic expectations
[x] If introducing new functionality or modified behavior, are they backed by unit and/or integration tests?
[x] In the same context as above are command names and their parameter definitions accurate? Do help docs have sufficient content?
[x] Have all the relevant unit and integration tests pass? i.e. pytest <project root> -vv. Please provide evidence in the form of a screenshot showing a succesful run of tests locally OR a link to a test pipeline that has been run against the change-set.
[x] Have linter checks passed using the .pylintrc and .flake8 rules? Look at the CI scripts for example usage.
[x] Have extraneous print or debug statements, commented out code-blocks or code-statements (if any) been removed from the surface area of changes?
[x] Have you made an entry in HISTORY.rst which concisely explains your user-facing feature or change?
Azure IoT CLI maintainers reserve the right to enforce any of the outlined expectations.
A PR is considered ready for review when all basic expectations have been met (or do not apply).
Main goal with the PR is to have an internal
azure.core
mapping in sys.modules that is instantiated with respect to IoT extension dependency versions rather than whatever comes with az cli. It is applied as shown in the ADU SDK _serialization , where the [De]serializationErrors did not exist inazure.core.exceptions
of the packaged Az CLI2.31.0
-- the flow attempts to import the required attributes as usual, where if that fails, the internal namespace is used to fulfill the needed attributes.This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Thank you for contributing to the IoT extension!
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Intent for Production
dev
ormain
are of production grade. Corollary to this, any merged contributions to these branches may be deployed in a public release at any given time. By checking this box, you agree and commit to the expected production quality of code.Basic expectations
pytest <project root> -vv
. Please provide evidence in the form of a screenshot showing a succesful run of tests locally OR a link to a test pipeline that has been run against the change-set..pylintrc
and.flake8
rules? Look at the CI scripts for example usage.Azure IoT CLI maintainers reserve the right to enforce any of the outlined expectations.
A PR is considered ready for review when all basic expectations have been met (or do not apply).
https://dev.azure.com/azureiotdevxp/aziotcli/_build/results?buildId=6682&view=results