Join GitHub today
recreate venv when -rrequire.txt changes #668
This seems to be a long standing fundamental issue with tox, thats been long sidelined by calling -r in deps spec experimental, but given its common usage, one worth correcting given its a common pitfall, and reported numerous times per discussion and refs in #149. i took a look at the suggestions in there of various other tools, but they all had various pitfalls, and also took a look at what some other real world projects are doing with tox (like botocore which does a separate installer script in commands to avoid this pitfall) before deciding the simplest thing was just fixing tox, via checksum on requirements files.
referenced this pull request
Nov 4, 2017
@@ Coverage Diff @@ ## master #668 +/- ## =========================================== - Coverage 93.86% 79.14% -14.72% =========================================== Files 11 10 -1 Lines 2364 2369 +5 =========================================== - Hits 2219 1875 -344 - Misses 145 494 +349
Hi @kapilt and @asottile if you both agree that this is a problem worth solving (I definitely also agree :)) and you both already have approaches it would be great if you could put your heads together and tackle that together. This really is something that comes up an awful lot and confuses users who assume that this works properly. I collected all tickets that have to do with that general problem here: https://github.com/tox-dev/tox/projects/9