[PR #9] [MERGED] feat: pyisolate 0.10.0 — conda backend, sealed workers, CUDA wheels, sandbox hardening #10

Closed
opened 2026-10-26 22:11:32 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/pyisolate/pull/9
Author: @pollockjj
Created: 3/29/2026
Status: ✅ Merged
Merged: 3/29/2026
Merged by: @pollockjj

Base: main ← Head: develop


📝 Commits (1)

  • 2c9878d feat: pyisolate 0.10.0 — conda backend, sealed workers, CUDA wheels, event channel, sandbox hardening

📊 Changes

61 files changed (+5735 additions, -573 deletions)

View changed files

📝 .gitignore (+3 -2)
📝 README.md (+62 -1)
📝 pyisolate/__init__.py (+3 -1)
📝 pyisolate/_internal/bootstrap.py (+63 -21)
📝 pyisolate/_internal/client.py (+4 -0)
📝 pyisolate/_internal/cuda_wheels.py (+95 -45)
📝 pyisolate/_internal/environment.py (+81 -1)
➕ pyisolate/_internal/environment_conda.py (+464 -0)
➕ pyisolate/_internal/event_bridge.py (+30 -0)
📝 pyisolate/_internal/host.py (+135 -51)
📝 pyisolate/_internal/model_serialization.py (+57 -39)
➕ pyisolate/_internal/perf_trace.py (+53 -0)
📝 pyisolate/_internal/rpc_serialization.py (+84 -48)
📝 pyisolate/_internal/rpc_transports.py (+43 -27)
📝 pyisolate/_internal/sandbox.py (+157 -84)
📝 pyisolate/_internal/sandbox_detect.py (+42 -41)
📝 pyisolate/_internal/tensor_serializer.py (+104 -15)
📝 pyisolate/_internal/uds_client.py (+39 -24)
📝 pyisolate/config.py (+24 -2)
📝 pyisolate/host.py (+10 -0)

...and 41 more files

📄 Description

Summary

  • Conda/pixi backend: environment creation, config, routing, PEP 508 markers
  • CUDA wheel resolver: target_python, multi-index, find_links, dotted torch versions
  • Sealed worker execution model: uv and conda backends, proxy handle round-trip
  • RPC serialization: dynamic serializer resolution, perf tracing
  • Generic event channel: child-to-host dispatch, setup_child_event_hooks
  • Bwrap sandbox hardening: adapter paths, sealed workers, sys.base_prefix
  • Decoupling: remove ComfyUI-specific references from pyisolate core
  • Platform fixes: Windows uv_exe fallback, test expectations, TMPDIR cleanup
  • Version bump: 0.9.2 → 0.10.0 (pyproject.toml + init.py)

Test plan

  • All CI checks green on pollockjj/pyisolate PR #4 (53 checks pass)
  • Upstream CI: all matrix legs pass
  • Build wheels: all platforms build and smoke test pass
  • Lint: ruff check + ruff format --check + mypy all exit 0

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/pyisolate/pull/9 **Author:** [@pollockjj](https://github.com/pollockjj) **Created:** 3/29/2026 **Status:** ✅ Merged **Merged:** 3/29/2026 **Merged by:** [@pollockjj](https://github.com/pollockjj) **Base:** `main` ← **Head:** `develop` --- ### 📝 Commits (1) - [`2c9878d`](https://github.com/Comfy-Org/pyisolate/commit/2c9878d77d8d18e26353efb9f9184fb12cec3ba1) feat: pyisolate 0.10.0 — conda backend, sealed workers, CUDA wheels, event channel, sandbox hardening ### 📊 Changes **61 files changed** (+5735 additions, -573 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -2) 📝 `README.md` (+62 -1) 📝 `pyisolate/__init__.py` (+3 -1) 📝 `pyisolate/_internal/bootstrap.py` (+63 -21) 📝 `pyisolate/_internal/client.py` (+4 -0) 📝 `pyisolate/_internal/cuda_wheels.py` (+95 -45) 📝 `pyisolate/_internal/environment.py` (+81 -1) ➕ `pyisolate/_internal/environment_conda.py` (+464 -0) ➕ `pyisolate/_internal/event_bridge.py` (+30 -0) 📝 `pyisolate/_internal/host.py` (+135 -51) 📝 `pyisolate/_internal/model_serialization.py` (+57 -39) ➕ `pyisolate/_internal/perf_trace.py` (+53 -0) 📝 `pyisolate/_internal/rpc_serialization.py` (+84 -48) 📝 `pyisolate/_internal/rpc_transports.py` (+43 -27) 📝 `pyisolate/_internal/sandbox.py` (+157 -84) 📝 `pyisolate/_internal/sandbox_detect.py` (+42 -41) 📝 `pyisolate/_internal/tensor_serializer.py` (+104 -15) 📝 `pyisolate/_internal/uds_client.py` (+39 -24) 📝 `pyisolate/config.py` (+24 -2) 📝 `pyisolate/host.py` (+10 -0) _...and 41 more files_ </details> ### 📄 Description ## Summary - **Conda/pixi backend**: environment creation, config, routing, PEP 508 markers - **CUDA wheel resolver**: target_python, multi-index, find_links, dotted torch versions - **Sealed worker execution model**: uv and conda backends, proxy handle round-trip - **RPC serialization**: dynamic serializer resolution, perf tracing - **Generic event channel**: child-to-host dispatch, setup_child_event_hooks - **Bwrap sandbox hardening**: adapter paths, sealed workers, sys.base_prefix - **Decoupling**: remove ComfyUI-specific references from pyisolate core - **Platform fixes**: Windows uv_exe fallback, test expectations, TMPDIR cleanup - **Version bump**: 0.9.2 → 0.10.0 (pyproject.toml + __init__.py) ## Test plan - [x] All CI checks green on pollockjj/pyisolate PR #4 (53 checks pass) - [ ] Upstream CI: all matrix legs pass - [ ] Build wheels: all platforms build and smoke test pass - [ ] Lint: ruff check + ruff format --check + mypy all exit 0 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 22:11:32 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/pyisolate#10
No description provided.