From 49f9c88b7e4322823b3a0bed7281fcbe2cf33edd Mon Sep 17 00:00:00 2001 From: Wei Lim Date: Tue, 19 Dec 2023 17:52:49 -0800 Subject: [PATCH 1/2] update runtime version --- .../todo/common/infra/bicep/app/api-functions-python.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/todo/common/infra/bicep/app/api-functions-python.bicep b/templates/todo/common/infra/bicep/app/api-functions-python.bicep index 575c954e1a8..89224b2f828 100644 --- a/templates/todo/common/infra/bicep/app/api-functions-python.bicep +++ b/templates/todo/common/infra/bicep/app/api-functions-python.bicep @@ -24,7 +24,7 @@ module api '../../../../../common/infra/bicep/core/host/functions.bicep' = { appServicePlanId: appServicePlanId keyVaultName: keyVaultName runtimeName: 'python' - runtimeVersion: '3.8' + runtimeVersion: '3.10' storageAccountName: storageAccountName } } From 61d77e16b08899169bc7a8a9e0e52b19c0c72b28 Mon Sep 17 00:00:00 2001 From: Wei Lim Date: Tue, 19 Dec 2023 17:52:59 -0800 Subject: [PATCH 2/2] update incompatible packages --- templates/todo/api/python/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/todo/api/python/requirements.txt b/templates/todo/api/python/requirements.txt index 18f4041e4ac..1ca543ebf5a 100644 --- a/templates/todo/api/python/requirements.txt +++ b/templates/todo/api/python/requirements.txt @@ -6,5 +6,5 @@ python-dotenv == 0.20.* # https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/CHANGELOG.md#1130b4-2023-04-11 azure-identity == 1.13.0 azure-keyvault-secrets == 4.4.* -opentelemetry-instrumentation-fastapi == 0.30b1 -azure-monitor-opentelemetry-exporter == 1.0.0b5 +opentelemetry-instrumentation-fastapi == 0.42b0 +azure-monitor-opentelemetry-exporter == 1.0.0b19