Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931566 - dev-python/sphinx-rtd-theme-2.0.0 fails tests: FAILED test_builders.py::test_basic
Summary: dev-python/sphinx-rtd-theme-2.0.0 fails tests: FAILED test_builders.py::test_...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-05-08 11:36 UTC by Agostino Sarubbo
Modified: 2024-06-03 18:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,564.72 KB, text/plain)
2024-05-08 11:36 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-05-08 11:36:49 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/sphinx-rtd-theme-2.0.0 fails tests.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-08 11:36:51 UTC
Created attachment 892475 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-08 11:36:51 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  
   
          
             
              <ul>
            Python
           </div>
           <div itemprop="articleBody">
          </a>
          </div>
          <a href="#" class="icon icon-home">
          <a href="#">Python</a>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
          <div role="navigation" aria-label="Page navigation">
          <footer>
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          SphinxRtdTheme.Navigation.enable(true);
        </div>
        </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
        <div class="rst-content">
        <div class="wy-side-nav-search" >
        <script async="async" src="https://assets.readthedocs.org/static/javascript/readthedocs-doc-embed.js"></script>
        <script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
        <script src="_static/doctools.js"></script>
        <script src="_static/documentation_options.js"></script>
        <script src="_static/jquery.js?v=5d32c60e"></script>
        <script src="_static/sphinx_highlight.js"></script>
      </div>
      </li>
      </nav>
      <div class="wy-nav-content">
      <div class="wy-side-scroll">
      <li class="breadcrumb-item active">Python  documentation</li>
      <li class="wy-breadcrumbs-aside">
      <li><a href="#" class="icon icon-home" aria-label="Home"></a></li>
      <link rel="stylesheet" type="text/css" href="_static/css/theme.css" />
      <link rel="stylesheet" type="text/css" href="_static/pygments.css" />
      <link rel="stylesheet" type="text/css" href="https://assets.readthedocs.org/static/css/badge_only.css" />
      jQuery(function () {
      });
    </nav>
    </section>
    <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" /> 
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
    <p>&#169; Copyright .</p>
    <script src="_static/js/html5shiv.min.js"></script>
    <script src="_static/js/theme.js"></script>
    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
    provided by <a href="https://readthedocs.org">Read the Docs</a>.
  <!--[if lt IE 9]>
  <![endif]-->
  </div>
  </script> 
  </ul>
  <div class="wy-grid-for-nav">
  <div role="contentinfo">
  <hr/>
  <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <script>
  <section id="test-basic">
  <title>Python documentation</title>
  <ul class="wy-breadcrumbs">
  Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
-->
<!--
<!-- RTD Extra Head -->
<!-- end RTD <extrahead> -->
</body>
</div>
</footer>
</head>
</html>'
</script>
</section>
</ul>
</ul>' in '<!DOCTYPE html>
<body class="wy-body-for-nav"> 
<div class="toctree-wrapper compound">
<h1>test-basic<a class="headerlink" href="#test-basic" title="Link to this heading"></a></h1>
<h2>Heading<a class="headerlink" href="#heading" title="Link to this heading"></a></h2>
<h2>foo<a class="headerlink" href="#foo" title="Link to this heading"></a></h2>
<h3>Subheading<a class="headerlink" href="#subheading" title="Link to this heading"></a></h3>
<h3>bar<a class="headerlink" href="#bar" title="Link to this heading"></a></h3>
<head>
<html class="writer-html5" lang="en" data-content_root="./">
<li class="toctree-l1"><a class="reference internal" href="#document-foo">foo</a></li>
<li class="toctree-l1"><a class="reference internal" href="index.html#document-foo">foo</a></li>
<link rel="stylesheet" href="https://assets.readthedocs.org/static/css/readthedocs-doc-embed.css" type="text/css" />
<script type="application/json" id="READTHEDOCS_DATA">{"ad_free": "", "api_host": "", "builder": "sphinx", "canonical_url": "", "docroot": "", "features": {"docsearch_disabled": false}, "global_analytics_code": null, "language": "", "page": "index", "programming_language": "", "project": "", "source_suffix": "", "subprojects": {}, "theme": "", "user_analytics_code": null, "version": ""}</script>
<script type="text/javascript" src="https://assets.readthedocs.org/static/javascript/readthedocs-analytics.js" async="async"></script>
<script type="text/javascript">
<section id="heading">
<section id="subheading">
<span id="document-bar"></span><section id="bar">
<span id="document-foo"></span><section id="foo">
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED tests/test_builders.py::test_basic - assert '<ul>
READTHEDOCS_DATA = JSON.parse(document.getElementById(\'READTHEDOCS_DATA\').innerHTML);
The READTHEDOCS_DATA global variable will be removed in the future.
Using this variable directly instead of using `JSON.parse` is deprecated.
tests/test_builders.py::test_basic FAILED                                 [1/3]
Comment 3 Larry the Git Cow gentoo-dev 2024-06-03 18:31:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa330326b28d5f4dfade7db12d50078ba47965fe

commit fa330326b28d5f4dfade7db12d50078ba47965fe
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2024-06-03 18:27:39 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2024-06-03 18:31:14 +0000

    dev-python/sphinx-rtd-theme: enable py3.13
    
    Tests fail in the same way with both py3.12 and py3.13.
    Thanks to immolo for testing.
    
    Bug: https://bugs.gentoo.org/931566
    Closes: https://bugs.gentoo.org/933393
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...sphinx-rtd-theme-2.0.0.ebuild => sphinx-rtd-theme-2.0.0-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)