Skip to content

Python: Lower Hyperlight dependency floors for 1.26 release - #10313

Merged
Eduard van Valkenburg (eavanvalkenburg) merged 2 commits into
mainfrom
hyperlight-dependency-bound
Nov 12, 2026
Merged

Eduard van Valkenburg (eavanvalkenburg) merged 2 commits into
mainfrom
hyperlight-dependency-bound

Conversation

@eavanvalkenburg

@eavanvalkenburg Eduard van Valkenburg (eavanvalkenburg) commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Motivation & Context

Restore the Hyperlight installation lower bounds to 0.8.0 for the Python 1.26.0 release, allowing dependency resolution to select either 0.8 or 0.9 packages rather than requiring 0.9.

Description & Review Guide

  • What are the major changes? Lower the minimum versions of hyperlight-sandbox, hyperlight-sandbox-backend-wasm, and hyperlight-sandbox-python-guest from 0.9.0 to 0.8.0. Update the workspace lockfile requirement metadata and clarify the execution API requirement in the package README.
  • What is the impact of these changes? Installation can resolve 0.8 or 0.9 packages. The <0.10 upper bounds, platform markers, package versions, release manifest, and existing 0.9.0 lockfile resolutions remain unchanged. No runtime behavior is changed.
  • What do you want reviewers to focus on? This is an installation-metadata fix, not a runtime compatibility implementation. Guest execution still calls Sandbox.interrupt_handle(), documented for Hyperlight SDK 0.9.0 or later. An installed SDK must provide that API to execute guest code; lowering the dependency floor does not add a fallback for older SDKs.

Related Issue

N/A - trivial change. Maintainer-requested dependency-floor correction for the pending Python 1.26.0 release.

AI Assistance

  • No material AI assistance was used.
  • This is an AI-assisted contribution. I reviewed, understood, and verified all submitted content and accept responsibility for it.

AI assistance details: Copilot assisted with the dependency metadata, README clarification, and PR description.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • All unit tests pass, and I have added new tests where possible
  • The PR follows the Contribution Guidelines
  • This PR links to an agreed issue with no competing open PR, or the Related Issue section documents a trivial-change or repository-automation exception.
  • This is not a breaking change. If it is a breaking change, add the breaking change label (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.

Local builds, tests, and other checks were not run at the maintainer's request. GitHub Actions will provide validation.

Copilot AI balanced review requested due to automatic review settings November 12, 2026 16:29

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.

🟡 Changes recommended

The lowered SDK minimum admits versions lacking Sandbox.interrupt_handle(), which execution calls unconditionally during warm-up, causing even trivial guest execution to fail.

1 open issue
What changed in this PR

This PR lowers Hyperlight installation dependency floors for the Python 1.26.0 release without changing runtime execution code.

Changes:

  • Lower three Hyperlight dependency minimums from 0.9.0 to 0.8.0, preserving upper bounds and platform markers.
  • Synchronize lockfile requirement metadata while retaining existing 0.9.0 resolutions.
  • Clarify that guest execution still requires Sandbox.interrupt_handle().
File Description
python/​uv.lock Aligns dependency requirement metadata with the lowered floors.
python/​packages/​hyperlight/​README.md Distinguishes installation bounds from execution API requirements.
python/​packages/​hyperlight/​pyproject.toml Lowers the three Hyperlight dependency minimums to 0.8.0.

Review effort: Balanced

@github-code-quality

Copy link
Copy Markdown
Contributor

Code coverage overview

Languages: Python

Python / code-coverage/python

main 6811ef8 hyperlight-dependenc... 8571cad +/-
92% 92% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@github-actions github-actions Bot 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.

MAF Automated Review — Iteration 1

Result: No findings
Scope: full PR (2 commit(s)): 20cf660a446d, 8571cad7cebd
Model: gpt-5.6-sol

Overview

The PR lowers the Hyperlight dependency metadata to 0.8 while retaining 0.9 lockfile resolutions and explicitly documenting the narrower execution API requirement. The declared constraints are synchronized between the package manifest and lockfile metadata, and existing native tests exercise the locked 0.9 runtime behavior. No additional publishable concern remained after evidence reconciliation and deduplication against supplied feedback.

Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
No publishable findings remained after source verification for this scope.

Merged via the queue into main with commit 4f2d146 Nov 12, 2026
62 of 64 checks passed
@eavanvalkenburg
Eduard van Valkenburg (eavanvalkenburg) deleted the hyperlight-dependency-bound branch November 12, 2026 17:03

This branch was successfully deployed

1 active deployment
github-app-auth — 8571cad7 Deployed Nov 12, 2026 by eavanvalkenburg via team_check #9392
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants