Skip to content
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

Deprecate CLI factory in azure-common #21337

Merged
merged 11 commits into from
Feb 2, 2022
Merged

Conversation

lmazuel
Copy link
Member

@lmazuel lmazuel commented Oct 19, 2021

See #20657 and #21313

Copy link

@franklsf95 franklsf95 left a comment

Choose a reason for hiding this comment

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

typo

sdk/core/azure-common/azure/common/client_factory.py Outdated Show resolved Hide resolved
@lmazuel
Copy link
Member Author

lmazuel commented Oct 19, 2021

image

Since this screenshot I changed it to NotImplementedError

@scbedd
Copy link
Member

scbedd commented Oct 19, 2021

@praveenkuttappan APIView is getting its environments confused.

@praveenkuttappan
Copy link
Member

API diff is a false alarm here since source branch in this case doesn't have recent change on main in storage packages. So artifact in this PR doesn't have this recent change which confuses APIView and flags it as removed in this PR. I will have a fix submitted to skip API check in PR if package is not modified. Currently this is triggered based on pipeline which doesn't make any sense for API check if source files are not modified.

sdk/core/azure-common/azure/common/client_factory.py Outdated Show resolved Hide resolved
sdk/core/azure-common/azure/common/client_factory.py Outdated Show resolved Hide resolved
sdk/core/azure-common/azure/common/client_factory.py Outdated Show resolved Hide resolved
sdk/core/azure-common/azure/common/cloud.py Outdated Show resolved Hide resolved
sdk/core/azure-common/azure/common/cloud.py Show resolved Hide resolved
sdk/core/azure-common/azure/common/credentials.py Outdated Show resolved Hide resolved
sdk/core/azure-common/azure/common/credentials.py Outdated Show resolved Hide resolved
@azure-sdk
Copy link
Collaborator

API changes have been detected in azure-eventhub-checkpointstoreblob-aio. You can review API changes here

API changes

-             api_version: str, 
+             api_version: str = ..., 
-             secondary_hostname: str, 
+             secondary_hostname: str = ..., 
-             api_version: str, 
+             api_version: str = ..., 
-             secondary_hostname: str, 
+             secondary_hostname: str = ..., 

@azure-sdk
Copy link
Collaborator

API changes have been detected in azure-eventhub-checkpointstoreblob. You can review API changes here

API changes

-             api_version: str, 
-             secondary_hostname: str, 
+             api_version: str = ..., 
+             secondary_hostname: str = ..., 
-             api_version: str, 
-             secondary_hostname: str, 
+             api_version: str = ..., 
+             secondary_hostname: str = ..., 

@lmazuel
Copy link
Member Author

lmazuel commented Dec 17, 2021

/azp run python - tables - ci

@lmazuel
Copy link
Member Author

lmazuel commented Dec 17, 2021

/azp run python - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lmazuel
Copy link
Member Author

lmazuel commented Dec 17, 2021

/azp run python - communication - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-sdk
Copy link
Collaborator

API changes have been detected in azure-cosmos. You can review API changes here

@xiangyan99
Copy link
Member

None of the failures is related to the change.

@xiangyan99
Copy link
Member

/check-enforcer override

@xiangyan99 xiangyan99 merged commit 13950c4 into main Feb 2, 2022
@xiangyan99 xiangyan99 deleted the cli_factory_deprecation branch February 2, 2022 01:43
rakshith91 pushed a commit to rakshith91/azure-sdk-for-python that referenced this pull request Apr 10, 2022
* Deprecate CLI factory in azure-common

* Correct syntax

* ChangeLog

* NotImplementedError

* Deprecate all CLI related methods

* Rewording

* Date change

* Typo thanks @annatisch

* Typo

* Fix tests

* Update CHANGELOG.md

Co-authored-by: Xiang Yan <xiangsjtu@gmail.com>
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-python that referenced this pull request Nov 24, 2022
Review request for Microsoft.ContainerService to add version 2022-10-02-preview (Azure#21439)

* Adds base for updating Microsoft.ContainerService from version preview/2022-09-02-preview to version 2022-10-02-preview

* Updates readme

* Updates API version in new specs and examples

* Pmiller/nodeosupgradechannel (Azure#21326)

* missed working comment

* matthew comments

* unpatched is a word

* Add MaintenanceWindow into MaintenanceConfigurationProperties (Azure#21337)

* Add MaintenanceWindow into MaintenanceConfigurationProperties

* Fx PrettierCheck

* Fix ARM ID format for samples (Azure#21402)

* Fix Swagger Model Validation for the 2022-10-02-preview dev branch of container service (Azure#21373)

* fix API version

* fix INVALID_FORMAT byte

* fix INVALID_FORMAT arm-id

* fix missing resource id

* fix LRO_RESPONSE_HEADER

* Update readmes for the 2022-10-02-preview dev branch of container service (Azure#21366)

* update readmes

* remove fleets

* Updating abort apis response to make it long running  (Azure#21362)

* Updating response abort abort apis

* Updating abort AP and MC examples

* Changes per CI checks

* Adding x-ms-long-running-operation-options

* Adding location header

Co-authored-by: InduSridhar <indusridhar@microsoft.com>

* fix 202 location header

* fix ProvisioningState validation

* add x-ms-long-running-operation-options

* fix ResourceNameRestriction

* Fix abort location url in example (Azure#21446)

* Updating response abort abort apis

* Updating abort AP and MC examples

* Changes per CI checks

* Adding x-ms-long-running-operation-options

* Adding location header

* Fixing location url in abort examples

Co-authored-by: InduSridhar <indusridhar@microsoft.com>

* Abort api response fix (Azure#21559)

* Updating response abort abort apis

* Updating abort AP and MC examples

* Changes per CI checks

* Adding x-ms-long-running-operation-options

* Adding location header

* Fixing location url in abort examples

* Fixing headers and body for abort response

* Linter fix

* Lint fix

* Updating managedclusters.json responses

Co-authored-by: InduSridhar <indusridhar@microsoft.com>

* Node os upgrade desc fix (Azure#21636)

* Updating response abort abort apis

* Updating abort AP and MC examples

* Changes per CI checks

* Adding x-ms-long-running-operation-options

* Adding location header

* Fixing location url in abort examples

* Fixing headers and body for abort response

* Linter fix

* Lint fix

* Updating managedclusters.json responses

* Minor edit to node os upgrade description based on ARM review

Co-authored-by: InduSridhar <indusridhar@microsoft.com>

Co-authored-by: Paul Miller <pmiller@microsoft.com>
Co-authored-by: Thalia Wang <58485997+wenxuan0923@users.noreply.github.com>
Co-authored-by: Matthew Christopher <matthchr@users.noreply.github.com>
Co-authored-by: InduSridhar <InduSridhar@users.noreply.github.com>
Co-authored-by: InduSridhar <indusridhar@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants