Re: pybuild and proxies -- could we make "prohibition" optional?

2015-07-22 Thread Piotr Ożarowski
[Yaroslav Halchenko, 2015-07-21]
> As I have mentioned some tools might not be smart about empty values
> in http_proxy, try e.g. git-annex under such settings 

ah, sorry, I only quickly scanned you email.

I already followed Dimitri's suggestion to add no_proxy=localhost and
will add your PYBUILD_FAKE_PROXY later today
-- 
Piotr Ożarowski Debian GNU/Linux Developer
www.ozarowski.pl  www.griffith.cc   www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150722080202.gp18...@sar0.p1otr.com



Re: pybuild and proxies -- could we make "prohibition" optional?

2015-07-22 Thread Ansgar Burchardt
On 07/21/2015 10:21 PM, Dimitri John Ledkov wrote:
> In practice however we do allow accessing debian ftp archive and
> localhost services, thus:
> 
> no_proxy=localhost,*.debian.org
> 
> would probably be better imho for the balance of "don't allow general
> network access", "yet allow sensible networking test-suites to run".

I think no_proxy=localhost would be okay, but *.debian.org should not be
allowed. Packages don't have to be built for Debian after all.

(And yes, I know there is at least one special case that needs to
download data from *.debian.org, but that doesn't imply *.d.o should be
allowed by default.)

Ansgar


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55af7779.3050...@debian.org



Re: pybuild and proxies -- could we make "prohibition" optional?

2015-07-22 Thread Yaroslav Halchenko

On Wed, 22 Jul 2015, Piotr Ożarowski wrote:

> [Yaroslav Halchenko, 2015-07-21]
> > As I have mentioned some tools might not be smart about empty values
> > in http_proxy, try e.g. git-annex under such settings 

> ah, sorry, I only quickly scanned you email.

> I already followed Dimitri's suggestion to add no_proxy=localhost and
> will add your PYBUILD_FAKE_PROXY later today

awesome!  feel free to tune the name to whatever you feel more appropriate.
Just an additional piece of support to allow simply disabling automatic
assignment of fake proxies and that no_proxy doesn't work for some
libs/packages: Daniel Stender tried export no_proxy=localhost on pytest-tornado
without success.

-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150722134501.gq28...@onerussian.com



Re: pybuild and proxies -- could we make "prohibition" optional?

2015-07-22 Thread Daniel Stender
On 22.07.2015 15:45, Yaroslav Halchenko wrote:
> 
> On Wed, 22 Jul 2015, Piotr Ożarowski wrote:
> 
>> [Yaroslav Halchenko, 2015-07-21]
>>> As I have mentioned some tools might not be smart about empty values
>>> in http_proxy, try e.g. git-annex under such settings 
> 
>> ah, sorry, I only quickly scanned you email.
> 
>> I already followed Dimitri's suggestion to add no_proxy=localhost and
>> will add your PYBUILD_FAKE_PROXY later today
> 
> awesome!  feel free to tune the name to whatever you feel more appropriate.
> Just an additional piece of support to allow simply disabling automatic
> assignment of fake proxies and that no_proxy doesn't work for some
> libs/packages: Daniel Stender tried export no_proxy=localhost on 
> pytest-tornado
> without success.

... pytest-localserver currently (in the multiple package dep solving approach 
for vcr.py),
dh-python 2.20150719.

DS

-- 
http://www.danielstender.com/blog/
4096R/DF5182C8
46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8



-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55afa0ec.5070...@danielstender.com