omnipkg v2.2.0 - Per-Process Python Isolation for Safe, Concurrent, CI-Ready Workflows #65
1minds3t
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
Version 2.2.0 represents a comprehensive architectural redesign focused on performance optimization, automation enhancement, and code quality improvements. This release introduces a persistent daemon architecture, optional hardware-accelerated atomic operations, and fully automated continuous delivery pipelines.
Major Features
High-Performance Worker Daemon
Replaced the on-demand worker system with
WorkerPoolDaemon, a persistent service that maintains pre-forked Python processes. This architecture delivers near-instantaneous response times for package execution by eliminating cold-start overhead.Key Benefits:
Hardware-Accelerated Atomic Operations
Introduced an optional C extension (
omnipkg_atomic) implementing compare-and-swap (CAS) operations using native CPU atomic instructions. The system gracefully degrades to a pure-Python implementation when compilation is unavailable.Technical Details:
Automated Conda-Forge Release Pipeline
Implemented end-to-end automation for conda-forge distribution:
Enhancements
Internationalization Expansion
Expanded translation coverage across CLI interfaces and logging systems, improving accessibility for international users.
Intelligent Resource Monitoring
Enhanced
8pkg daemon monitorwith daemon API integration for real-time worker pool status and accurate process tracking.Dependency-Aware Verification
Improved installation verification logic to include transitive dependencies in bubble environments (e.g., providing TensorFlow when verifying Keras imports).
Integrated Historical Package Support
Consolidated time-machine functionality directly into core installation logic, eliminating the need for a separate module.
Code Quality Improvements
Architectural Simplification
worker_controller.py,deptimemachine.py,lockmanager.pyTest Suite Modernization
Breaking Changes
None. This release maintains backward compatibility with v2.1.x configurations.
Upgrade Instructions
pip install --upgrade omnipkg # or conda install -c conda-forge omnipkgFor users running the daemon, restart is recommended:
Beta Was this translation helpful? Give feedback.
All reactions