Re: pybuild and not always preventing network connection in auto tests

2013-12-11 Thread Olivier Berger
Barry Warsaw writes: > On Dec 11, 2013, at 05:09 PM, Olivier Berger wrote: > >>Do I need an unexport http_proxy AND an http_proxy='' dh_auto_test ? > > No, all you need to do is unset http_proxy and https_proxy for the duration of > the test command. > OK, just inside the pybuild --test. That wi

Re: pybuild and not always preventing network connection in auto tests

2013-12-11 Thread Barry Warsaw
On Dec 11, 2013, at 05:09 PM, Olivier Berger wrote: >Do I need an unexport http_proxy AND an http_proxy='' dh_auto_test ? No, all you need to do is unset http_proxy and https_proxy for the duration of the test command. >I'm not sure about the behaviour of GNU make wrt env variables, so maybe >th

Re: pybuild and not always preventing network connection in auto tests

2013-12-11 Thread Olivier Berger
Barry Warsaw writes: > On Dec 11, 2013, at 03:34 PM, Dimitri John Ledkov wrote: > >>actually you probably need to set them to empty value; e.g. >>http_proxy="" https_proxy="" dh_auto_test, or export http_proxy\n >>export https_proxy > > Right. That's essentially what I do. > I'm not sure I

Re: pybuild and not always preventing network connection in auto tests

2013-12-11 Thread Barry Warsaw
On Dec 11, 2013, at 03:34 PM, Dimitri John Ledkov wrote: >actually you probably need to set them to empty value; e.g. >http_proxy="" https_proxy="" dh_auto_test, or export http_proxy\n >export https_proxy Right. That's essentially what I do. -Barry -- To UNSUBSCRIBE, email to debian-pyth

Re: pybuild and not always preventing network connection in auto tests

2013-12-11 Thread Dimitri John Ledkov
On 11 December 2013 15:33, Dimitri John Ledkov wrote: > On 11 December 2013 15:24, Olivier Berger > wrote: >> Hi. >> >> AFAIU, pybuild prevents accesses to the network. >> >> But this can be problematic during auto_tests that will perform HTTP >> connections on a local HTTP server (I have such an

Re: pybuild and not always preventing network connection in auto tests

2013-12-11 Thread Dimitri John Ledkov
On 11 December 2013 15:24, Olivier Berger wrote: > Hi. > > AFAIU, pybuild prevents accesses to the network. > > But this can be problematic during auto_tests that will perform HTTP > connections on a local HTTP server (I have such an example in rdflib's > auto tests [0]). > > Is there a way to avo

pybuild and not always preventing network connection in auto tests

2013-12-11 Thread Olivier Berger
Hi. AFAIU, pybuild prevents accesses to the network. But this can be problematic during auto_tests that will perform HTTP connections on a local HTTP server (I have such an example in rdflib's auto tests [0]). Is there a way to avoid such a protection, possibly on a selective number of tests ?