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