-
Notifications
You must be signed in to change notification settings - Fork 3k
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
{Packaging} Vendor azure-mgmt-datalake-analytics
#27163
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
Packaging |
My script from #27047 (comment) didn't find this |
|
azure-mgmt-datalake-analytics
f3779e2
to
87e1db7
Compare
e4c12fe
to
324ed1f
Compare
324ed1f
to
15464a3
Compare
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.
Where is this file copied from?
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.
From azure/cli/command_modules/keyvault/vendored_sdks/__init__.py
def cf_dla_account(cli_ctx, _): | ||
from azure.cli.core.commands.client_factory import get_mgmt_service_client | ||
from azure.mgmt.datalake.analytics.account import DataLakeAnalyticsAccountManagementClient | ||
from azure.cli.command_modules.dla.vendored_sdks.azure_mgmt_datalake_analytics.account import DataLakeAnalyticsAccountManagementClient |
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.
It may be better to use relative import since azure.cli.command_modules.dla.vendored_sdks
is in the same package azure.cli.command_modules.dla
as azure.cli.command_modules.dla._client_factory
.
This may also save us from adding # pylint: disable=line-too-long
.
from azure.cli.command_modules.dla.vendored_sdks.azure_mgmt_datalake_analytics.account import DataLakeAnalyticsAccountManagementClient | |
from .vendored_sdks.azure_mgmt_datalake_analytics.account import DataLakeAnalyticsAccountManagementClient |
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.
I've changed to relative import.
Weird, we hardly use relative import in azure-cli.
Description
0.2.1 is not compatible with Homebrew, see #27047.
The Track 2 SDK lacks
azure.mgmt.datalake.analytics.job
andazure.mgmt.datalake.analytics.catalog
, vender it instead.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 featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.