<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><span style="font-family:arial,sans-serif">On Wed, Jun 10, 2015 at 2:38 AM, David Cournapeau </span><span dir="ltr" style="font-family:arial,sans-serif">&lt;<a href="mailto:cournape@gmail.com" target="_blank">cournape@gmail.com</a>&gt;</span><span style="font-family:arial,sans-serif"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Jun 10, 2015 at 3:28 AM, Roy Wright <span dir="ltr">&lt;<a href="mailto:roy@wright.org" target="_blank">roy@wright.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><br>
On Jun 9, 2015, at 1:09 PM, holger krekel &lt;<a href="mailto:holger@merlinux.eu" target="_blank">holger@merlinux.eu</a>&gt; wrote:<br>
<br>
&gt; Roy, David,<br>
&gt;<br>
&gt;&gt; On Tue, Jun 09, 2015 at 11:14 -0500, Roy Wright wrote:<br>
&gt;&gt;&gt; On Jun 9, 2015, at 10:00 AM, David Cournapeau &lt;<a href="mailto:cournape@gmail.com" target="_blank">cournape@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am late to the party, and I guess it is too late, but I am not convinced this is a good idea, at least not as a default (should be opt-in, not opt-out).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This breaks a lot of basic features, in a way that is fairly complicated to debug. E.g. with tox 2.0, os.path.expanduser(&quot;~&quot;) is now broken on windows because e.g. USERNAME is not propagated. Realistically, way too many programs depend on various environment variables.<br>
&gt;&gt;<br>
&gt;&gt; If you are behind a firewall, you may need to pass in your proxy variables so pip can connect to <a href="http://pypi.python.org" target="_blank">pypi.python.org</a>, even if you are using an internal index. I.e., tox fails to create a virtualenv. Not good.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;d prefer to be able to set options that affect all usages of a utility globally instead of needing to add to every project I want to test.<br>
&gt;&gt;<br>
&gt;&gt; I can understand the need to totally control the test environment. It&#39;s just that there are system needs that must be met before test needs.<br>
&gt;<br>
&gt; Would it help you if we introduce a TOX_PASSENV environment variable<br>
&gt; (and maybe a command line option) that is honored in addition to<br>
&gt; the tox.ini values?  You could set that on a per-system basis.<br>
<br>
</span>I could live with that. :-)<br>
<br>
A list of platform examples would be nice.<br>
<br>
My preference would be a ~/.toxrc just because you can include comments and examples.<br></blockquote><div><br></div></span><div>I would prefer a .toxrc as well for the same reasons.</div></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">​</div><span style="color:black">Sorry for jumping in here. Just
to clarify, <div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">​would using the mechanism described above (​</div>env. variabl<div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">​e, toxrc entry and/or </div>running tox
with the mentioned command line option<div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">​)​</div> disable the &quot;env variable
isolation&quot; feature completely? If so, I&#39;m voting for such a mechanism due
to the huge (and unfortunately mainly negative) impact that feature brought for
us internally.</span></div><div><span style="color:black"><br></span></div>

<div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline"><span style="color:black;font-family:arial,sans-serif">/stephan</span></div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">​</div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Thank you for looking into it,</div><div><br></div><div>David</div></div></div></div>
<br>_______________________________________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
<br></blockquote></div><br></div></div>