Skip to content

user controlled pytest-cache separation by environment #10002

Open
@RonnyPfannschmidt

Description

@RonnyPfannschmidt

if "TOX_ENV_DIR" in os.environ:
cache_dir_default = os.path.join(os.environ["TOX_ENV_DIR"], cache_dir_default)

adds a utterly hackish way to have pytest-cache by tox env
we should make it more nuanced and aware of more types of session (nox ,hatch, virtualenvwrapper)

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: cacherelated to the cache builtin plugintype: enhancementnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions