[TIP] Tox doesn't notice if my project's dependencies change - is that right?

Paul Moore p.f.moore at gmail.com
Mon Nov 10 14:16:41 PST 2014


On 10 November 2014 22:05, Tres Seaver <tseaver at palladion.com> wrote:
> By default, tox creates and installs an sdist, so it will pick up new
> dependencies.  The 'usedevelop' option causes it to call 'setup.py
> develop', which should also pick them up.

Ok, so something weird is going on. I'll try to work out what.

... oh, wait. When I added click to my dependencies, I was running tox
from my system Python installation that has click installed. Would tox
have thought it didn't need to rebuild because of that? But tox is
going to run the tests in a virtualenv that can't see the system
site-packages, so the rebuild *is* necessary as click isn't installed
in the virtualenv.

That sounds like a bug in tox, if it's what's going on...

Paul



More information about the testing-in-python mailing list