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


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

Re: python-markdown and mkdocs circular build-dep

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Simon McVittie <smcv@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: python-markdown and mkdocs circular build-dep
Date Thu, 11 Jan 2018 12:40:02 +0100
Message-ID <v6Jnc-c2-15@gated-at.bofh.it> (permalink)
References <v6Ir7-80w-3@gated-at.bofh.it>
X-Original-To Dmitry Shachnev <mitya57@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jan 11 11:30:20 2018
Old-Return-Path <smcv@debian.org>
X-Amavis-Spam-Status No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.9.2 (2017-12-15)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15433
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20180111112934.GA29354@perpetual.pseudorandom.co.uk
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Brian May <bam@debian.org>, debian-python@lists.debian.org
X-Original-Date Thu, 11 Jan 2018 11:29:34 +0000
X-Original-Message-ID <20180111112934.GA29354@perpetual.pseudorandom.co.uk>
X-Original-References <20180111103513.GA4576@mitya57.me>
Xref csiph.com linux.debian.maint.python:10038

Show key headers only | View raw


On Thu, 11 Jan 2018 at 13:35:13 +0300, Dmitry Shachnev wrote:
> The new release of python-markdown has switched docs building from its own
> custom build system to mkdocs. However python-mkdocs itself build-depends on
> python3-markdown for tests, which results in a circular build-dependency.

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).

> Will it be fine if I just mark the build-dependency in python-markdown as
> <!nodoc>?

If the resulting package builds successfully with DEB_BUILD_PROFILES=nodoc
then that seems a good idea anyway. In some packages you might need to use
dh-exec to skip documentation files in debian/*.install, but it looks as
though that won't be necessary for python-markdown.

    smcv

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next 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