This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
SDK will always try to update the latest version of an existing environment, if try to create a new version only in case of failure.
Note - In case of Registry, SDK will continue to auto increment the version, due to temp folder error from API.
Testing Results
Host Type
Build Type
Change
Expected Result
Actual Result
Workspace
Image
No environment Exists
New environment created with version "1"
Env created with version 1
Workspace
Image
Only description change
version "1" description updated
No new environment & desc updated
Workspace
Image
Image change
New environment with version "2" & new image
Version 2 created
Workspace
Build Context
No environment Exists
New environment created with version "1"
Env created with version 1
Workspace
Build Context
requirement.txt update
New environment with version "2"
Version 2 created
Workspace
Build Context
Only description change
No new environment & version "2" updated
Version 2 updated
Workspace
Custom Conda
No environment Exists
New environment created with version "1"
Env created with version 1
Workspace
Custom Conda
conda yaml update
New environment with version "2"
Version 2 created
Workspace
Custom Conda
Only description change
No new environment & version "2" updated
Version 2 updated
Registry
Image
No environment Exists
New environment created with version "1"
Env created with version 1
Registry
Image
Only description change
New environment created
New environment created
Registry
Image
Image change
New environment created
New environment created
Registry
Build Context
No environment Exists
New environment created with version "1"
Env created with version 1
Registry
Build Context
requirement.txt update
New environment with version "2"
Version 2 created
Registry
Build Context
Only description change
New environment created
New environment created
Registry
Custom Conda
No environment Exists
New environment created with version "1"
Env created with version 1
Registry
Custom Conda
conda yaml update
New environment created
Version 2 created
Registry
Custom Conda
Only description change
New environment created
New environment created
All SDK Contribution checklist:
[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.
Description
SDK will always try to update the latest version of an existing environment, if try to create a new version only in case of failure. Note - In case of Registry, SDK will continue to auto increment the version, due to temp folder error from API. Testing Results
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines