Skip to content

v1.2.0 - Centralized Upgrade Workflow

Latest

Choose a tag to compare

@paxcalpt paxcalpt released this 17 Dec 15:58

Added

  • Upgrade Workflow: New centralized handle_upgrade_workflow() function for CLI applications
    • Complete end-to-end upgrade workflow with update checking, user confirmation, and execution
    • UpgradeNotifier Protocol for custom CLI output formatting
    • SimpleUpgradeNotifier implementation with no external dependencies
    • Supports check-only mode, skip confirmation, and custom GitHub release URLs
    • Returns standardized (success, error) tuples for easy error handling
    • Designed for reuse across all HenriquesLab CLI tools
  • Workflows Package: New workflows/ module for common CLI task workflows
    • Exported handle_upgrade_workflow, UpgradeNotifier, SimpleUpgradeNotifier from main package

Fixed

  • Python 3.9 compatibility in test suite
  • Test mocking for optional rich dependency