[TIP] Apparently spurious warning with Tox 1.1

holger krekel holger at merlinux.eu
Tue Jul 12 00:51:21 PDT 2011


On Tue, Jul 12, 2011 at 07:08 +0200, Alexander Steinert wrote:
> Michael Foord, Tue 2011-07-12 00:08 CEST:
> > On 11/07/2011 22:25, Michael Foord wrote:
> > >Hey all,
> > >
> > >I've updated to tox 1.1 (for testing mock). It looks like the
> > >problems I had with 1.0 are now solved and it works with both
> > >Python 3.2 and pypy.
> > >
> > >However I'm now getting a warning that seems incorrect. It reports
> > >that "unit2" has not been installed in the testenv. But it has and
> > >the command works:
> > >
> > 
> > Note that this still happens if I blow away .tox and rerun.
> [...]
> > >[TOX] WARNING:using
> > >'/Users/michael/Dev/Packages/mock/.tox/py24/bin/unit2' not
> > >installed in testenv:
> > >  /Users/michael/Dev/Packages/mock/.tox/py24
> > >Forgot to specify a dependency?
> 
> I experienced the same when I used "{envpython}" instead of plain
> "python" in a commands value of a tox.ini section. I believe that the
> implementation cannot detect the absolute path to the executable as
> being located in the env dir.

True.  I uploaded a new tox - could you try:

    pip install -i http://pypi.testrun.org -U tox
    (should give version 1.2.dev1)

thanks,
holger

> HTH
> Stony
> 
> 
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
> 



More information about the testing-in-python mailing list