Repository navigation
build: resolve packages from the Central Feed Services mirror of PyPI - #1272
Merged
Carter Tinney (cartertinney) merged 1 commit intoNov 17, 2026
Merged
Conversation
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>
Maxim Semenov (maximsemenov80)
requested review from
Avishek (avishekpant) and
Ewerton Scaboro da Silva (ewertons)
and
a balanced review from Copilot
November 17, 2026 22:33
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are identified for the production pipeline’s switch to the approved Python package mirror.
No open issues 🎉
What changed in this PR
Updates the production build pipeline to resolve Python packages through the approved Central Feed Services mirror of PyPI, supporting the SDL dependency-source requirement.
Changes:
- Sets
PIP_INDEX_URLandUV_DEFAULT_INDEXto the CFS mirror for pip and uv. - Leaves the test-only e2e, nightly, and canary pipelines unchanged.
| File | Description |
|---|---|
vsts/build.yaml |
Configures the approved Python package mirror and documents its quarantine behavior. |
Review effort: Balanced
Carter Tinney (cartertinney)
approved these changes
Nov 17, 2026
Carter Tinney (cartertinney)
deleted the
maximsemenov/use-cfs-pypi-feed
branch
November 17, 2026 23:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
SDL requirement (S360 / Continuous SDL, Nov 2026): production builds must only consume dependencies from approved sources. The
build.yamlpipeline (the production build that producesdist) installeduvfrom pypi.org and resolved build requirements from pypi.org.What
Set
PIP_INDEX_URLandUV_DEFAULT_INDEXinvsts/build.yamlto the Central Feed Services (CFS) mirror of PyPI,https://packagefeedproxy.microsoft.io/pypi/simple/. It is the Microsoft-managed public mirror that quarantines newly published versions, the same host Node already uses. It needs no authentication.Scope is the production build only. The e2e, nightly and canary pipelines are test-only and are not changed here.
Verification
Locally with these two variables set:
pip install uvanduv buildboth succeed, resolvinguvandsetuptoolsthrough the feed. The PR gate runsbuild.yamlwith the change.New package versions will be available to the build only after the CFS quarantine period (7 days for PyPI).