Repository navigation
Remove direct PyPI check from isolated build - #8593
Merged
Amaury Chamayou (achamayou) merged 1 commit intoOct 18, 2026
Merged
Amaury Chamayou (achamayou) merged 1 commit into
Amaury Chamayou (achamayou) merged 1 commit into
Conversation
Co-authored-by: Copilot <[email protected]>
Shiva Sathwik Basavapatna Ramaprasad (shivasathwikb)
requested a review
from a team
as a code owner
October 16, 2026 17:24
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused removal addresses the blocked request without changing the remaining package validation or publication flow.
0 open findings
What changed in this PR
Removes the direct PyPI preflight request so OneBranch network isolation no longer blocks valid release builds.
Changes:
- Removes the package-version lookup while preserving wheel building and validation.
- Updates documentation to describe publication-time overwrite protection.
Custom instructions used
Repository Copilot instructions supplied in the review context; no additional instruction files loaded.
| File | Description |
|---|---|
.pipelines/scripts/build-pypi-package.sh |
Removes the direct PyPI version check. |
.pipelines/README.md |
Updates validation and overwrite-protection documentation. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Amaury Chamayou (achamayou)
approved these changes
Oct 17, 2026
8 tasks
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.
Motivation
The OneBranch PyPI release pipeline directly queries
pypi.orgbefore building the wheel to check whether the package version already exists.OneBranch network isolation blocks direct access to
pypi.org, causing valid tag runs to fail with: