Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/azure-cli-core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
'six~=1.12',
'pkginfo>=1.5.0.1',
'azure-mgmt-resource==10.2.0',
'azure-mgmt-core==1.2.0'
'azure-mgmt-core==1.2.1'
]

TESTS_REQUIRE = [
Expand Down
4 changes: 2 additions & 2 deletions src/azure-cli/requirements.py3.Darwin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ azure-mgmt-consumption==2.0.0
azure-mgmt-containerinstance==1.5.0
azure-mgmt-containerregistry==3.0.0rc15
azure-mgmt-containerservice==9.4.0
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.

azure-mgmt-cosmosdb==1.0.0
azure-mgmt-datalake-analytics==0.2.1
azure-mgmt-datalake-nspkg==3.0.1
Expand Down
4 changes: 2 additions & 2 deletions src/azure-cli/requirements.py3.Linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ azure-mgmt-consumption==2.0.0
azure-mgmt-containerinstance==1.5.0
azure-mgmt-containerregistry==3.0.0rc15
azure-mgmt-containerservice==9.4.0
azure-mgmt-core==1.2.0
azure-core==1.7.0
azure-mgmt-core==1.2.1
azure-core==1.8.2
azure-mgmt-cosmosdb==1.0.0
azure-mgmt-datalake-analytics==0.2.1
azure-mgmt-datalake-nspkg==3.0.1
Expand Down
4 changes: 2 additions & 2 deletions src/azure-cli/requirements.py3.windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ azure-mgmt-consumption==2.0.0
azure-mgmt-containerinstance==1.5.0
azure-mgmt-containerregistry==3.0.0rc15
azure-mgmt-containerservice==9.4.0
azure-mgmt-core==1.2.0
azure-core==1.7.0
azure-mgmt-core==1.2.1
azure-core==1.8.2
azure-mgmt-cosmosdb==1.0.0
azure-mgmt-datalake-analytics==0.2.1
azure-mgmt-datalake-nspkg==3.0.1
Expand Down