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


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

Re: python-markdown and mkdocs circular build-dep

Path csiph.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: python-markdown and mkdocs circular build-dep
Date Fri, 12 Jan 2018 18:10:01 +0100
Message-ID <v7b05-2zU-9@gated-at.bofh.it> (permalink)
References <v6Ir7-80w-3@gated-at.bofh.it> <v6Jnc-c2-15@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Jan 12 17:09:16 2018
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-11.27 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, 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-f52.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=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LVruQb5kWvrim6++hW517Zccg3zMk31ViTtFFFzVyQ0=; b=k6uG6VZYlDve8gQdGhCt4uTKBv0A19aCmOVb+ctCyDQyn7HEUdLEZmYmFrMl2VFvud PQiwyQ4pIxzbQar2uyft0P2f93c/FiPuTeY4bGjXDnLBRYHZaKvCBUpdA9HUSljBkPgy 0OQvBTV1OXMl+l/L2orCRGvo+hcNxAVbNu5h+leXI3gbkLF8n8ZCFNb24E3F9eW58s/H TFOCZjp9nHGPWmpm5dkdC3ZaVFuA/NXd/fcuueuXF9TbBO1OnSOKB09r9V29Kd4Z4uyp iYhPO5a800MbCWRHt2oawy9buWH33EDoONNqY0LUwCVisR3IjP4NawEXpWlF5Hd/GGwl DkXQ==
X-Gm-Message-State AKwxytd4TgPyfPCbOlyajPYNlR635E6s/uTac18nr9/DSb0xHebMNSGl QpuZOO/IEVWLxkl1mMzw4Cuki5bc
X-Google-SMTP-Source ACJfBosempmOkhs8QXmTjpGdnxqq7DDgmeUhtw3jOODLk1eshcgEs8jfUf5T/i0cRIStGs/PMKJiuA==
X-Received by 10.46.64.91 with SMTP id n88mr3830982lja.52.1515776926090; Fri, 12 Jan 2018 09:08:46 -0800 (PST)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR"
Content-Disposition inline
User-Agent Mutt/1.9.2 (2017-12-15)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15440
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20180112170844.GA13834@mitya57.me
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Brian May <bam@debian.org>
X-Original-Date Fri, 12 Jan 2018 20:08:44 +0300
X-Original-Message-ID <20180112170844.GA13834@mitya57.me>
X-Original-References <20180111103513.GA4576@mitya57.me> <20180111112934.GA29354@perpetual.pseudorandom.co.uk>
Xref csiph.com linux.debian.maint.python:10045

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Thanks Ghislain and Simon for your responses.

It turns out mkdocs need python-markdown not for tests, but rather for
building its own docs.

So probably the correct way to go is to make sure both packages take the
nodoc build profile into account.

On Thu, Jan 11, 2018 at 11:29:34AM +0000, Simon McVittie wrote:
> It would probably be best for python-mkdocs to build-depend on
> python3-markdown <!nocheck>, after making sure that building with
> "DEB_BUILD_PROFILES=nocheck DEB_BUILD_OPTIONS=nocheck" and without
> python3-markdown installed does work (it looks as though it should). That
> way the cycle can be broken from either end (and nocheck never changes
> package contents, whereas nodoc does, so nocheck is probably a better
> way to break it).

For both mkdocs and python-markdown, -doc is a separate package, so
the nodoc build profile will not change the package contents, but it will
disable building the -doc package at all.

The other issue I found is that mkdocs adds some bundled JS libraries to
the generated documentation. It would be nice to have a dh_sphinxdoc-like
tool to help with unbundling them. I will file a bug for that.

--
Dmitry Shachnev

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


Thread

python-markdown and mkdocs circular build-dep Dmitry Shachnev <mitya57@debian.org> - 2018-01-11 11:40 +0100
  Re: python-markdown and mkdocs circular build-dep Ghislain Vaillant <ghisvail@gmail.com> - 2018-01-11 12:20 +0100
  Re: python-markdown and mkdocs circular build-dep Simon McVittie <smcv@debian.org> - 2018-01-11 12:40 +0100
    Re: python-markdown and mkdocs circular build-dep Dmitry Shachnev <mitya57@debian.org> - 2018-01-12 18:10 +0100

csiph-web