Describe the issue:
After running azd up, the API endpoint fails to load in the browser and returns a 503 Service Unavailable error. Checking the logs on the Azure portal reveals a missing six module, as shown in the image below:
In addition, this issue can also be reproduced in todo-python-mongo-aca and todo-python-mongo-terraform.


Repro Steps:
- Run
azd init -t todo-python-mongo -b staging.
- Run
azd up
- Click the api url in the log.
Environment:
- Template:
todo-python-mongo, todo-python-mongo-aca, todo-python-mongo-terraform.
- OS: Windows
- Branch: Staging
- Azd version: azd version 1.21.0-beta.1-daily.5505216 (commit 73b7edcbf0da38b170d635f250043e7d4213e65e).
Expected behavior:
The api page can be loaded successfully.
Suggestion:
Add six == 1.17.0 to src/api/requirements.txt.
@rajeshkamal5050 for notification.