<#9613 fix: Auto-install plugin if existing virtua...
# meltano-repo-activity
g
#9613 fix: Auto-install plugin if existing virtualenv is broken Pull request opened by edgarrmondragon ## Description ## Related Issues • Closes #XXXX ## Summary by Sourcery Detect and automatically reinstall broken virtual environments by introducing venv health checks and centralizing path resolution in the VirtualEnv class, and update services to leverage these new methods and modern project directory APIs. New Features: • Add VirtualEnv.requires_install to determine when a venv is stale or invalid based on missing executables or fingerprint mismatches. • Add VirtualEnv.exec_path and python_path to resolve venv executables across platforms. Bug Fixes: • Ensure Windows executables are correctly resolved by checking for a .exe suffix in exec_path. Enhancements: • Delegate VenvService.requires_clean_install and exec_path to the new VirtualEnv methods. • Simplify PluginInstallService installation checks to use VirtualEnv.requires_install. • Replace deprecated project.venvs_dir, run_dir, and plugin_dir calls with the new project.dirs API. meltano/meltano