diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index a8456b72..470a94f9 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -52,6 +52,8 @@ extends: - stage: Build jobs: - template: /eng/templates/jobs/build.yml@self + # 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: RunUnitTests dependsOn: Build jobs: diff --git a/eng/templates/jobs/build.yml b/eng/templates/jobs/build.yml index dd422f4f..c5b989c7 100644 --- a/eng/templates/jobs/build.yml +++ b/eng/templates/jobs/build.yml @@ -20,9 +20,7 @@ jobs: python -m pip install --upgrade pip python -m pip install . displayName: 'Build python worker' - # 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)) - bash: | pip install pip-audit pip-audit -r requirements.txt - displayName: 'Run vulnerability scan' \ No newline at end of file + displayName: 'Run vulnerability scan' diff --git a/pyproject.toml b/pyproject.toml index 5e7f39c0..a8581e5a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ "Intended Audience :: Developers" ] dependencies = [ - "azure-functions==1.23.0b1", + "azure-functions==1.23.0b2", "python-dateutil ~=2.9.0", "protobuf~=3.19.3; python_version == '3.7'", "protobuf~=4.25.3; python_version >= '3.8'",