-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Container Registry TSP #44848
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
base: main
Are you sure you want to change the base?
Container Registry TSP #44848
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
31f0b32 to
9d682cc
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.
Pull request overview
This PR represents a major regeneration of the Azure Container Registry SDK from AutoRest to TypeSpec-based code generation. The changes include:
Changes:
- Migration from setup.py to pyproject.toml for package configuration
- Regeneration of all generated code using TypeSpec
- Parameter name changes in generated clients (url → endpoint)
- Updated serialization/deserialization infrastructure
- Breaking change: Python minimum version increased from 3.8 to 3.9
Reviewed changes
Copilot reviewed 51 out of 53 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| tsp-location.yaml | New TypeSpec configuration file (contains placeholder values) |
| pyproject.toml | Replaces setup.py with modern packaging configuration |
| setup.py | Deleted - migrated to pyproject.toml |
| _generated/* | Complete regeneration of generated code with new generator |
| _models.py | Updated type annotations to Optional for various properties |
| *_client.py | Updated to use new generated client with endpoint parameter |
| tests/* | Updated mocks to match new generated code structure |
| samples/* | Updated snippet markers and added type: ignore comments |
sdk/containerregistry/azure-containerregistry/tsp-location.yaml
Outdated
Show resolved
Hide resolved
sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/_version.py
Show resolved
Hide resolved
sdk/containerregistry/azure-containerregistry/azure/containerregistry/_models.py
Outdated
Show resolved
Hide resolved
sdk/containerregistry/azure-containerregistry/tests/test_container_registry_client_async.py
Show resolved
Hide resolved
sdk/containerregistry/azure-containerregistry/tests/test_container_registry_client.py
Show resolved
Hide resolved
d078af1 to
93fb7f1
Compare
|
/azp run python-containerregistry-ci |
|
No pipelines are associated with this pull request. |
93fb7f1 to
b6cd481
Compare
defa72a to
c246edf
Compare
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines