From 5693c1fabe8a147eab035e4db0f5243d6cbeefd6 Mon Sep 17 00:00:00 2001 From: AzureFunctionsPython Date: Tue, 24 Mar 2026 22:45:52 +0000 Subject: [PATCH 1/5] build: update workers version to 4.44.0 --- workers/azure_functions_worker/version.py | 2 +- workers/proxy_worker/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/workers/azure_functions_worker/version.py b/workers/azure_functions_worker/version.py index 46c9dd0c..a158098b 100644 --- a/workers/azure_functions_worker/version.py +++ b/workers/azure_functions_worker/version.py @@ -1,4 +1,4 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. -VERSION = '4.43.0' +VERSION = '4.44.0' diff --git a/workers/proxy_worker/version.py b/workers/proxy_worker/version.py index 46c9dd0c..a158098b 100644 --- a/workers/proxy_worker/version.py +++ b/workers/proxy_worker/version.py @@ -1,4 +1,4 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. -VERSION = '4.43.0' +VERSION = '4.44.0' From 99e0ec70de82433c6d33fee648aca787a8e21111 Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Tue, 24 Mar 2026 17:48:20 -0500 Subject: [PATCH 2/5] temporarily run official build under e2e pipeline --- eng/ci/integration-tests.yml | 9 ++------- eng/pack/templates/nix_arm64_env_gen.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/eng/ci/integration-tests.yml b/eng/ci/integration-tests.yml index 33f67333..4cb1d658 100644 --- a/eng/ci/integration-tests.yml +++ b/eng/ci/integration-tests.yml @@ -45,11 +45,6 @@ extends: clean: all # Clean all build directories before starting stages: - - stage: RunE2ETests - dependsOn: [] + - stage: BuildPythonWorker jobs: - - template: /eng/templates/official/jobs/ci-e2e-tests.yml@self - - stage: RunLCTests - dependsOn: [] - jobs: - - template: /eng/templates/official/jobs/ci-lc-tests.yml@self + - template: /eng/templates/official/jobs/build-artifacts.yml@self diff --git a/eng/pack/templates/nix_arm64_env_gen.yml b/eng/pack/templates/nix_arm64_env_gen.yml index 528722e0..2251fb64 100644 --- a/eng/pack/templates/nix_arm64_env_gen.yml +++ b/eng/pack/templates/nix_arm64_env_gen.yml @@ -51,12 +51,12 @@ steps: Write-Host "workerPath: $(workerPath)" Write-Host "proxyWorker: $(proxyWorker)" displayName: 'Display variables' -- script: | - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - displayName: 'Docker login to avoid rate limits' - env: - DOCKER_USERNAME: $(DOCKER_USERNAME) - DOCKER_PASSWORD: $(DOCKER_PASSWORD) +# - script: | +# echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin +# displayName: 'Docker login to avoid rate limits' +# env: +# DOCKER_USERNAME: $(DOCKER_USERNAME) +# DOCKER_PASSWORD: $(DOCKER_PASSWORD) - task: ShellScript@2 inputs: disableAutoCwd: true From dbdfcfc4f2a92ee34fabe0cb27ffc8cda71e4180 Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Tue, 24 Mar 2026 18:51:04 -0500 Subject: [PATCH 3/5] screaming --- .../official/jobs/build-artifacts.yml | 46 ++++++++++--------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/eng/templates/official/jobs/build-artifacts.yml b/eng/templates/official/jobs/build-artifacts.yml index f6e46924..31211adf 100644 --- a/eng/templates/official/jobs/build-artifacts.yml +++ b/eng/templates/official/jobs/build-artifacts.yml @@ -240,29 +240,33 @@ jobs: artifactName: "PythonWorker" steps: - bash: | - echo "Releasing from $BUILD_SOURCEBRANCHNAME" + echo "Releasing from 4.44.0" sudo apt-get install -y jq - if [[ $BUILD_SOURCEBRANCHNAME = 4\.* ]] - then - echo "Generating V4 Release Package for $BUILD_SOURCEBRANCHNAME" - NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" - WKVERSION="$BUILD_SOURCEBRANCHNAME" - elif [[ $BUILD_SOURCEBRANCHNAME = dev ]] - then - echo "Generating V4 Integration Test Package for $BUILD_SOURCEBRANCHNAME" - VERSION=$(cat workers/azure_functions_worker/version.py | tail -1 | cut -d' ' -f3 | sed "s/'//g") - NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" - WKVERSION="$VERSION-$(Build.BuildNumber)" - else - # this is only to test nuget related workflow because we are setting nuspec here - echo "Generating Integration Test Package for $BUILD_SOURCEBRANCHNAME for testing purpose" - LATEST_TAG=$(curl https://api.github.com/repos/Azure/azure-functions-python-worker/tags -s | jq '.[0].name' | sed 's/\"//g' | cut -d'.' -f-2) - NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" - # Only required for Integration Test. Version number contains date (e.g. 3.1.2.20211028-dev) - WKVERSION="3.$LATEST_TAG-$(BUILD_BUILDID)-TEST" - echo "No Matching Release Tag For $BUILD_SOURCEBRANCH" - fi + echo "Generating V4 Release Package for 4.44.0" + NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" + WKVERSION="4.44.0" + + # if [[ $BUILD_SOURCEBRANCHNAME = 4\.* ]] + # then + # echo "Generating V4 Release Package for $BUILD_SOURCEBRANCHNAME" + # NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" + # WKVERSION="$BUILD_SOURCEBRANCHNAME" + # elif [[ $BUILD_SOURCEBRANCHNAME = dev ]] + # then + # echo "Generating V4 Integration Test Package for $BUILD_SOURCEBRANCHNAME" + # VERSION=$(cat workers/azure_functions_worker/version.py | tail -1 | cut -d' ' -f3 | sed "s/'//g") + # NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" + # WKVERSION="$VERSION-$(Build.BuildNumber)" + # else + # # this is only to test nuget related workflow because we are setting nuspec here + # echo "Generating Integration Test Package for $BUILD_SOURCEBRANCHNAME for testing purpose" + # LATEST_TAG=$(curl https://api.github.com/repos/Azure/azure-functions-python-worker/tags -s | jq '.[0].name' | sed 's/\"//g' | cut -d'.' -f-2) + # NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" + # # Only required for Integration Test. Version number contains date (e.g. 3.1.2.20211028-dev) + # WKVERSION="3.$LATEST_TAG-$(BUILD_BUILDID)-TEST" + # echo "No Matching Release Tag For $BUILD_SOURCEBRANCH" + # fi echo "##vso[task.setvariable variable=nuspec_path]$NUSPEC" echo "##vso[task.setvariable variable=worker_version]$WKVERSION" From fe4994c6ca2cd83316ba31ec5d6cc5762ea0139b Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Wed, 25 Mar 2026 18:09:33 -0500 Subject: [PATCH 4/5] revert temp changes --- eng/ci/integration-tests.yml | 9 +++++++-- eng/pack/templates/nix_arm64_env_gen.yml | 12 ++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/eng/ci/integration-tests.yml b/eng/ci/integration-tests.yml index 4cb1d658..784c9ecc 100644 --- a/eng/ci/integration-tests.yml +++ b/eng/ci/integration-tests.yml @@ -45,6 +45,11 @@ extends: clean: all # Clean all build directories before starting stages: - - stage: BuildPythonWorker + - stage: RunE2ETests + dependsOn: [] jobs: - - template: /eng/templates/official/jobs/build-artifacts.yml@self + - template: /eng/templates/official/jobs/ci-e2e-tests.yml@self + - stage: RunLCTests + dependsOn: [] + jobs: + - template: /eng/templates/official/jobs/ci-lc-tests.yml@self \ No newline at end of file diff --git a/eng/pack/templates/nix_arm64_env_gen.yml b/eng/pack/templates/nix_arm64_env_gen.yml index 2251fb64..528722e0 100644 --- a/eng/pack/templates/nix_arm64_env_gen.yml +++ b/eng/pack/templates/nix_arm64_env_gen.yml @@ -51,12 +51,12 @@ steps: Write-Host "workerPath: $(workerPath)" Write-Host "proxyWorker: $(proxyWorker)" displayName: 'Display variables' -# - script: | -# echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin -# displayName: 'Docker login to avoid rate limits' -# env: -# DOCKER_USERNAME: $(DOCKER_USERNAME) -# DOCKER_PASSWORD: $(DOCKER_PASSWORD) +- script: | + echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin + displayName: 'Docker login to avoid rate limits' + env: + DOCKER_USERNAME: $(DOCKER_USERNAME) + DOCKER_PASSWORD: $(DOCKER_PASSWORD) - task: ShellScript@2 inputs: disableAutoCwd: true From ec8c2c31390de3682cb42c467bfe9f4f71e309f7 Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Wed, 25 Mar 2026 18:10:40 -0500 Subject: [PATCH 5/5] revert temp changes --- eng/ci/integration-tests.yml | 2 +- .../official/jobs/build-artifacts.yml | 46 +++++++++---------- 2 files changed, 22 insertions(+), 26 deletions(-) diff --git a/eng/ci/integration-tests.yml b/eng/ci/integration-tests.yml index 784c9ecc..33f67333 100644 --- a/eng/ci/integration-tests.yml +++ b/eng/ci/integration-tests.yml @@ -52,4 +52,4 @@ extends: - stage: RunLCTests dependsOn: [] jobs: - - template: /eng/templates/official/jobs/ci-lc-tests.yml@self \ No newline at end of file + - template: /eng/templates/official/jobs/ci-lc-tests.yml@self diff --git a/eng/templates/official/jobs/build-artifacts.yml b/eng/templates/official/jobs/build-artifacts.yml index 31211adf..f6e46924 100644 --- a/eng/templates/official/jobs/build-artifacts.yml +++ b/eng/templates/official/jobs/build-artifacts.yml @@ -240,33 +240,29 @@ jobs: artifactName: "PythonWorker" steps: - bash: | - echo "Releasing from 4.44.0" + echo "Releasing from $BUILD_SOURCEBRANCHNAME" sudo apt-get install -y jq - echo "Generating V4 Release Package for 4.44.0" - NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" - WKVERSION="4.44.0" - - # if [[ $BUILD_SOURCEBRANCHNAME = 4\.* ]] - # then - # echo "Generating V4 Release Package for $BUILD_SOURCEBRANCHNAME" - # NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" - # WKVERSION="$BUILD_SOURCEBRANCHNAME" - # elif [[ $BUILD_SOURCEBRANCHNAME = dev ]] - # then - # echo "Generating V4 Integration Test Package for $BUILD_SOURCEBRANCHNAME" - # VERSION=$(cat workers/azure_functions_worker/version.py | tail -1 | cut -d' ' -f3 | sed "s/'//g") - # NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" - # WKVERSION="$VERSION-$(Build.BuildNumber)" - # else - # # this is only to test nuget related workflow because we are setting nuspec here - # echo "Generating Integration Test Package for $BUILD_SOURCEBRANCHNAME for testing purpose" - # LATEST_TAG=$(curl https://api.github.com/repos/Azure/azure-functions-python-worker/tags -s | jq '.[0].name' | sed 's/\"//g' | cut -d'.' -f-2) - # NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" - # # Only required for Integration Test. Version number contains date (e.g. 3.1.2.20211028-dev) - # WKVERSION="3.$LATEST_TAG-$(BUILD_BUILDID)-TEST" - # echo "No Matching Release Tag For $BUILD_SOURCEBRANCH" - # fi + if [[ $BUILD_SOURCEBRANCHNAME = 4\.* ]] + then + echo "Generating V4 Release Package for $BUILD_SOURCEBRANCHNAME" + NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" + WKVERSION="$BUILD_SOURCEBRANCHNAME" + elif [[ $BUILD_SOURCEBRANCHNAME = dev ]] + then + echo "Generating V4 Integration Test Package for $BUILD_SOURCEBRANCHNAME" + VERSION=$(cat workers/azure_functions_worker/version.py | tail -1 | cut -d' ' -f3 | sed "s/'//g") + NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" + WKVERSION="$VERSION-$(Build.BuildNumber)" + else + # this is only to test nuget related workflow because we are setting nuspec here + echo "Generating Integration Test Package for $BUILD_SOURCEBRANCHNAME for testing purpose" + LATEST_TAG=$(curl https://api.github.com/repos/Azure/azure-functions-python-worker/tags -s | jq '.[0].name' | sed 's/\"//g' | cut -d'.' -f-2) + NUSPEC="eng\pack\Microsoft.Azure.Functions.V4.PythonWorker.nuspec" + # Only required for Integration Test. Version number contains date (e.g. 3.1.2.20211028-dev) + WKVERSION="3.$LATEST_TAG-$(BUILD_BUILDID)-TEST" + echo "No Matching Release Tag For $BUILD_SOURCEBRANCH" + fi echo "##vso[task.setvariable variable=nuspec_path]$NUSPEC" echo "##vso[task.setvariable variable=worker_version]$WKVERSION"