or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/tox-pyenv@1.1.x
tile.json

tessl/pypi-tox-pyenv

tessl install tessl/pypi-tox-pyenv@1.1.0

tox 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%

task.mdevals/scenario-2/

Tox Configuration Manager

A Python utility that manages tox configuration files to control pyenv fallback behavior in testing environments.

Capabilities

Configure tox-pyenv fallback behavior

  • Creates a tox.ini file with a testenv section that includes the tox_pyenv_fallback attribute set to False @test
  • Updates an existing tox.ini file to add or modify the tox_pyenv_fallback attribute in the testenv section @test
  • Reads a tox.ini file and extracts the current tox_pyenv_fallback setting value @test

Implementation

@generates

API

def create_tox_config(output_path: str, fallback: bool = False) -> None:
    """
    Creates a tox.ini configuration file with tox_pyenv_fallback setting.

    Args:
        output_path: Path where the tox.ini file should be created
        fallback: Value for tox_pyenv_fallback (True or False)
    """
    pass

def update_tox_config(config_path: str, fallback: bool) -> None:
    """
    Updates the tox_pyenv_fallback setting in an existing tox.ini file.

    Args:
        config_path: Path to the existing tox.ini file
        fallback: New value for tox_pyenv_fallback (True or False)
    """
    pass

def read_fallback_setting(config_path: str) -> bool:
    """
    Reads the tox_pyenv_fallback setting from a tox.ini file.

    Args:
        config_path: Path to the tox.ini file

    Returns:
        The value of tox_pyenv_fallback (True or False)
    """
    pass

Dependencies { .dependencies }

tox-pyenv { .dependency }

A tox plugin that provides pyenv integration and configuration options for controlling Python version discovery behavior.