Path: csiph.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod From: Dmitry Shachnev 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: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Jan 12 17:09:16 2018 Old-Return-Path: 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: archive/latest/15440 List-ID: List-URL: 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 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 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 , 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 --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEbEPcK+5mZmLK5jNU1v5xA2P4XdMFAlpY65gACgkQ1v5xA2P4 XdPnUhAAlOXLAyqukOj8wMzM5UqqH+aUGJ+T4QfIojCXTGgyMkffsstA/pccfMQ3 knA3eMuegA1NipWcKz+pgqYFY8F4acKAgh5eOncwZcNWdo54pckQREg+0xsLZdi5 FQUcItH6BOV09K+xBj88itQbHt2CUwMpius4Bk0p7cHPSk7iJP632wRku9eYUsMG GtSi5pvmyyGEywdPpsYT3D7aDX0W5MiK7CSB2nlYUVo/IVliOq2sc0LRkQ+ePY88 qkbMYjD84UJxcj8Ftg1Sy51lZJYfXJpPXw6BQU1kzaB+h38P2+Do99JA+qAYwx6n TvqRoEmKdnqlkmjFqSos3U4C2dTdUdZzQiYUhxnDIXS08v2GkH1D8yKtnDFUtoUk Rhns9lLhfe82PWOgkuLVul45s1i915B5qtC3MDuRxGXdlTcYfZLSujZZc2i0Vc/b TUNTVmunGudc4yqrwPYL1eL0Rf47yZhyUaC9Dcl0MYiTqM89EZlozWq7g1fDNdVW BD/JLZno1o842TmpZkpAQ+MD0ltpupdWOQNzHZaJR1Prjanqz0y+RcDySqVXzUD/ gDRPfHgymKga4DY+/atYy8yZHaEB7PSvTJELZFbZ02zZAavF6ggTj5Aeoo2y5xkQ pT0hIXBDt705JQ7GLwIJr6Crjo2VQOEnzh6c8hEFYHQx7RX87kE= =pRBA -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--