Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8650
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Dmitry Shachnev <mitya57@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 | Mon, 11 Jul 2016 20:10:02 +0200 |
| Message-ID | <rTNOy-29b-29@gated-at.bofh.it> (permalink) |
| References | <rSco2-3Zm-11@gated-at.bofh.it> <rSnjr-2Pm-9@gated-at.bofh.it> <rTbSV-29e-5@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Jul 11 18:07:15 2016 |
| Old-Return-Path | <mitya57@gmail.com> |
| X-Amavis-Spam-Status | No, score=-12.447 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] 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: .gmail. - helo: .mail-lf0-f43.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/g3+vNb96CKX2FrUeN1Hc6AJpbjUZ8feCcQRTt8/TSU=; b=d7KPDfxLTBjAZbLY1TiMopqem7bu+Tm+ksrKC8qVrLXDQHaDW2IL+GwMbvgtYsqNHu JZjIP8W9++0CqoXxqSX+bOXlqvz4ewH9yK4/3fmxp9gfSy13mtx0Ni/jap2qTedUivRN lpPl85I7Z0S/R0WZUwCNePkzlGC0CdHXFrF/B7lxJ/oIlf+23xIgNmP2OTlj3STf+AYB vvDXerteM5pV1hww7AY6w7hMYpXrovJZCJp/NDXYiUn+EL0Myx42DY8yCrA0yZ+zjwT/ oU5gVE/Yi95P5QDlvWIFivTUinEUmNt9GMpHGbFF7C/Jmf9EWxyNtkpZ4PhZlSfS2LZl ywxw== |
| X-Gm-Message-State | ALyK8tIIjzC3nKxi45l2BrK51rNp58orffcSPAvcGyn/d2FXjudWluzy65LBHqj7dYpNtQ== |
| X-Received | by 10.25.145.2 with SMTP id t2mr7092010lfd.163.1468260420107; Mon, 11 Jul 2016 11:07:00 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+g7M9IMkV8truYOl" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.6.0 (2016-04-01) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13988 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20160711180657.GB5782@mitya57.me |
| Approved | robomod@news.nic.it |
| Lines | 57 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Mon, 11 Jul 2016 21:06:57 +0300 |
| X-Original-Message-ID | <20160711180657.GB5782@mitya57.me> |
| X-Original-References | <1467878033.2235446.659246769.7769F4C6@webmail.messagingengine.com> <20160707193017.GA9300@mitya57.me> <8737nitgw2.fsf@prune.linuxpenguins.xyz> |
| Xref | csiph.com linux.debian.maint.python:8650 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi Brian, On Sun, Jul 10, 2016 at 11:34:53AM +1000, Brian May wrote: > 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? Indeed my comment applies only if Sphinx is invoked by pybuild (for example if it's called by setup.py build). If it's invoked separately the only ways would be to export http(s)_proxy in debian/rules or patch conf.py to get correct intersphinx mapping. Unfortunately there is no easy way for Sphinx to detect if it's invoked as part of the package build process, so the ways I can change it are limited. -- Dmitry Shachnev
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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