#9974 refactor: Split virtualenv functionality into venv and package management components
Pull request opened by
edgarrmondragon
Description
Checklist
• I have read the
contribution guide
Was generative AI tooling used to co-author this PR?
• Yes (please specify the tool below)
Related Issues
• Closes #XXXX
Summary by Sourcery
Extract package management operations from virtual environment backends into dedicated package manager components and wire existing venv implementations to use them.
Enhancements:
• Introduce a generic PackageManager abstraction with pip- and uv-based implementations decoupled from virtual environment lifecycle management.
• Update VirtualenvBackend and UvBackend to delegate install, uninstall, and list operations to their respective package manager instances for clearer separation of concerns.
• Refine virtual environment backend interfaces by explicitly defining venv creation separately from package management behavior.
meltano/meltano