Skip to content

Commit 5c3b92c

Browse files
committed
Update documentation; Update configuration
Modified: • pyproject.toml (+1/-1 lines) • CHANGELOG.md (+57/-0 lines) [gitship-generated]
1 parent 975bdac commit 5c3b92c

2 files changed

Lines changed: 58 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,63 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
---
99

10+
## [3.3.2] — 2026-05-21
11+
12+
Daemon Isolation & Windows Deadlock Fixes
13+
14+
## 🚀 What's New in v3.3.2
15+
16+
This is a critical hotfix release that completely resolves environment leakage issues in the daemon worker (especially for complex packages like TensorFlow) and patches severe deadlocks during heavy I/O streaming on Windows. It also introduces bulletproof safety rails for bootstrapping new interpreters!
17+
18+
* **Strict Daemon Environment Isolation:** Enforced strict numpy ABI isolation by stripping the main environment's `site-packages` from the daemon worker's `sys.path`. This completely resolves silent leakage and import crashes for heavy frameworks like TensorFlow 2.20.
19+
* **Windows Streaming Deadlocks:** Bypassed the daemon entirely for certain interactive and streaming commands on Windows (such as the stress test). This prevents nasty edge-case deadlocks where the Windows daemon would hang during heavy stdout streaming.
20+
* **Interpreter Bootstrap Safety (Platform Markers):** Fixed a fatal `ModuleNotFoundError` during interpreter adoption. Dependencies are now installed sequentially, and `platform_system` markers are dynamically evaluated to prevent OS-specific packages (like `cryptography-wasm`) from crashing the entire bootstrap sequence on Linux/Windows.
21+
22+
* **Windows Native Dispatcher POC (Ghost-Spawn):** Merged a working Proof-of-Concept for a native C dispatcher on Windows! While it successfully compiles, safely overwriting the locked `8pkg.exe` entrypoint is still actively being ironed out. For now, Windows will safely fall back to the Python dispatcher.
23+
24+
* **Stable ABI3 Wheels (`cp37-abi3`):** Consolidated CPython wheel builds to enforce the `cp37-abi3` tag. This drastically reduces wheel bloat, bundles the compiled C dispatcher (for Unix) directly into the wheel, and guarantees forward compatibility with Python 3.14+.
25+
* **Nuclear Worker Shutdown (Windows):** Upgraded the daemon pool's shutdown sequence on Windows. It now utilizes a recursive tree kill (`taskkill /F /T`) to ensure zero orphaned child processes are left behind when the daemon exits.
26+
* **WebAssembly (WASM) Support:** Added safety rails and Emscripten exclusion markers to cleanly skip C-extension compilation and use `cryptography-wasm` when running in browser environments.
27+
28+
---
29+
30+
**📝 Code Changes:**
31+
- UPDATE: src/omnipkg/cli.py (13 lines changed)
32+
- UPDATE: src/omnipkg/common_utils.py (39 lines changed)
33+
- UPDATE: src/omnipkg/dispatcher.py (387 lines changed)
34+
- UPDATE: src/omnipkg/ghost.c (198 lines changed)
35+
- UPDATE: src/omnipkg/isolation/patchers.py (24 lines changed)
36+
- UPDATE: src/omnipkg/isolation/worker_daemon.py (1104 lines changed)
37+
- UPDATE: src/omnipkg/isolation/workers.py (10 lines changed)
38+
- UPDATE: src/omnipkg/loader.py (191 lines changed)
39+
40+
**🧪 Tests:**
41+
- UPDATE: src/omnipkg/tests/test_loader_stress_test.py (428 lines)
42+
43+
**Additional Changes:**
44+
- Update 1 code files
45+
- Update 2 code files
46+
- fix: encoding fix on windows in workers.py
47+
- fix(isolation): enforce strict numpy ABI isolation and force subprocess installs
48+
- fix: Update 2 code files
49+
- fix(dispatch): fix Windows script path discovery and path
50+
- fix(dispatch): move Windows marker writing to ghost process and add size-check
51+
- ci: adding debugging for tests dir
52+
- fix: resolve TESTS_DIR path absolutely for CI compatibility
53+
54+
**New Features:**
55+
- feat: sync worker_daemon, loader, readme from development
56+
- feat: sync core.py improvements from development
57+
- feat: add windows_bootstrap from development
58+
59+
**Updates:**
60+
- Update manylinux images to use manylinux2014
61+
- Update publish-wheels.yml
62+
- Update test path in old_rich_test.yml
63+
- Update publish conditions in workflow
64+
65+
_30 files changed, 2241 insertions(+), 2266 deletions(-)_
66+
1067
## [3.3.1] — 2026-05-08
1168

1269
prevent interpreter corruption on second TF load in same process

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ backend-path = ["."]
66

77
[project]
88
name = "omnipkg"
9-
version = "3.3.1"
9+
version = "3.3.2"
1010
authors = [
1111
{ name = "1minds3t", email = "1minds3t@proton.me" },
1212
]

0 commit comments

Comments
 (0)