From 815faf345e88ba92db91aaf779580f040d703c12 Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Tue, 17 Feb 2026 11:42:21 -0600 Subject: [PATCH 1/9] minor protobuf version update for 3.14 --- eng/ci/public-build.yml | 15 +++++++++++---- eng/templates/shared/build-steps.yml | 3 +-- workers/pyproject.toml | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index 17d8000c3..19428f69d 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -56,25 +56,32 @@ extends: - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.11' - PROJECT_NAME: 'Azure Functions Python Worker' + PROJECT_NAME: 'Azure Functions Python Worker <= 3.12' + PROJECT_DIRECTORY: 'workers' + - template: /eng/templates/jobs/build.yml@self + parameters: + PYTHON_VERSION: '3.13' + PROJECT_NAME: 'Azure Functions Python Worker == 3.13' + PROJECT_DIRECTORY: 'workers' + - template: /eng/templates/jobs/build.yml@self + parameters: + PYTHON_VERSION: '3.14' + PROJECT_NAME: 'Azure Functions Python Worker == 3.14' PROJECT_DIRECTORY: 'workers' # Skip the build stage for SDK and Extensions release branches. This stage will fail because pyproject.toml contains the updated (and unreleased) library version condition: and(eq(variables.isSdkRelease, false), eq(variables.isExtensionsRelease, false), eq(variables['USETESTPYTHONSDK'], false), eq(variables['USETESTPYTHONEXTENSIONS'], false)) - stage: CheckPythonWorkerDependencies - dependsOn: BuildPythonWorker jobs: - template: /eng/templates/jobs/ci-dependency-check.yml@self parameters: PoolName: 1es-pool-azfunc-public - stage: RunWorkerUnitTests - dependsOn: BuildPythonWorker jobs: - template: /eng/templates/jobs/ci-unit-tests.yml@self parameters: PROJECT_DIRECTORY: 'workers' PoolName: 1es-pool-azfunc-public - stage: RunWorkerEmulatorTests - dependsOn: BuildPythonWorker jobs: - template: /eng/templates/jobs/ci-emulator-tests.yml@self parameters: diff --git a/eng/templates/shared/build-steps.yml b/eng/templates/shared/build-steps.yml index 98cc37621..4ecd148c3 100644 --- a/eng/templates/shared/build-steps.yml +++ b/eng/templates/shared/build-steps.yml @@ -20,5 +20,4 @@ steps: pip install pip-audit cd ${{ parameters.PROJECT_DIRECTORY }} pip-audit -r requirements.txt - displayName: 'Run vulnerability scan' - continueOnError: true \ No newline at end of file + displayName: 'Run vulnerability scan' \ No newline at end of file diff --git a/workers/pyproject.toml b/workers/pyproject.toml index 8681119c6..bc5014ae8 100644 --- a/workers/pyproject.toml +++ b/workers/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ "python-dateutil~=2.9.0", "protobuf~=4.25.3; python_version < '3.13'", "protobuf~=5.29.0; python_version == '3.13'", - "protobuf~=6.32.1; python_version == '3.14'", + "protobuf~=6.33.1; python_version == '3.14'", "grpcio-tools~=1.59.0;python_version < '3.13'", "grpcio-tools~=1.70.0; python_version == '3.13'", "grpcio-tools~=1.75.1; python_version == '3.14'", From 1fcf7a5cc5342102e8af82f03321924ee1f2eb61 Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Tue, 17 Feb 2026 16:40:03 -0600 Subject: [PATCH 2/9] unique build name --- eng/templates/jobs/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/templates/jobs/build.yml b/eng/templates/jobs/build.yml index 8e5cbd550..f55ff6200 100644 --- a/eng/templates/jobs/build.yml +++ b/eng/templates/jobs/build.yml @@ -4,8 +4,8 @@ parameters: PROJECT_DIRECTORY: '' jobs: - - job: "Build" - displayName: 'Build' + - job: "Build ${{ parameters.PROJECT_NAME }}" + displayName: 'Build ${{ parameters.PROJECT_NAME }}' pool: name: 1es-pool-azfunc-public From 3c7d84b1d0ef70e97a33f6be0ff6bbb0b9f1929d Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Tue, 17 Feb 2026 16:43:32 -0600 Subject: [PATCH 3/9] fix build name --- eng/ci/public-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index 19428f69d..9f380add1 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -56,17 +56,17 @@ extends: - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.11' - PROJECT_NAME: 'Azure Functions Python Worker <= 3.12' + PROJECT_NAME: 'Azure Functions Python Worker leq 3.12' PROJECT_DIRECTORY: 'workers' - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.13' - PROJECT_NAME: 'Azure Functions Python Worker == 3.13' + PROJECT_NAME: 'Azure Functions Python Worker eq 3.13' PROJECT_DIRECTORY: 'workers' - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.14' - PROJECT_NAME: 'Azure Functions Python Worker == 3.14' + PROJECT_NAME: 'Azure Functions Python Worker eq 3.14' PROJECT_DIRECTORY: 'workers' # Skip the build stage for SDK and Extensions release branches. This stage will fail because pyproject.toml contains the updated (and unreleased) library version condition: and(eq(variables.isSdkRelease, false), eq(variables.isExtensionsRelease, false), eq(variables['USETESTPYTHONSDK'], false), eq(variables['USETESTPYTHONEXTENSIONS'], false)) From 9439af4413a0b694f8e73e4cb09e2364d9a1d2ae Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Tue, 17 Feb 2026 16:45:29 -0600 Subject: [PATCH 4/9] fix build name pt2 --- eng/ci/public-build.yml | 6 +++--- eng/templates/jobs/build.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index 9f380add1..19428f69d 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -56,17 +56,17 @@ extends: - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.11' - PROJECT_NAME: 'Azure Functions Python Worker leq 3.12' + PROJECT_NAME: 'Azure Functions Python Worker <= 3.12' PROJECT_DIRECTORY: 'workers' - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.13' - PROJECT_NAME: 'Azure Functions Python Worker eq 3.13' + PROJECT_NAME: 'Azure Functions Python Worker == 3.13' PROJECT_DIRECTORY: 'workers' - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.14' - PROJECT_NAME: 'Azure Functions Python Worker eq 3.14' + PROJECT_NAME: 'Azure Functions Python Worker == 3.14' PROJECT_DIRECTORY: 'workers' # Skip the build stage for SDK and Extensions release branches. This stage will fail because pyproject.toml contains the updated (and unreleased) library version condition: and(eq(variables.isSdkRelease, false), eq(variables.isExtensionsRelease, false), eq(variables['USETESTPYTHONSDK'], false), eq(variables['USETESTPYTHONEXTENSIONS'], false)) diff --git a/eng/templates/jobs/build.yml b/eng/templates/jobs/build.yml index f55ff6200..b18085bd1 100644 --- a/eng/templates/jobs/build.yml +++ b/eng/templates/jobs/build.yml @@ -4,7 +4,7 @@ parameters: PROJECT_DIRECTORY: '' jobs: - - job: "Build ${{ parameters.PROJECT_NAME }}" + - job: "Build ${{ parameters.PYTHON_VERSION }}" displayName: 'Build ${{ parameters.PROJECT_NAME }}' pool: From f97ddb7a8d2e267a6b96044012eb524ea0f2c78a Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Wed, 18 Feb 2026 09:29:21 -0600 Subject: [PATCH 5/9] fix build name pt3 --- eng/templates/jobs/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/templates/jobs/build.yml b/eng/templates/jobs/build.yml index b18085bd1..f17607f73 100644 --- a/eng/templates/jobs/build.yml +++ b/eng/templates/jobs/build.yml @@ -4,7 +4,7 @@ parameters: PROJECT_DIRECTORY: '' jobs: - - job: "Build ${{ parameters.PYTHON_VERSION }}" + - job: "Build${{ parameters.PYTHON_VERSION }}" displayName: 'Build ${{ parameters.PROJECT_NAME }}' pool: From 590c6011284a514403c96a34954510d3df3648db Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Wed, 18 Feb 2026 09:43:58 -0600 Subject: [PATCH 6/9] fix build name pt4 --- eng/ci/public-build.yml | 3 +++ eng/templates/jobs/build.yml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index 19428f69d..2d55a1e19 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -56,16 +56,19 @@ extends: - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.11' + SIMPLE_VERSION: '311' PROJECT_NAME: 'Azure Functions Python Worker <= 3.12' PROJECT_DIRECTORY: 'workers' - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.13' + SIMPLE_VERSION: '313' PROJECT_NAME: 'Azure Functions Python Worker == 3.13' PROJECT_DIRECTORY: 'workers' - template: /eng/templates/jobs/build.yml@self parameters: PYTHON_VERSION: '3.14' + SIMPLE_VERSION: '314' PROJECT_NAME: 'Azure Functions Python Worker == 3.14' PROJECT_DIRECTORY: 'workers' # Skip the build stage for SDK and Extensions release branches. This stage will fail because pyproject.toml contains the updated (and unreleased) library version diff --git a/eng/templates/jobs/build.yml b/eng/templates/jobs/build.yml index f17607f73..1ceb033db 100644 --- a/eng/templates/jobs/build.yml +++ b/eng/templates/jobs/build.yml @@ -1,10 +1,11 @@ parameters: PYTHON_VERSION: '' + SIMPLE_VERSION: '' PROJECT_NAME: '' PROJECT_DIRECTORY: '' jobs: - - job: "Build${{ parameters.PYTHON_VERSION }}" + - job: "Build${{ parameters.SIMPLE_VERSION }}" displayName: 'Build ${{ parameters.PROJECT_NAME }}' pool: From 319cfbdf0c5ca97c447e8dad133d58820330b073 Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Wed, 18 Feb 2026 09:52:00 -0600 Subject: [PATCH 7/9] my life --- eng/pack/scripts/mac_arm64_deps.sh | 1 + eng/pack/scripts/nix_arm64_deps.sh | 2 ++ eng/pack/scripts/nix_deps.sh | 1 + eng/pack/scripts/win_deps.ps1 | 1 + 4 files changed, 5 insertions(+) diff --git a/eng/pack/scripts/mac_arm64_deps.sh b/eng/pack/scripts/mac_arm64_deps.sh index 9dd23b91d..4fcdf46fe 100644 --- a/eng/pack/scripts/mac_arm64_deps.sh +++ b/eng/pack/scripts/mac_arm64_deps.sh @@ -3,6 +3,7 @@ python -m venv .env source .env/bin/activate python -m pip install --upgrade pip +python -m pip install "setuptools>=62,<82.0" cd workers python -m pip install . diff --git a/eng/pack/scripts/nix_arm64_deps.sh b/eng/pack/scripts/nix_arm64_deps.sh index eec2ff13e..216c20d29 100644 --- a/eng/pack/scripts/nix_arm64_deps.sh +++ b/eng/pack/scripts/nix_arm64_deps.sh @@ -3,6 +3,7 @@ python -m venv .env source .env/bin/activate python -m pip install --upgrade pip +python -m pip install "setuptools>=62,<82.0" version_minor=$(echo $1 | cut -d '.' -f 2) mkdir -p $BUILD_SOURCESDIRECTORY/deps @@ -21,6 +22,7 @@ docker run --name my-arm64-container --platform linux/arm64 \ ls -la /src # debug: see what files exist apt-get update && apt-get install -y git curl && \ pip install --upgrade pip && \ + pip install "setuptools>=62,<82.0" && \ cd workers && \ pip install . && \ pip install . --target /src && \ diff --git a/eng/pack/scripts/nix_deps.sh b/eng/pack/scripts/nix_deps.sh index 9dd23b91d..4fcdf46fe 100644 --- a/eng/pack/scripts/nix_deps.sh +++ b/eng/pack/scripts/nix_deps.sh @@ -3,6 +3,7 @@ python -m venv .env source .env/bin/activate python -m pip install --upgrade pip +python -m pip install "setuptools>=62,<82.0" cd workers python -m pip install . diff --git a/eng/pack/scripts/win_deps.ps1 b/eng/pack/scripts/win_deps.ps1 index 96cd31a90..2d5b1e5c0 100644 --- a/eng/pack/scripts/win_deps.ps1 +++ b/eng/pack/scripts/win_deps.ps1 @@ -7,6 +7,7 @@ $versionMinor = [int]$versionParts[1] python -m venv .env .env\Scripts\Activate.ps1 python -m pip install --upgrade pip +python -m pip install "setuptools>=62,<82.0" cd workers python -m pip install . From 287e722f616aef279e2045f857a576997f0094fd Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Wed, 18 Feb 2026 09:59:48 -0600 Subject: [PATCH 8/9] temporarily unblock running unit tests --- eng/ci/public-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index 2d55a1e19..0ed59ed20 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -74,17 +74,20 @@ extends: # Skip the build stage for SDK and Extensions release branches. This stage will fail because pyproject.toml contains the updated (and unreleased) library version condition: and(eq(variables.isSdkRelease, false), eq(variables.isExtensionsRelease, false), eq(variables['USETESTPYTHONSDK'], false), eq(variables['USETESTPYTHONEXTENSIONS'], false)) - stage: CheckPythonWorkerDependencies + dependsOn: [] jobs: - template: /eng/templates/jobs/ci-dependency-check.yml@self parameters: PoolName: 1es-pool-azfunc-public - stage: RunWorkerUnitTests + dependsOn: CheckPythonWorkerDependencies jobs: - template: /eng/templates/jobs/ci-unit-tests.yml@self parameters: PROJECT_DIRECTORY: 'workers' PoolName: 1es-pool-azfunc-public - stage: RunWorkerEmulatorTests + dependsOn: CheckPythonWorkerDependencies jobs: - template: /eng/templates/jobs/ci-emulator-tests.yml@self parameters: From 0842dde7bbdb368a5b5a84039c5782769d869aea Mon Sep 17 00:00:00 2001 From: Victoria Hall Date: Wed, 18 Feb 2026 10:29:13 -0600 Subject: [PATCH 9/9] hm? --- eng/ci/public-build.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index 0ed59ed20..d48a46385 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -111,8 +111,6 @@ extends: PROJECT_DIRECTORY: 'runtimes/v2' PoolName: 1es-pool-azfunc-public - - # Python V1 Library Build and Test Stages - stage: BuildV1Library dependsOn: []