Skip to content

[Core] Upgrade azure-mgmt-core to 1.2.1#15780

Merged
jsntcy merged 2 commits intoAzure:devfrom
jsntcy:upgrade-mgmt-core
Nov 11, 2020
Merged

[Core] Upgrade azure-mgmt-core to 1.2.1#15780
jsntcy merged 2 commits intoAzure:devfrom
jsntcy:upgrade-mgmt-core

Conversation

@jsntcy
Copy link
Member

@jsntcy jsntcy commented Nov 3, 2020

Description
Upgrade azure-mgmt-core to 1.2.1 due to codegen's upgrade, see details in #15766

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@yonzhan
Copy link
Collaborator

yonzhan commented Nov 3, 2020

Upgrade azure-mgmt-core

@yonzhan yonzhan added this to the S178 milestone Nov 3, 2020
@jsntcy jsntcy changed the title Upgrade azure-mgmt-core to 1.2.1 [Core] Upgrade azure-mgmt-core to 1.2.1 Nov 4, 2020
@jsntcy
Copy link
Member Author

jsntcy commented Nov 4, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

azure-mgmt-core==1.2.0
azure-core==1.7.0
azure-mgmt-core==1.2.1
azure-core==1.8.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

azure-mgmt-core already specifies the dependency on azure-core.

https://github.com/Azure/azure-sdk-for-python/blob/e1001d7f7d9708b33f087c7a5ac652d1adeca89e/sdk/core/azure-mgmt-core/setup.py#L70

    install_requires=[
        "azure-core<2.0.0,>=1.9.0",
    ],

Does CLI need to specify it directly?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides azure-mgmt-core, data plane commands use azure.core directly, so we need specify the version for it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense.

azure-mgmt-core 1.2.1 has dependency

https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-core_1.2.1/sdk/core/azure-mgmt-core/setup.py#L70

"azure-core<2.0.0,>=1.8.2",

Make sure this dependency is always satisfied if we bump any libs.

@jsntcy jsntcy merged commit 6af4c51 into Azure:dev Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments