[TIP] [tox] KeyError: 'HOMEDRIVE' on Windows
Ronny Pfannschmidt
Ronny.Pfannschmidt at gmx.de
Fri Jan 27 07:11:08 PST 2012
On 01/27/2012 02:36 PM, Chris Withers wrote:
> On 27/01/2012 12:42, Ronny Pfannschmidt wrote:
>>> Why does Tox need a home directory? What does it use it for?
>>
>> currently it stores build artifacts there for use/reuse
>>
>> after checking the involved code,
>> it seems that homedir shouldn't be used in a ci server context
>> to begin with (homedir makes more sense for local use).
>>
>> i have a fix in mind that would help with that,
>> i'll implement after some more discussion with holger.
>>
>> since you probably dont use homedir substitutions,
>> you can probably help yourself for the time being by switching the call
>> to py.path._gethomedir to simply a empty string
>
> Hmm, except that tox is installed by ShiningPanda each time it runs...
>
> Is there some environment variable or tox config option I can set that
> will cause this not to be called?
currently not, right now the code is unconditional,
is it possible to have ShiningPanda install a custom tox tarball?
-- Ronny
>
> cheers,
>
> Chris
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20120127/adbfb594/attachment.pgp>
More information about the testing-in-python
mailing list