From 9fa9c81007e543373f32701f195a86daa9693cbf Mon Sep 17 00:00:00 2001 From: gr Date: Thu, 5 Dec 2024 11:42:12 +0100 Subject: [PATCH 1/3] check forcing setuptools installating in BuildPublishArtifact --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cf11cac0..b2f57725 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -103,7 +103,7 @@ stages: - stage: BuildPublishArtifact dependsOn: RunAllTests - condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/release-'), eq(variables.triggeredByPullRequest, false)) + condition: and(succeeded(), or(startsWith(variables['Build.SourceBranch'], 'refs/tags/release-'), startsWith(variables['Build.SourceBranch'], 'refs/tags/fix/python-3.12')), eq(variables.triggeredByPullRequest, false)) jobs: # Need to use manylinux as ubuntu-latest is too new - job: Manylinux2014Build @@ -128,6 +128,7 @@ stages: "${PYBIN}/python" -m pip install wheel "${PYBIN}/python" -m pip install -r requirements.txt "${PYBIN}/python" -m pip install cython + "${PYBIN}/python" -m pip install setuptools displayName: 'Install dependencies and build tools' env: PYBIN: /opt/python/$(python.version)/bin From cebd7ad27e281762e9f7eef0d56cdcd445a75294 Mon Sep 17 00:00:00 2001 From: gr Date: Thu, 5 Dec 2024 11:52:52 +0100 Subject: [PATCH 2/3] relaxing step condition for testing BuildPublishArtifact --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b2f57725..7fc9bcd2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -103,7 +103,8 @@ stages: - stage: BuildPublishArtifact dependsOn: RunAllTests - condition: and(succeeded(), or(startsWith(variables['Build.SourceBranch'], 'refs/tags/release-'), startsWith(variables['Build.SourceBranch'], 'refs/tags/fix/python-3.12')), eq(variables.triggeredByPullRequest, false)) + # condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/release-'), eq(variables.triggeredByPullRequest, false)) + condition: succeeded() jobs: # Need to use manylinux as ubuntu-latest is too new - job: Manylinux2014Build From f2ad096b1858ac70928798d13ff18046078140e9 Mon Sep 17 00:00:00 2001 From: gr Date: Thu, 5 Dec 2024 12:11:31 +0100 Subject: [PATCH 3/3] reverts relaxes build conditions for BuildPublishArtifact --- azure-pipelines.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7fc9bcd2..3d1b5dc8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -103,8 +103,7 @@ stages: - stage: BuildPublishArtifact dependsOn: RunAllTests - # condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/release-'), eq(variables.triggeredByPullRequest, false)) - condition: succeeded() + condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/release-'), eq(variables.triggeredByPullRequest, false)) jobs: # Need to use manylinux as ubuntu-latest is too new - job: Manylinux2014Build