Skip to content

Commit 7582863

Browse files
fix: install setuptools from PyPI before PipAuthenticate
UsePythonVersion provides a clean Python without setuptools. Install it directly from PyPI (before PipAuthenticate sets env vars) so --no-build-isolation can find the build backend. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 227605c commit 7582863

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.azure-pipelines/daily-ci-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ extends:
4848
inputs:
4949
versionSpec: '3.12'
5050

51+
- script: pip install setuptools>=65.5.0 wheel --index-url https://pypi.org/simple
52+
displayName: Install build tools from PyPI
53+
workingDirectory: $(Build.SourcesDirectory)
54+
5155
- task: PipAuthenticate@1
5256
displayName: Authenticate with Azure Artifacts
5357
inputs:

0 commit comments

Comments
 (0)