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


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

Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20
Date Tue, 31 Oct 2023 15:50:01 +0100
Message-ID <HuYe5-28CW-9@gated-at.bofh.it> (permalink)
References <HuW2B-27nP-5@gated-at.bofh.it> <HuW2B-27nP-3@gated-at.bofh.it> <HuYe5-28CW-11@gated-at.bofh.it>
X-Original-To Thomas Goirand <zigo@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Oct 31 14:41:35 2023
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-11.767 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.25, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.518] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lj1-f179.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State AOJu0YzgT3G7rQQWWeazPsx35MmepQDSLC4nHmQ5eipMOOJIdo/O4WSF SHBQFrx4JmpvEZ+ZCozcvH2kyCnXkRM=
X-Google-SMTP-Source AGHT+IGSjiBS7hgN9jSxKI3wSff5+0m+EgPe9g1VEqcJatFJ0sm81qZuXdwCw6sLpGvzrzE+HTpgWA==
X-Received by 2002:a05:651c:2002:b0:2bf:fae2:f97 with SMTP id s2-20020a05651c200200b002bffae20f97mr10391436ljo.12.1698763272856; Tue, 31 Oct 2023 07:41:12 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="59rRbCHUwQHXNHy4"
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/21218
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/ZUESA0VENNILI3a8@mitya57.me
Approved robomod@news.nic.it
Lines 61
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Lucas Nussbaum <lucas@debian.org>, Debian Python <debian-python@lists.debian.org>
X-Original-Date Tue, 31 Oct 2023 17:41:07 +0300
X-Original-Message-ID <ZUESA0VENNILI3a8@mitya57.me>
X-Original-References <02536429-92f1-40cd-98c2-f88b330d6bb2@debian.org> <ZUDyqhB6FQ9CuZmL@grub.nussbaum.fr> <be00a59b-8365-4cba-b7cf-eb22593f76d9@debian.org>
Xref csiph.com linux.debian.maint.python:15282

Show key headers only | View raw


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

On Tue, Oct 31, 2023 at 02:57:37PM +0100, Thomas Goirand wrote:
> BTW, I closed the OpenStack related bugs, but I believe upgrading
> python3-openstackdocs will fix it. The new theme builds, but when using it,
> I get:
>
> dh_sphinxdoc -O--buildsystem=python_distutils
> dh_sphinxdoc: error: debian/python-openstacksdk-doc/usr/share/doc/python-openstacksdk-doc/html/search.html
> does not load searchindex.js
>
> I'm not sure how to fix it, but I'll find out.

dh_sphinxdoc looks for either the new way of loading searchindex.js:

    <script src="searchindex.js" defer></script>

or the old way:

    jQuery(function() { Search.loadIndex("searchindex.js"); });

Looking at openstackdocstheme's search.html, it does have one of these
lines (the second one):

https://opendev.org/openstack/openstackdocstheme/src/tag/3.2.0/openstackdocstheme/theme/openstackdocs/search.html#L38

If it's there but dh_sphinxdoc still shows this error, then it's probably a
dh_sphinxdoc bug. Otherwise, please figure out why that line is not there.

> So please don't re-open bugs, I'll take care of that next week, and just
> fixing the docs theme should fix it.

OK.

--
Dmitry Shachnev

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


Thread

Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20 Lucas Nussbaum <lucas@debian.org> - 2023-10-31 13:30 +0100
  Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20 Dmitry Shachnev <mitya57@debian.org> - 2023-10-31 14:00 +0100
  Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20 Dmitry Shachnev <mitya57@debian.org> - 2023-10-31 15:50 +0100
    Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20 Dmitry Shachnev <mitya57@debian.org> - 2023-10-31 23:10 +0100

csiph-web