We use azure-devtools to enable resource creation from our live tests.
In the written tests, this boils down to inheriting from AzureMgmtTestCase and then populating some preparer attributes.
The newest release of azure-mgmt-resource requires azure-core>=1.7.0;<2.0.0.
If we install a version of azure-core earlier than this. We face build errors that look like this. The resource_testcase imports ARMPipelineClient from azure-mgmt-resource and fails due to the non-presence of expected pipeline policy in azure-core.
This is only problem when it comes to checking mindependency of our other packages! The minimum defined version of azure-core for azure-appconfiguration is 1.2.0. The entire point of this check is to ensure that the current version of azure-appconfiguration works with the latest and minimum version of azure-core that's up on pypi, and that won't be possible!
We use
azure-devtoolsto enable resource creation from our live tests.In the written tests, this boils down to inheriting from
AzureMgmtTestCaseand then populating somepreparerattributes.The newest release of
azure-mgmt-resourcerequiresazure-core>=1.7.0;<2.0.0.If we install a version of azure-core earlier than this. We face build errors that look like this. The
resource_testcaseimportsARMPipelineClientfromazure-mgmt-resourceand fails due to the non-presence of expected pipeline policy inazure-core.This is only problem when it comes to checking
mindependencyof our other packages! The minimum defined version ofazure-coreforazure-appconfigurationis1.2.0. The entire point of this check is to ensure that the current version ofazure-appconfigurationworks with the latest and minimum version ofazure-corethat's up on pypi, and that won't be possible!