FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2025 PLD Team
$Revision: 1.37 $
Powered by ed.
Your IP: 18.97.14.85

python3-numpydoc 51ef3dd3-808c-4e63-8fc2-08266926150c

Status:Failed
Source URL:https://buildlogs.pld-linux.org/pld/th/x32/FAIL/python3-numpydoc,51ef3dd3-808c-4e63-8fc2-08266926150c.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2025/01/11 14:19:38
Runtime:0:00:05.473775

Toc:

  • error 1
  • error: Bad exit status from /tmp/B.g5b0uq21/BUILD/tmp/rpm-tmp.n9YZOS (%build)
  • error 2
  • RPM build errors:
  • error 3
  • error: No files produced.

Content:

_________________________________ test_MyClass _________________________________

sphinx_app = <sphinx.application.Sphinx object at 0xf5d686b8>

    def test_MyClass(sphinx_app):
        """Test that class documentation is reasonable."""
        src_dir, out_dir = sphinx_app.srcdir, sphinx_app.outdir
        class_rst = op.join(src_dir, "generated", "numpydoc_test_module.MyClass.rst")
        with open(class_rst) as fid:
            rst = fid.read()
        assert r"numpydoc\_test\_module" in rst  # properly escaped
        class_html = op.join(out_dir, "generated", "numpydoc_test_module.MyClass.html")
        with open(class_html) as fid:
            html = fid.read()
        # ensure that no autodoc weirdness ($) occurs
        assert "$self" not in html
        assert "/," not in html
        assert "__init__" in html  # inherited
        # escaped * chars should no longer be preceded by \'s,
        # if we see a \* in the output we know it's incorrect:
        assert r"\*" not in html
        # "self" should not be in the parameter list for the class:
        assert "self," not in html
        # check xref was embedded properly (dict should link using xref):
>       assert "stdtypes.html#dict" in html
E       assert 'stdtypes.html#dict' in '\n<!DOCTYPE html>\n\n<html>\n  <head>\n    <meta charset="utf-8" />\n    <meta name="viewport" content="width=device-...test_module.MyClass.rst.txt"\n          rel="nofollow">Page source</a>\n    </div>\n\n    \n\n    \n  </body>\n</html>'

class_html = '/tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root/_build/html/generated/numpydoc_test_module.MyClass.html'
class_rst  = '/tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root/generated/numpydoc_test_module.MyClass.rst'
fid        = <_io.TextIOWrapper name='/tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root/_build/html/generated/numpydoc_test_module.MyClass.html' mode='r' encoding='UTF-8'>
html       = '\n<!DOCTYPE html>\n\n<html>\n  <head>\n    <meta charset="utf-8" />\n    <meta name="viewport" content="width=device-...test_module.MyClass.rst.txt"\n          rel="nofollow">Page source</a>\n    </div>\n\n    \n\n    \n  </body>\n</html>'
out_dir    = '/tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root/_build/html'
rst        = '\ufeffnumpydoc\\_test\\_module.MyClass\n==============================\n\n.. currentmodule:: numpydoc_test_module\n\n...bric:: Methods\n\n   .. autosummary::\n   \n      ~MyClass.__init__\n      ~MyClass.example\n   \n   \n\n   \n   \n   '
sphinx_app = <sphinx.application.Sphinx object at 0xf5d686b8>
src_dir    = '/tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root'

numpydoc/tests/test_full.py:62: AssertionError
---------------------------- Captured stdout setup -----------------------------
Running Sphinx v4.5.0
making output directory... done
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
[autosummary] generating autosummary for: index.rst
[autosummary] generating autosummary for: /tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root/generated/numpydoc_test_module.MyClass.rst, /tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root/generated/numpydoc_test_module.my_function.rst
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 3 added, 0 changed, 0 removed
reading sources... [ 33%] generated/numpydoc_test_module.MyClass               
reading sources... [ 66%] generated/numpydoc_test_module.my_function           
reading sources... [100%] index                                                
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 33%] generated/numpydoc_test_module.MyClass                
writing output... [ 66%] generated/numpydoc_test_module.my_function            
writing output... [100%] index                                                 
generating indices... genindex py-modindex done
writing additional pages... search done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build finished with problems, 6 warnings.
---------------------------- Captured stderr setup -----------------------------
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xf4a76f70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
/tmp/B.g5b0uq21/BUILD/numpydoc-1.5.0/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.MyClass:9: WARNING: term not in glossary: python:iterable
/tmp/B.g5b0uq21/BUILD/numpydoc-1.5.0/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.MyClass:21: WARNING: py:class reference target not found: python:dict
/tmp/B.g5b0uq21/BUILD/numpydoc-1.5.0/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.my_function:9: WARNING: term not in glossary: python:iterable
/tmp/B.g5b0uq21/BUILD/numpydoc-1.5.0/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.my_function:12: WARNING: py:class reference target not found: python:dict
/tmp/B.g5b0uq21/BUILD/numpydoc-1.5.0/numpydoc/tests/tinybuild/numpydoc_test_module.py:docstring of numpydoc_test_module.my_function:25: WARNING: py:data reference target not found: python:None
_______________________________ test_my_function _______________________________

sphinx_app = <sphinx.application.Sphinx object at 0xf5d686b8>

    def test_my_function(sphinx_app):
        """Test that function documentation is reasonable."""
        out_dir = sphinx_app.outdir
        function_html = op.join(
            out_dir, "generated", "numpydoc_test_module.my_function.html"
        )
        with open(function_html) as fid:
            html = fid.read()
        assert r"\*args" not in html
        assert "*args" in html
        # check xref (iterable should link using xref):
>       assert "glossary.html#term-iterable" in html
E       assert 'glossary.html#term-iterable' in '\n<!DOCTYPE html>\n\n<html>\n  <head>\n    <meta charset="utf-8" />\n    <meta name="viewport" content="width=device-..._module.my_function.rst.txt"\n          rel="nofollow">Page source</a>\n    </div>\n\n    \n\n    \n  </body>\n</html>'

fid        = <_io.TextIOWrapper name='/tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root/_build/html/generated/numpydoc_test_module.my_function.html' mode='r' encoding='UTF-8'>
function_html = '/tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root/_build/html/generated/numpydoc_test_module.my_function.html'
html       = '\n<!DOCTYPE html>\n\n<html>\n  <head>\n    <meta charset="utf-8" />\n    <meta name="viewport" content="width=device-..._module.my_function.rst.txt"\n          rel="nofollow">Page source</a>\n    </div>\n\n    \n\n    \n  </body>\n</html>'
out_dir    = '/tmp/B.g5b0uq21/BUILD/tmp/pytest-of-builder/pytest-0/root/_build/html'
sphinx_app = <sphinx.application.Sphinx object at 0xf5d686b8>

numpydoc/tests/test_full.py:76: AssertionError
-- generated xml file: /tmp/B.g5b0uq21/BUILD/numpydoc-1.5.0/junit-results.xml --
=========================== short test summary info ============================
XFAIL numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadParameters-blank_lines-msgs30]
XFAIL numpydoc/tests/test_validate.py::TestValidator::test_bad_docstrings[BadReturns-no_type-msgs33]
FAILED numpydoc/tests/test_full.py::test_MyClass - assert 'stdtypes.html#dict...
FAILED numpydoc/tests/test_full.py::test_my_function - assert 'glossary.html#...
=================== 2 failed, 237 passed, 2 xfailed in 3.61s ===================
error: Bad exit status from /tmp/B.g5b0uq21/BUILD/tmp/rpm-tmp.n9YZOS (%build)

RPM build errors:
    Bad exit status from /tmp/B.g5b0uq21/BUILD/tmp/rpm-tmp.n9YZOS (%build)
ended at: Sat Jan 11 14:19:38 2025, done in 0:00:05.473775
error: No files produced.
+ chmod -R u+rwX /tmp/B.g5b0uq21/BUILD
+ rm -rf /tmp/B.g5b0uq21/tmp /tmp/B.g5b0uq21/BUILD
+ rm -rf /tmp/B.g5b0uq21
Begin-PLD-Builder-Info
Build-Time: user:6.53s sys:1.42s real:8.14s (faults io:0 non-io:143758)

End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]