Add explicit requirement for azure-core in mgmt-compute#34808
Add explicit requirement for azure-core in mgmt-compute#34808psalaberria002 wants to merge 1 commit into
Conversation
Azure#34770 added a direct dependency for azure.core, and it actually requires this to be newer than 1.28. Related to Azure#34091
|
Thank you for your contribution @psalaberria002! We will review the pull request and get back to you soon. |
jim-cooley
left a comment
There was a problem hiding this comment.
though i can't approve, this indeed fixes the issue with azure-mgmt-compute requirement of azure-core. specifically, azure-mgmt-compute requires the property 'SensitiveHeaderCleanupPolicy' on 'azure.core.pipeline.policies', which is only present in versions of azure-core >= 1.28.1
|
Hi @msyyc - could you confirm whether this setup.py is auto-generated and therefore the codegen needs updating for this dependency? |
Above all, if your application want to use |
|
actually, i don't want to use SensitiveHeaderCleanupPolicy, but if you write the following code: It will fail with "azure.core.pipeline.policies" does not have property 'SensitiveHeaderCleanupPolicy'. that is when using the latest mgmt-compute with an azure-core prior to 1.28.1. perhaps the reference is indirect via azure-mgmt-core, however the SDK itself uses this property so this fails at runtime. I believe the error is here: |
|
/reopen? |
|
I'm having totally the same issue as it is described by @jim-cooley. |

#34770 added a direct dependency for azure.core, and it actually requires this to be newer than 1.28.
Related to #34091
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines