liupeirong / MLOpsManufacturing

Demonstrate samples and good engineering practice for operationalizing machine learning solutions.
Other
21 stars 9 forks source link

Fix AzureIoTEdge task build break in edge-object-detection sample #86

Closed alancast closed 3 years ago

alancast commented 3 years ago

AzureIoTEdge released an updated version of their task from 2.4.5 to 2.4.7. The new updated version requires installing iotedgedev 3.0, which can only be done if you are using python version < 3.8.

This PR fixes the issue by lowering out build agent to use python 3.7 instead of 3.9. Lowering the version only required one unit test change, and the rest of our code was already being built on top of 3.7, so it is ok in that capacity as well.