-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add explicit requirement for azure-core in mgmt-compute #34808
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: Line 69 in a9b8513
|
/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