Skip to content

build: resolve packages from the Central Feed Services mirror of PyPI - #1272

Merged
Carter Tinney (cartertinney) merged 1 commit into
mainfrom
maximsemenov/use-cfs-pypi-feed
Nov 17, 2026
Merged

Carter Tinney (cartertinney) merged 1 commit into
mainfrom
maximsemenov/use-cfs-pypi-feed

Conversation

@maximsemenov80

Copy link
Copy Markdown
Contributor

Why

SDL requirement (S360 / Continuous SDL, Nov 2026): production builds must only consume dependencies from approved sources. The build.yaml pipeline (the production build that produces dist) installed uv from pypi.org and resolved build requirements from pypi.org.

What

Set PIP_INDEX_URL and UV_DEFAULT_INDEX in vsts/build.yaml to 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 uv and uv build both succeed, resolving uv and setuptools through the feed. The PR gate runs build.yaml with the change.

New package versions will be available to the build only after the CFS quarantine period (7 days for 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>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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_URL and UV_DEFAULT_INDEX to 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

@cartertinney
Carter Tinney (cartertinney) merged commit a94c15d into main Nov 17, 2026
43 checks passed
@cartertinney
Carter Tinney (cartertinney) deleted the maximsemenov/use-cfs-pypi-feed branch November 17, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants