-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[connectedk8s] Update extension CLI to v1.10.9 #9177
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
Conversation
* forcedelete * format * add code owner * mypy
* update errors * format * style
… '2025-08-01-preview' (#17)
️✔️Azure CLI Extensions Breaking Change Test
|
Hi @bavneetsingh16, |
Thank you for your contribution! We will review the pull request and get back to you soon. |
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
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.
Pull Request Overview
This PR updates the Azure Connected Kubernetes (connectedk8s) CLI extension to version 1.10.9. The main purpose is to update the underlying SDK to use the new preview API version "2025-08-01-preview" and modernize the generated client code to use the latest Azure SDK code generation patterns.
- Version bump from 1.10.8 to 1.10.9 in setup.py
- Migration from AutoRest to Python Code Generator for SDK generation
- Update to API version "2025-08-01-preview"
Reviewed Changes
Copilot reviewed 40 out of 41 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
setup.py |
Version number updated from 1.10.8 to 1.10.9 |
operations/_operations.py |
Complete rewrite using Python Code Generator with new API structure and method signatures |
operations/__init__.py |
Updated imports and module structure for new code generation pattern |
models/_models.py |
New comprehensive model definitions for the 2025-08-01-preview API |
models/_enums.py |
Updated enums with new ActionType and Origin types, expanded ConnectivityStatus |
models/__init__.py |
Complete rewrite of model exports matching new generation pattern |
aio/ directory |
Async client implementations updated to match new patterns |
_utils/serialization.py |
Modernized serialization utilities with improved error handling and type hints |
We have set up live tests in our forked repository as a continuous integration (CI) check and those tests include coverage for all these changes. All the tests can be found here: As the code owners of this extension CLI, we mandate that all changes be first made in our forked repository to ensure they undergo our comprehensive test suite |
|
[Release] Update index.json for extension [ connectedk8s-1.10.9 ] : https://dev.azure.com/msazure/One/_build/results?buildId=137602188&view=results |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json
.