tessl install tessl/pypi-tox-pyenv@1.1.0tox plugin that makes tox use `pyenv which` to find python executables
Agent Success
Agent success rate when using this tile
98%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.03x
Baseline
Agent success rate without this tile
95%
Create a Python version manager integration utility that discovers Python executables based on local and global version configuration.
@generates
def find_version_executable(version_name: str) -> str:
"""
Find the full path to a Python executable for a specific version.
Args:
version_name: The Python version identifier (e.g., "python3.8")
Returns:
The absolute path to the Python executable
Raises:
RuntimeError: If the version manager command fails
"""
pass
def get_local_version_executable() -> str:
"""
Get the Python executable path for the locally-configured version.
Respects local version configuration in the current directory.
Returns:
The absolute path to the locally-configured Python executable
Raises:
RuntimeError: If version manager command fails
"""
pass
def get_global_version_executable() -> str:
"""
Get the Python executable path for the globally-configured version.
Returns:
The absolute path to the global default Python executable
Raises:
RuntimeError: If version manager command fails
"""
passProvides subprocess management for executing external commands and capturing output.
@satisfied-by
Provides operating system interfaces for path manipulation and environment variables.
@satisfied-by