Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8648

Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Brian May <bam@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds
Date Sun, 10 Jul 2016 03:40:01 +0200
Message-ID <rTbSV-29e-5@gated-at.bofh.it> (permalink)
References <rSco2-3Zm-11@gated-at.bofh.it> <rSnjr-2Pm-9@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Jul 10 01:35:17 2016
Old-Return-Path <brian@microcomaustralia.com.au>
X-Amavis-Spam-Status No, score=-7.699 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .microcomaustralia. - helo: .mail-pf0-x22c.google. - helo-domain: .google.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=microcomaustralia.com.au; s=google; h=sender:from:to:subject:in-reply-to:organization:references :user-agent:date:message-id:mime-version; bh=sHjbk36mWKUFlWa1qGh5keeMCVeP6GzGTWxzdGbP/iQ=; b=EXGQxCPFf1QbkhDLF/dSdepDf7ZczwVlt0RoTj7qVVw6I4vxAPr+TKupTnltgPgVgu +K8Ayf5+wpZncy0hVDtLaeCYF6xtG4aucjV14u9Wg0HAfsqdY5wb0RliFME6stIgaIjE g/zuN6WE1dtc/63wZ5K+hiRLxAbh9uWpDOsro=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:in-reply-to:organization :references:user-agent:date:message-id:mime-version; bh=sHjbk36mWKUFlWa1qGh5keeMCVeP6GzGTWxzdGbP/iQ=; b=WDPg2qmA6gUqKIydH80MhzrIAqf60I4yIfr+Rrv9HD3UT94OFpQEHWlnfRIwK0WnEV aU1KRmUPgtjW/sCsZdlayHewIjz8eXCDsW9ieyPv7IznI04OX6bfZy3JJsxWcZKjdGjg mb/GkKaeKU95MAozCgHyZ+25cOfpHSNfKHbgwI5gw7dkGzH45cdyNoTejx+2V9vEoKuL vL7ZXT6K290Fq9AtjyYKS0HmhaiyKHoUsaj7JyHu5rVSAWGE61xT3aJ5bFABteitLSO4 ftfw3aY1c0TPEOa4DM1LZIXgILghEFkMLzoVRbasiaEIGzqXwyV16+onHXzuA5UOJn2L Y+Ng==
X-Gm-Message-State ALyK8tI1QUPx9FsFcYlvxxf6sPYdH6FArBCZKZhuOt9PY0SIAdJEeDgjaecHKjI3tCoFKg==
X-Received by 10.98.134.15 with SMTP id x15mr22504359pfd.21.1468114498598; Sat, 09 Jul 2016 18:34:58 -0700 (PDT)
Sender robomod@news.nic.it
Organization Debian
User-Agent Notmuch/0.22 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type text/plain
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13986
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/8737nitgw2.fsf@prune.linuxpenguins.xyz
Approved robomod@news.nic.it
Lines 24
X-Original-Date Sun, 10 Jul 2016 11:34:53 +1000
X-Original-Message-ID <8737nitgw2.fsf@prune.linuxpenguins.xyz>
X-Original-References <1467878033.2235446.659246769.7769F4C6@webmail.messagingengine.com> <20160707193017.GA9300@mitya57.me>
X-Original-Sender Brian May <brian@microcomaustralia.com.au>
Xref csiph.com linux.debian.maint.python:8648

Show key headers only | View raw


Moved to debian-python list from bug report.

Dmitry Shachnev <mitya57@debian.org> writes:

> You say that we can read some flag set by dh-python. However, dh-python
> (aka pybuild) already sets http{,s}_proxy environment variables which
> disable network access for Sphinx. So packages using dh-python are already
> safe.

Not sure I understand how dh-python / pybuild help with this problem.

I thought the recommended way to deal with building documentation was
something like this in debian/rules:

override_dh_auto_build:
        dh_auto_build
        PYTHONPATH=. sphinx-build -b html -N Doc/ Doc/.build/html

... in which case building the documentation happens outside
dh_auto_build.

Did I miss something here?
-- 
Brian May <bam@debian.org>

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds Brian May <bam@debian.org> - 2016-07-10 03:40 +0200
  Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds Daniele Tricoli <eriol@mornie.org> - 2016-07-10 04:00 +0200
  Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping  extension causes network access during package builds Dmitry Shachnev <mitya57@debian.org> - 2016-07-11 20:10 +0200
    Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds Daniele Tricoli <eriol@mornie.org> - 2016-07-11 20:30 +0200
    Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds Brian May <bam@debian.org> - 2016-07-11 23:50 +0200
      Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping  extension causes network access during package builds Dmitry Shachnev <mitya57@debian.org> - 2016-07-12 00:10 +0200
        Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds Brian May <bam@debian.org> - 2016-07-17 03:50 +0200
          Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds Dmitry Shachnev <mitya57@debian.org> - 2016-07-18 10:30 +0200
  Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping  extension causes network access during package builds Thomas Goirand <zigo@debian.org> - 2016-07-12 16:10 +0200
    Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping  extension causes network access during package builds Barry Warsaw <barry@python.org> - 2016-07-12 17:20 +0200
  Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping  extension causes network access during package builds Andreas Tille <andreas@an3as.eu> - 2016-07-14 13:30 +0200
    Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping extension causes network access during package builds Sergio Durigan Junior <sergiodj@sergiodj.net> - 2016-07-14 13:40 +0200
    Re: [Python-modules-team] Bug#830186: sphinx: intersphinx mapping  extension causes network access during package builds Piotr Ożarowski <piotr@debian.org> - 2016-07-14 14:00 +0200

csiph-web