From ae60e489f0c658ba313e6e0020c61b40ffe3bdc9 Mon Sep 17 00:00:00 2001 From: Jenny So Date: Thu, 13 May 2021 01:17:44 -0700 Subject: [PATCH] Pin azureml version to 1.27.* (#361) * Update ci_dependencies.yml * Update diabetes_regression-cd.yml * Update diabetes_regression-package-model-template.yml * Update diabetes_regression-publish-model-artifact-template.yml * Update conda_dependencies.yml * Update conda_dependencies_scorecopy.yml * Update conda_dependencies_scoring.yml --- .pipelines/diabetes_regression-cd.yml | 4 ++-- .pipelines/diabetes_regression-package-model-template.yml | 2 +- .../diabetes_regression-publish-model-artifact-template.yml | 2 +- diabetes_regression/ci_dependencies.yml | 2 +- diabetes_regression/conda_dependencies.yml | 4 ++-- diabetes_regression/conda_dependencies_scorecopy.yml | 2 +- diabetes_regression/conda_dependencies_scoring.yml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.pipelines/diabetes_regression-cd.yml b/.pipelines/diabetes_regression-cd.yml index 8dd35e47..a691cc47 100644 --- a/.pipelines/diabetes_regression-cd.yml +++ b/.pipelines/diabetes_regression-cd.yml @@ -49,7 +49,7 @@ stages: azureSubscription: '$(WORKSPACE_SVC_CONNECTION)' scriptLocation: inlineScript workingDirectory: $(Build.SourcesDirectory) - inlineScript: 'az extension add -n azure-cli-ml' + inlineScript: 'az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.27.0-py3-none-any.whl --yes' - task: AzureCLI@1 displayName: "Deploy to ACI (CLI)" inputs: @@ -95,7 +95,7 @@ stages: azureSubscription: '$(WORKSPACE_SVC_CONNECTION)' scriptLocation: inlineScript workingDirectory: $(Build.SourcesDirectory) - inlineScript: 'az extension add -n azure-cli-ml' + inlineScript: 'az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.27.0-py3-none-any.whl --yes' - task: AzureCLI@1 displayName: "Deploy to AKS (CLI)" inputs: diff --git a/.pipelines/diabetes_regression-package-model-template.yml b/.pipelines/diabetes_regression-package-model-template.yml index 7725b19c..16fc1c1d 100644 --- a/.pipelines/diabetes_regression-package-model-template.yml +++ b/.pipelines/diabetes_regression-package-model-template.yml @@ -17,7 +17,7 @@ steps: azureSubscription: '$(WORKSPACE_SVC_CONNECTION)' scriptLocation: inlineScript workingDirectory: $(Build.SourcesDirectory) - inlineScript: 'az extension add -n azure-cli-ml' + inlineScript: 'az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.27.0-py3-none-any.whl --yes' - task: AzureCLI@1 displayName: 'Create model package and set IMAGE_LOCATION variable' inputs: diff --git a/.pipelines/diabetes_regression-publish-model-artifact-template.yml b/.pipelines/diabetes_regression-publish-model-artifact-template.yml index 00e45105..d666750d 100644 --- a/.pipelines/diabetes_regression-publish-model-artifact-template.yml +++ b/.pipelines/diabetes_regression-publish-model-artifact-template.yml @@ -6,7 +6,7 @@ steps: azureSubscription: '$(WORKSPACE_SVC_CONNECTION)' scriptLocation: inlineScript workingDirectory: $(Build.SourcesDirectory) - inlineScript: 'az extension add -n azure-cli-ml' + inlineScript: 'az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.27.0-py3-none-any.whl --yes' - task: AzureCLI@1 inputs: azureSubscription: '$(WORKSPACE_SVC_CONNECTION)' diff --git a/diabetes_regression/ci_dependencies.yml b/diabetes_regression/ci_dependencies.yml index 542db0c4..73086471 100644 --- a/diabetes_regression/ci_dependencies.yml +++ b/diabetes_regression/ci_dependencies.yml @@ -17,7 +17,7 @@ dependencies: - pip: # dependencies with versions aligned with conda_dependencies.yml. - - azureml-sdk + - azureml-sdk==1.27.* # Additional pip dependencies for the CI environment. - pytest==5.4.* diff --git a/diabetes_regression/conda_dependencies.yml b/diabetes_regression/conda_dependencies.yml index 49405c47..e214c7b2 100644 --- a/diabetes_regression/conda_dependencies.yml +++ b/diabetes_regression/conda_dependencies.yml @@ -23,11 +23,11 @@ dependencies: - pip: # Base AzureML SDK - - azureml-sdk + - azureml-sdk==1.27.* # Must match AzureML SDK version. # https://docs.microsoft.com/en-us/azure/machine-learning/concept-environments - - azureml-defaults + - azureml-defaults==1.27.* # Training deps - scikit-learn diff --git a/diabetes_regression/conda_dependencies_scorecopy.yml b/diabetes_regression/conda_dependencies_scorecopy.yml index 2d73f4fe..9ed22ccd 100644 --- a/diabetes_regression/conda_dependencies_scorecopy.yml +++ b/diabetes_regression/conda_dependencies_scorecopy.yml @@ -25,7 +25,7 @@ dependencies: - pip: # Base AzureML SDK - - azureml-sdk>1.18.0 + - azureml-sdk==1.27.* # Score copying deps - azure-storage-blob diff --git a/diabetes_regression/conda_dependencies_scoring.yml b/diabetes_regression/conda_dependencies_scoring.yml index 748cf6a5..e744b369 100644 --- a/diabetes_regression/conda_dependencies_scoring.yml +++ b/diabetes_regression/conda_dependencies_scoring.yml @@ -25,7 +25,7 @@ dependencies: - pip: # Base AzureML SDK - - azureml-sdk>1.18.0 + - azureml-sdk==1.27.* # Scoring deps - scikit-learn