[TIP] Tox' recreation behaviour for dependency updates

holger krekel holger at merlinux.eu
Mon Mar 3 03:09:13 PST 2014

Hi Eduard,

On Wed, Feb 05, 2014 at 18:13 +0100, Eduard Bopp wrote:
> Hi there,
> Short question about tox: I just added a new package dependency to my
> tox.ini and then realized that tox started to recreate all the virtual
> environments, which in my case meant recompiling numpy four times (a
> somewhat time-consuming task...)
> For the future: is there a way to have tox only install the new
> dependencies? Because technically it should suffice to do just that. I
> could go into the environment obviously and use pip to install it myself
> but having tox do that automatically would also be nice.

not sure but i think it's not easy to automatically do the right thing.
Some packages install differently depending on what else is installed.
Re-installing everything is kind of the safe option.  For cutting down
install times trying out wheel-binary packages might be the way to go.


More information about the testing-in-python mailing list