Skip to content

virtualenv is not recreated when deps change if '-r' is used #149

@pytoxbot

Description

@pytoxbot

In my tox.ini, I have the following deps:

deps = -rpackaging/requirements.txt

Normally, when deps change, the virtualenv is recreated by tox.
However, when the contents of requirements.txt change, tox does not notice this and the environment is reused.

A workaround would be to list the deps directly in tox.ini, but that would require duplicating the contents of the existing requirements.txt that is used by other tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:testenv-creationbug:normalaffects many people or has quite an impactfixed-by-tox4This has been fixed within tox 4, and we don't plant to backport it to version 3.level:hardrought estimate that this might be quite hard to implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions