Skip to content

Commit 014f239

Browse files
Update Azure IoT extension to 0.10.11 (#14926)
Co-authored-by: Cindy Deng <[email protected]>
1 parent 4083bf9 commit 014f239

File tree

4 files changed

+3
-16
lines changed

4 files changed

+3
-16
lines changed

Tasks/AzureIoTEdgeV2/constant.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ export default class Constants {
2828
public static defaultExecOption = {} as IExecSyncOptions;
2929
public static UTF8 = "utf8";
3030
public static outputVariableDeploymentPathKey = "DEPLOYMENT_FILE_PATH";
31-
public static azureCliIotExtensionDefaultSource = "https://github.com/Azure/azure-iot-cli-extension/releases/download/v0.10.10/azure_iot-0.10.10-py3-none-any.whl";
31+
public static azureCliIotExtensionDefaultSource = "https://github.com/Azure/azure-iot-cli-extension/releases/download/v0.10.11/azure_iot-0.10.11-py3-none-any.whl";
3232
}

Tasks/AzureIoTEdgeV2/deployimage.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,6 @@ class azureclitask {
123123
throw new Error(`View Az Version Error: ${outputStream.content}`);
124124
}
125125

126-
// Upgrade setuptools in azcli's private python environment to avoid conflict when installing azure-iot extension
127-
// temporary solution until the paho-mqtt error in win2016 goes away
128-
if(tl.osType() === Constants.osTypeWindows)
129-
{
130-
let pythonExeLocation : string = 'C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI2\\python.exe';
131-
let setupToolsInstallationCommand = ['-m', 'pip', 'install', '-U', 'setuptools==52.0.0'];
132-
let upgradeSetuptoolsResult = tl.execSync(pythonExeLocation, setupToolsInstallationCommand, execOptions);
133-
if(upgradeSetuptoolsResult.code !== 0)
134-
{
135-
throw new Error(`Upgrade setuptools Error: ${outputStream.content}`);
136-
}
137-
}
138-
139126
let addResult = tl.execSync('az', installCommand, Constants.execSyncSilentOption);
140127
tl.debug(JSON.stringify(addResult));
141128
if (addResult.code !== 0) {

Tasks/AzureIoTEdgeV2/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 4,
17-
"Patch": 7
17+
"Patch": 8
1818
},
1919
"preview": false,
2020
"showEnvironmentVariables": true,

Tasks/AzureIoTEdgeV2/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 2,
1616
"Minor": 4,
17-
"Patch": 7
17+
"Patch": 8
1818
},
1919
"preview": false,
2020
"showEnvironmentVariables": true,

0 commit comments

Comments
 (0)