-
Notifications
You must be signed in to change notification settings - Fork 3.3k
GA of mgmt-resource makes mindependency of azure-core < 1.7.0 testing not possible? #13911
Description
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!