Skip to content

tox 4: passenv can no longer use factors #2718

@mkoeppe

Description

@mkoeppe

My tox.ini files are affected by a change to the parsing of passenv in tox 4:
I can no longer use factors to conditionalize which environment variables are passed:

passenv =
    sagepython, sagewheels:  SAGE_VENV
    sagewheels:              SAGE_SPKG_WHEELS

(from https://github.com/sagemath/sage/blob/develop/pkgs/sagemath-categories/tox.ini#L29)

Originally posted by @mkoeppe in #2699 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:minordoes not affect many people or has no big impacthelp:wantedIssues that have been acknowledged, a solution determined and a PR might likely be accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions