Skip to content

Derive SDK package versions from Foundry Local Core#710

Open
bmehta001 wants to merge 4 commits into
mainfrom
bhamehta/sdk-version-from-core
Open

Derive SDK package versions from Foundry Local Core#710
bmehta001 wants to merge 4 commits into
mainfrom
bhamehta/sdk-version-from-core

Conversation

@bmehta001
Copy link
Copy Markdown
Contributor

Summary

  • Derive SDK packaging versions from the selected Foundry Local Core branch via NBGV instead of a manual pipeline version parameter.
  • Carry shared SemVer, PEP 440, and Core NuGet version files through the existing version-info artifact so all SDK package formats come from the same Core version source.
  • Use the computed Python-safe version for Core wheels and generated deps_versions*.json.
  • Read C++ SDK native dependency defaults from sdk/deps_versions.json instead of hard-coding Core/ORT package versions in CMake.

Validation

  • Parsed changed Azure Pipeline YAML files with PyYAML.
  • Validated CMake JSON extraction for sdk/deps_versions.json.
  • Validated Core-derived version outputs against the current bhamehta/filter-min-fl-version Core branch for dev, release, and explicit prerelease cases.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 14, 2026 02:04
@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment May 14, 2026 6:13pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR moves SDK/package versioning to versions derived from Foundry Local Core NBGV output and propagates those versions through packaging artifacts and SDK build templates.

Changes:

  • Computes SDK, Python, and Core package versions from the selected Core branch.
  • Reads Python-safe Core wheel/dependency versions from the shared version-info artifact.
  • Updates C++ native dependency defaults to read from sdk/deps_versions.json.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.pipelines/foundry-local-packaging.yml Adds Core-derived version computation and removes manual version parameter plumbing.
.pipelines/templates/package-core-steps.yml Uses shared Python version output for Core wheels and dependency metadata.
.pipelines/templates/build-cs-steps.yml Removes unused manual version parameters.
.pipelines/templates/build-js-steps.yml Removes unused manual version parameters.
.pipelines/templates/build-python-steps.yml Removes unused manual version parameters.
.pipelines/templates/build-rust-steps.yml Removes unused manual version parameters.
sdk/cpp/CMakeLists.txt Loads native dependency versions from sdk/deps_versions.json.
sdk/cpp/README.md Updates troubleshooting guidance to point at sdk/deps_versions.json.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .pipelines/foundry-local-packaging.yml Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

2 participants