-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update simulator to support python 3.9 (#378)
* Update to py 3.9 * Test on Ubuntu18.04 * Update cicd job names * Update version
- Loading branch information
Showing
11 changed files
with
98 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
autopep8 | ||
backports.unittest-mock | ||
click | ||
docker==5.0.0 | ||
docker==5.0.3 | ||
flake8 | ||
pyOpenSSL>=20.0.1 | ||
python-dotenv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[tox] | ||
envlist=py37 | ||
envlist=py37, py38, py39 | ||
|
||
[testenv] | ||
commands= | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
steps: | ||
- task: UsePythonVersion@0 | ||
displayName: "Use Python 3.7" | ||
inputs: | ||
versionSpec: 3.7 | ||
versionSpec: "$(python.version)" | ||
addToPath: true | ||
architecture: "x64" | ||
|
||
- script: | | ||
pip install --upgrade pip | ||
pip install --upgrade tox | ||
az extension add --name azure-iot | ||
az --version | ||
displayName: "Update and install required tools" | ||
az extension add --name azure-iot | ||
displayName: "Install Azure Cli Extension" | ||
- script: | | ||
sudo -E `which tox` | ||
displayName: "Run tests against iotedgehubdev source code with tox" | ||
pip install --upgrade pip | ||
pip install --upgrade tox | ||
sudo -E `which tox` -e "$(TOXENV)" | ||
displayName: "Run tests against iotedgehubdev source code" | ||
env: | ||
LINUX_DEVICE_CONNECTION_STRING: $(LINUX_DEVICE_CONNECTION_STRING) | ||
IOTHUB_CONNECTION_STRING: $(IOTHUB_CONNECTION_STRING) | ||
CONTAINER_REGISTRY_SERVER: $(CONTAINER_REGISTRY_SERVER) | ||
CONTAINER_REGISTRY_USERNAME: $(CONTAINER_REGISTRY_USERNAME) | ||
CONTAINER_REGISTRY_PASSWORD: $(CONTAINER_REGISTRY_PASSWORD) | ||
TEST_CA_KEY_PASSPHASE: $(TEST_CA_KEY_PASSPHASE) | ||
TOXENV: py36,py37 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters