-
-
Notifications
You must be signed in to change notification settings - Fork 553
virtualenv is not recreated when deps change if '-r' is used #149
Copy link
Copy link
Closed
Labels
area:testenv-creationbug:normalaffects many people or has quite an impactaffects 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.This 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 implementrought estimate that this might be quite hard to implement
Metadata
Metadata
Assignees
Labels
area:testenv-creationbug:normalaffects many people or has quite an impactaffects 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.This 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 implementrought estimate that this might be quite hard to implement
In my tox.ini, I have the following deps:
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.