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 Paranoid Android.
Your IP: 18.97.14.81

python3-sphinx_codeautolink 25522a08-e49b-43c1-80c4-471d37fe4cb4

Status:Failed
Source URL:https://buildlogs.pld-linux.org/pld/th/i686/FAIL/python3-sphinx_codeautolink,25522a08-e49b-43c1-80c4-471d37fe4cb4.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2025/07/05 07:21:02
Runtime:0:01:13.738597

Toc:

  • error 1
  • E RuntimeError: Sphinx build failed!
  • error 2
  • E RuntimeError: Sphinx build failed!
  • error 3
  • E RuntimeError: Sphinx build failed!
  • error 4
  • E RuntimeError: Sphinx build failed!
  • error 5
  • E RuntimeError: Sphinx build failed!
  • error 6
  • error: Bad exit status from /tmp/B.8b26r2_b/BUILD/tmp/rpm-tmp.8lg3XW (%build)
  • error 7
  • RPM build errors:
  • error 8
  • error: No files produced.

Content:

adding 'sphinx_codeautolink/locale/fi/LC_MESSAGES/sphinx-codeautolink.po'
adding 'sphinx_codeautolink/locale/fr/LC_MESSAGES/sphinx-codeautolink.mo'
adding 'sphinx_codeautolink/locale/fr/LC_MESSAGES/sphinx-codeautolink.po'
adding 'sphinx_codeautolink/locale/it/LC_MESSAGES/sphinx-codeautolink.mo'
adding 'sphinx_codeautolink/locale/it/LC_MESSAGES/sphinx-codeautolink.po'
adding 'sphinx_codeautolink/locale/nl/LC_MESSAGES/sphinx-codeautolink.mo'
adding 'sphinx_codeautolink/locale/nl/LC_MESSAGES/sphinx-codeautolink.po'
adding 'sphinx_codeautolink/locale/ru/LC_MESSAGES/sphinx-codeautolink.po'
adding 'sphinx_codeautolink/locale/uk/LC_MESSAGES/sphinx-codeautolink.po'
adding 'sphinx_codeautolink/static/sphinx-codeautolink.css'
adding 'sphinx_codeautolink-0.17.4.dist-info/licenses/LICENSE'
adding 'sphinx_codeautolink-0.17.4.dist-info/METADATA'
adding 'sphinx_codeautolink-0.17.4.dist-info/WHEEL'
adding 'sphinx_codeautolink-0.17.4.dist-info/top_level.txt'
adding 'sphinx_codeautolink-0.17.4.dist-info/RECORD'
removing build/bdist.linux-i686/wheel
Successfully built sphinx_codeautolink-0.17.4-py3-none-any.whl
+ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pwd
+ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTHONPATH=/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/src /usr/bin/python3 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.5, pytest-8.3.5, pluggy-1.5.0
rootdir: /tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4
configfile: pyproject.toml
collected 271 items

tests/__init__.py ...                                                    [  1%]
tests/extension/__init__.py ............................................ [ 17%]
......F.........F....F.....FF........................................... [ 43%]
                                                                         [ 43%]
tests/parse/__init__.py ....x.....................x.                     [ 54%]
tests/parse/assign.py .................................x................ [ 72%]
                                                                         [ 72%]
tests/parse/chain.py ...                                                 [ 73%]
tests/parse/match.py ............xx..                                    [ 79%]
tests/parse/scope.py ..............x......x....x...x..........x......... [ 98%]
....                                                                     [100%]

=================================== FAILURES ===================================
___________________ test_references[ref_builtins.txt-file50] ___________________

name = 'ref_builtins.txt'
file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_builtins.txt')
tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0')

    @pytest.mark.parametrize(("name", "file"), ref_tests)
    def test_references(name: str, file: Path, tmp_path: Path):
        """
        Basic extension tests for reference building.
    
        The tests are structured as .txt files, parsed and executed here.
        The structure of the file is::
    
            expected
            autolink
            link.targets
            # split
            lines to add to the default conf.py
            # split
            index.html content
        """
        if ref_xfails.get(file.name, False):
            pytest.xfail("Expected to fail.")
    
        links, conf, index = file.read_text("utf-8").split("# split")
        links = links.strip().split("\n")
        if len(links) == 1 and not links[0]:
            links = []
    
        files = {"conf.py": default_conf + conf, "index.rst": index}
        print(f"Building file {name}.")
>       result_dir = _sphinx_build(tmp_path, "html", files)

tests/extension/__init__.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0')
builder = 'html'
files = {'conf.py': '\nextensions = [\n    "sphinx.ext.autodoc",\n    "sphinx_codeautolink",\n]\n\nautodoc_default_options = {...\n', 'index.rst': '\nTest project\n============\n\n.. code:: python\n\n   print("Hi")\n   raise RuntimeError("Bye")\n'}
n_processes = None

    def _sphinx_build(
        folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None
    ) -> Path:
        """Build Sphinx documentation and return result folder."""
        src_dir = folder / "src"
        src_dir.mkdir(exist_ok=True)
        for name, content in files.items():
            path = src_dir / name
            path.parent.mkdir(exist_ok=True, parents=True)
            path.write_text(content, "utf-8")
    
        build_dir = folder / "build"
        args = ["-M", builder, str(src_dir), str(build_dir), "-W"]
        if n_processes:
            args.extend(["-j", str(n_processes)])
        ret_val = sphinx_main(args)
        if ret_val:
            msg = "Sphinx build failed!"
>           raise RuntimeError(msg)
E           RuntimeError: Sphinx build failed!

tests/extension/__init__.py:440: RuntimeError
----------------------------- Captured stdout call -----------------------------
Building file ref_builtins.txt.
Running Sphinx v8.3.0
loading translations [en]... done
making output directory... done
loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ...
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/build/html/_static/basic.css
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/build/html/_static/documentation_options.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/build/html/_static/language_data.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/build/html/_static/alabaster.css
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [100%] index

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build finished with problems, 4 warnings (with warnings treated as errors).
----------------------------- Captured stderr call -----------------------------
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 0xee5ef988>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/src/index.rst:5: WARNING: Inventory missing `print` when resolving `print` on line 1.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_builtins_t0/src/index.rst:5: WARNING: Inventory missing `RuntimeError` when resolving `RuntimeError` on line 2.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
WARNING: Cannot locate modules: 'RuntimeError', 'print'
  because of missing intersphinx or documentation entries [codeautolink.missing_inventory]
________________ test_references[ref_func_no_module.txt-file60] ________________

name = 'ref_func_no_module.txt'
file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_func_no_module.txt')
tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0')

    @pytest.mark.parametrize(("name", "file"), ref_tests)
    def test_references(name: str, file: Path, tmp_path: Path):
        """
        Basic extension tests for reference building.
    
        The tests are structured as .txt files, parsed and executed here.
        The structure of the file is::
    
            expected
            autolink
            link.targets
            # split
            lines to add to the default conf.py
            # split
            index.html content
        """
        if ref_xfails.get(file.name, False):
            pytest.xfail("Expected to fail.")
    
        links, conf, index = file.read_text("utf-8").split("# split")
        links = links.strip().split("\n")
        if len(links) == 1 and not links[0]:
            links = []
    
        files = {"conf.py": default_conf + conf, "index.rst": index}
        print(f"Building file {name}.")
>       result_dir = _sphinx_build(tmp_path, "html", files)

tests/extension/__init__.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0')
builder = 'html'
files = {'conf.py': '\nextensions = [\n    "sphinx.ext.autodoc",\n    "sphinx_codeautolink",\n]\n\nautodoc_default_options = {... '\nTest project\n============\n\n.. code:: python\n\n   from datetime import datetime\n   datetime.fromisoformat()\n'}
n_processes = None

    def _sphinx_build(
        folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None
    ) -> Path:
        """Build Sphinx documentation and return result folder."""
        src_dir = folder / "src"
        src_dir.mkdir(exist_ok=True)
        for name, content in files.items():
            path = src_dir / name
            path.parent.mkdir(exist_ok=True, parents=True)
            path.write_text(content, "utf-8")
    
        build_dir = folder / "build"
        args = ["-M", builder, str(src_dir), str(build_dir), "-W"]
        if n_processes:
            args.extend(["-j", str(n_processes)])
        ret_val = sphinx_main(args)
        if ret_val:
            msg = "Sphinx build failed!"
>           raise RuntimeError(msg)
E           RuntimeError: Sphinx build failed!

tests/extension/__init__.py:440: RuntimeError
----------------------------- Captured stdout call -----------------------------
Building file ref_func_no_module.txt.
Running Sphinx v8.3.0
loading translations [en]... done
making output directory... done
loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ...
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/build/html/_static/basic.css
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/build/html/_static/documentation_options.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/build/html/_static/language_data.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/build/html/_static/alabaster.css
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [100%] index

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build finished with problems, 5 warnings (with warnings treated as errors).
----------------------------- Captured stderr call -----------------------------
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 0xed64ec90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/src/index.rst:5: WARNING: Inventory missing `datetime` when resolving `datetime` on line 1.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/src/index.rst:5: WARNING: Inventory missing `datetime.datetime` when resolving `datetime` on line 1.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_func_no_mo0/src/index.rst:5: WARNING: Inventory missing `datetime.datetime.fromisoformat` when resolving `datetime.fromisoformat` on line 2.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
WARNING: Cannot locate modules: 'datetime'
  because of missing intersphinx or documentation entries [codeautolink.missing_inventory]
_____________ test_references[ref_import_multiple_libs.txt-file65] _____________

name = 'ref_import_multiple_libs.txt'
file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_import_multiple_libs.txt')
tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1')

    @pytest.mark.parametrize(("name", "file"), ref_tests)
    def test_references(name: str, file: Path, tmp_path: Path):
        """
        Basic extension tests for reference building.
    
        The tests are structured as .txt files, parsed and executed here.
        The structure of the file is::
    
            expected
            autolink
            link.targets
            # split
            lines to add to the default conf.py
            # split
            index.html content
        """
        if ref_xfails.get(file.name, False):
            pytest.xfail("Expected to fail.")
    
        links, conf, index = file.read_text("utf-8").split("# split")
        links = links.strip().split("\n")
        if len(links) == 1 and not links[0]:
            links = []
    
        files = {"conf.py": default_conf + conf, "index.rst": index}
        print(f"Building file {name}.")
>       result_dir = _sphinx_build(tmp_path, "html", files)

tests/extension/__init__.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1')
builder = 'html'
files = {'conf.py': '\nextensions = [\n    "sphinx.ext.autodoc",\n    "sphinx_codeautolink",\n]\n\nautodoc_default_options = {...dex.rst': '\nTest project\n============\n\n.. code:: python\n\n   import json, math\n\n.. automodule:: test_project\n'}
n_processes = None

    def _sphinx_build(
        folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None
    ) -> Path:
        """Build Sphinx documentation and return result folder."""
        src_dir = folder / "src"
        src_dir.mkdir(exist_ok=True)
        for name, content in files.items():
            path = src_dir / name
            path.parent.mkdir(exist_ok=True, parents=True)
            path.write_text(content, "utf-8")
    
        build_dir = folder / "build"
        args = ["-M", builder, str(src_dir), str(build_dir), "-W"]
        if n_processes:
            args.extend(["-j", str(n_processes)])
        ret_val = sphinx_main(args)
        if ret_val:
            msg = "Sphinx build failed!"
>           raise RuntimeError(msg)
E           RuntimeError: Sphinx build failed!

tests/extension/__init__.py:440: RuntimeError
----------------------------- Captured stdout call -----------------------------
Building file ref_import_multiple_libs.txt.
Running Sphinx v8.3.0
loading translations [en]... done
making output directory... done
loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ...
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/build/html/_static/basic.css
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/build/html/_static/documentation_options.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/build/html/_static/language_data.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/build/html/_static/alabaster.css
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [100%] index

generating indices... genindex py-modindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build finished with problems, 4 warnings (with warnings treated as errors).
----------------------------- Captured stderr call -----------------------------
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 0xed33a7c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/src/index.rst:5: WARNING: Inventory missing `json` when resolving `json` on line 1.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_import_mul1/src/index.rst:5: WARNING: Inventory missing `math` when resolving `math` on line 1.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
WARNING: Cannot locate modules: 'json', 'math'
  because of missing intersphinx or documentation entries [codeautolink.missing_inventory]
_______________ test_references[ref_intersphinx_only.txt-file71] _______________

name = 'ref_intersphinx_only.txt'
file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_intersphinx_only.txt')
tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0')

    @pytest.mark.parametrize(("name", "file"), ref_tests)
    def test_references(name: str, file: Path, tmp_path: Path):
        """
        Basic extension tests for reference building.
    
        The tests are structured as .txt files, parsed and executed here.
        The structure of the file is::
    
            expected
            autolink
            link.targets
            # split
            lines to add to the default conf.py
            # split
            index.html content
        """
        if ref_xfails.get(file.name, False):
            pytest.xfail("Expected to fail.")
    
        links, conf, index = file.read_text("utf-8").split("# split")
        links = links.strip().split("\n")
        if len(links) == 1 and not links[0]:
            links = []
    
        files = {"conf.py": default_conf + conf, "index.rst": index}
        print(f"Building file {name}.")
>       result_dir = _sphinx_build(tmp_path, "html", files)

tests/extension/__init__.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0')
builder = 'html'
files = {'conf.py': '\nextensions = [\n    "sphinx.ext.autodoc",\n    "sphinx_codeautolink",\n]\n\nautodoc_default_options = {...one)}\n', 'index.rst': '\nTest project\n============\n\n.. code:: python\n\n   import numpy as np\n\n   np.arange()\n'}
n_processes = None

    def _sphinx_build(
        folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None
    ) -> Path:
        """Build Sphinx documentation and return result folder."""
        src_dir = folder / "src"
        src_dir.mkdir(exist_ok=True)
        for name, content in files.items():
            path = src_dir / name
            path.parent.mkdir(exist_ok=True, parents=True)
            path.write_text(content, "utf-8")
    
        build_dir = folder / "build"
        args = ["-M", builder, str(src_dir), str(build_dir), "-W"]
        if n_processes:
            args.extend(["-j", str(n_processes)])
        ret_val = sphinx_main(args)
        if ret_val:
            msg = "Sphinx build failed!"
>           raise RuntimeError(msg)
E           RuntimeError: Sphinx build failed!

tests/extension/__init__.py:440: RuntimeError
----------------------------- Captured stdout call -----------------------------
Building file ref_intersphinx_only.txt.
Running Sphinx v8.3.0
loading translations [en]... done
making output directory... done
loading intersphinx inventory 'numpy' from https://numpy.org/doc/stable/objects.inv ...
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/build/html/_static/basic.css
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/build/html/_static/documentation_options.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/build/html/_static/language_data.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/build/html/_static/alabaster.css
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [100%] index

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build finished with problems, 4 warnings (with warnings treated as errors).
----------------------------- Captured stderr call -----------------------------
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xecebc710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/src/index.rst:5: WARNING: Inventory missing `numpy` when resolving `numpy` on line 1.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_intersphin0/src/index.rst:5: WARNING: Inventory missing `numpy.arange` when resolving `np.arange` on line 3.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
WARNING: Cannot locate modules: 'numpy'
  because of missing intersphinx or documentation entries [codeautolink.missing_inventory]
_________________ test_references[ref_invalid_func.txt-file72] _________________

name = 'ref_invalid_func.txt'
file = PosixPath('/tmp/B.8b26r2_b/BUILD/python3-sphinx_codeautolink-0.17.4-build/sphinx_codeautolink-0.17.4/tests/extension/ref/ref_invalid_func.txt')
tmp_path = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0')

    @pytest.mark.parametrize(("name", "file"), ref_tests)
    def test_references(name: str, file: Path, tmp_path: Path):
        """
        Basic extension tests for reference building.
    
        The tests are structured as .txt files, parsed and executed here.
        The structure of the file is::
    
            expected
            autolink
            link.targets
            # split
            lines to add to the default conf.py
            # split
            index.html content
        """
        if ref_xfails.get(file.name, False):
            pytest.xfail("Expected to fail.")
    
        links, conf, index = file.read_text("utf-8").split("# split")
        links = links.strip().split("\n")
        if len(links) == 1 and not links[0]:
            links = []
    
        files = {"conf.py": default_conf + conf, "index.rst": index}
        print(f"Building file {name}.")
>       result_dir = _sphinx_build(tmp_path, "html", files)

tests/extension/__init__.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

folder = PosixPath('/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0')
builder = 'html'
files = {'conf.py': '\nextensions = [\n    "sphinx.ext.autodoc",\n    "sphinx_codeautolink",\n]\n\nautodoc_default_options = {...ndex.rst': '\nTest project\n============\n\n.. code:: python\n\n   import numpy as np\n\n   np.concatenate().mean()\n'}
n_processes = None

    def _sphinx_build(
        folder: Path, builder: str, files: dict[str, str], n_processes: int | None = None
    ) -> Path:
        """Build Sphinx documentation and return result folder."""
        src_dir = folder / "src"
        src_dir.mkdir(exist_ok=True)
        for name, content in files.items():
            path = src_dir / name
            path.parent.mkdir(exist_ok=True, parents=True)
            path.write_text(content, "utf-8")
    
        build_dir = folder / "build"
        args = ["-M", builder, str(src_dir), str(build_dir), "-W"]
        if n_processes:
            args.extend(["-j", str(n_processes)])
        ret_val = sphinx_main(args)
        if ret_val:
            msg = "Sphinx build failed!"
>           raise RuntimeError(msg)
E           RuntimeError: Sphinx build failed!

tests/extension/__init__.py:440: RuntimeError
----------------------------- Captured stdout call -----------------------------
Building file ref_invalid_func.txt.
Running Sphinx v8.3.0
loading translations [en]... done
making output directory... done
loading intersphinx inventory 'numpy' from https://numpy.org/doc/stable/objects.inv ...
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 1 source files that are out of date
updating environment: [new config] 1 added, 0 changed, 0 removed
reading sources... [100%] index

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/build/html/_static/basic.css
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/build/html/_static/documentation_options.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/build/html/_static/language_data.js
Writing evaluated template result to /tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/build/html/_static/alabaster.css
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [100%] index

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build finished with problems, 4 warnings (with warnings treated as errors).
----------------------------- Captured stderr call -----------------------------
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xed14db30>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/src/index.rst:5: WARNING: Inventory missing `numpy` when resolving `numpy` on line 1.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
/tmp/B.8b26r2_b/BUILD/tmp/pytest-of-builder/pytest-0/test_references_ref_invalid_fu0/src/index.rst:5: WARNING: Inventory missing `numpy.concatenate` when resolving `np.concatenate` on line 3.
Possibly missing documentation entry entirely, or the object has been relocated from the source file. [codeautolink.missing_inventory]
WARNING: Cannot locate modules: 'numpy'
  because of missing intersphinx or documentation entries [codeautolink.missing_inventory]
=============================== warnings summary ===============================
tests/extension/__init__.py::test_references[lexer_ipython_directive.txt-file25]
  /usr/share/python3.13/site-packages/_pytest/assertion/rewrite.py:185: DeprecationWarning: module 'sre_constants' is deprecated
    exec(co, module.__dict__)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/extension/__init__.py::test_references[ref_builtins.txt-file50]
FAILED tests/extension/__init__.py::test_references[ref_func_no_module.txt-file60]
FAILED tests/extension/__init__.py::test_references[ref_import_multiple_libs.txt-file65]
FAILED tests/extension/__init__.py::test_references[ref_intersphinx_only.txt-file71]
FAILED tests/extension/__init__.py::test_references[ref_invalid_func.txt-file72]
======= 5 failed, 256 passed, 10 xfailed, 1 warning in 65.88s (0:01:05) ========
error: Bad exit status from /tmp/B.8b26r2_b/BUILD/tmp/rpm-tmp.8lg3XW (%build)

RPM build warnings:
    Could not canonicalize hostname: nereid

RPM build errors:
    Bad exit status from /tmp/B.8b26r2_b/BUILD/tmp/rpm-tmp.8lg3XW (%build)
ended at: Sat Jul  5 07:21:01 2025, done in 0:01:13.738597
error: No files produced.
+ chmod -R u+rwX /tmp/B.8b26r2_b/BUILD
+ rm -rf /tmp/B.8b26r2_b/tmp /tmp/B.8b26r2_b/BUILD
+ rm -rf /tmp/B.8b26r2_b
Begin-PLD-Builder-Info
Build-Time: user:71.96s sys:4.21s real:76.48s (faults io:0 non-io:326469)

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