From ce45bb0d16b130e8a448a9518e53d49d39a2d786 Mon Sep 17 00:00:00 2001 From: maximsemenov Date: Tue, 17 Nov 2026 14:33:11 -0800 Subject: [PATCH] build: resolve packages from the Central Feed Services mirror of PyPI The SDL requirement that production builds only consume dependencies from approved sources is not met while the build pulls from pypi.org. Point pip and uv at the Central Feed Services (CFS) mirror of PyPI, which also quarantines newly published versions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- vsts/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vsts/build.yaml b/vsts/build.yaml index 5d50b657a..7573cbccb 100644 --- a/vsts/build.yaml +++ b/vsts/build.yaml @@ -19,6 +19,10 @@ variables: # job below opts back in. # See https://aka.ms/codeql3000 and https://aka.ms/sdlfaqcodeql. Codeql.Enabled: false + # Resolve packages from the Central Feed Services mirror of PyPI (the approved + # source, with quarantine of newly published versions) instead of pypi.org. + PIP_INDEX_URL: https://packagefeedproxy.microsoft.io/pypi/simple/ + UV_DEFAULT_INDEX: https://packagefeedproxy.microsoft.io/pypi/simple/ #Multi-configuration and multi-agent job options are not exported to YAML. Configure these options using documentation guidance: https://docs.microsoft.com/vsts/pipelines/process/phases jobs: