Skip to content

install python sdk with --no-deps in CI#582

Open
prathikr wants to merge 3 commits intomainfrom
prathikrao/python-no-deps
Open

install python sdk with --no-deps in CI#582
prathikr wants to merge 3 commits intomainfrom
prathikrao/python-no-deps

Conversation

@prathikr
Copy link
Copy Markdown
Contributor

@prathikr prathikr commented Apr 3, 2026

allows CI to install custom foundry-local-core from pipeline while built package installs foundry-local-core defined in requirements.txt/requirements-winml.txt

Copilot AI review requested due to automatic review settings April 3, 2026 06:08
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

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

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Apr 3, 2026 6:42am

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 updates the Python SDK build/install flow so CI can use a pipeline-built foundry-local-core without the SDK installation re-downloading/pinning native dependencies, while keeping the wheel’s dependency metadata intact for end users.

Changes:

  • Removed the skip-native-deps build-backend behavior and related documentation from sdk/python/build_backend.py.
  • Updated Python CI templates to build the wheel without -C skip-native-deps=true and to install the built wheel via pip install --no-deps.
  • Updated pipeline comments to reflect that dependencies remain in wheel metadata and CI avoids re-downloading via --no-deps.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
sdk/python/build_backend.py Removes “skip native deps” patching support; updates docstring to recommend pip install --no-deps in CI.
.pipelines/templates/test-python-steps.yml Builds wheel without skip-native-deps and installs the wheel with --no-deps during tests.
.pipelines/templates/build-python-steps.yml Builds wheel without skip-native-deps and installs the wheel with --no-deps in packaging workflow.

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

baijumeswani
baijumeswani previously approved these changes Apr 3, 2026
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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.


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

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