[TIP] Apparently spurious warning with Tox 1.1

Michael Foord michael at voidspace.org.uk
Tue Jul 12 02:51:20 PDT 2011


On 12/07/2011 08:51, holger krekel wrote:
> 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)


Yep, that seems to fix it.

Thanks!

Michael Foord

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


-- 
http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html




More information about the testing-in-python mailing list