<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"><<a href="mailto:holger@merlinux.eu" target="_blank">holger@merlinux.eu</a>></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>
> On Wed, Jun 10, 2015 at 2:38 AM, David Cournapeau <<a href="mailto:cournape@gmail.com">cournape@gmail.com</a>><br>
> wrote:<br>
><br>
> ><br>
> ><br>
> > On Wed, Jun 10, 2015 at 3:28 AM, Roy Wright <<a href="mailto:roy@wright.org">roy@wright.org</a>> wrote:<br>
> ><br>
> >><br>
> >> On Jun 9, 2015, at 1:09 PM, holger krekel <<a href="mailto:holger@merlinux.eu">holger@merlinux.eu</a>> wrote:<br>
> >><br>
> >> > Roy, David,<br>
> >> ><br>
> >> >> On Tue, Jun 09, 2015 at 11:14 -0500, Roy Wright wrote:<br>
> >> >>> On Jun 9, 2015, at 10:00 AM, David Cournapeau <<a href="mailto:cournape@gmail.com">cournape@gmail.com</a>><br>
> >> wrote:<br>
> >> >>><br>
> >> >>> I am late to the party, and I guess it is too late, but I am not<br>
> >> convinced this is a good idea, at least not as a default (should be opt-in,<br>
> >> not opt-out).<br>
> >> >>><br>
> >> >>> This breaks a lot of basic features, in a way that is fairly<br>
> >> complicated to debug. E.g. with tox 2.0, os.path.expanduser("~") is now<br>
> >> broken on windows because e.g. USERNAME is not propagated. Realistically,<br>
> >> way too many programs depend on various environment variables.<br>
> >> >><br>
> >> >> If you are behind a firewall, you may need to pass in your proxy<br>
> >> 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>
> >> an internal index. I.e., tox fails to create a virtualenv. Not good.<br>
> >> >><br>
> >> >> I'd prefer to be able to set options that affect all usages of a<br>
> >> utility globally instead of needing to add to every project I want to test.<br>
> >> >><br>
> >> >> I can understand the need to totally control the test environment.<br>
> >> It's just that there are system needs that must be met before test needs.<br>
> >> ><br>
> >> > Would it help you if we introduce a TOX_PASSENV environment variable<br>
> >> > (and maybe a command line option) that is honored in addition to<br>
> >> > the tox.ini values? You could set that on a per-system basis.<br>
> >><br>
> >> 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<br>
> >> and examples.<br>
> >><br>
> ><br>
> > I would prefer a .toxrc as well for the same reasons.<br>
> ><br>
><br>
> <br>
> Sorry for jumping in here. Just to clarify,<br>
> would using the mechanism described above (<br>
> env. variabl<br>
> e, toxrc entry and/or<br>
> running tox with the mentioned command line option<br>
> )<br>
> disable the "env variable isolation" feature completely? If so, I'm voting<br>
> for such a mechanism due to the huge (and unfortunately mainly negative)<br>
> 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>
> /stephan<br>
> <br>
><br>
><br>
> ><br>
> > Thank you for looking into it,<br>
> ><br>
> > David<br>
> ><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" rel="noreferrer" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
> ><br>
> ><br>
<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" 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>