Package: src:sphinx-book-theme
Version: 1.1.4-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202511/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:sphinx-book-theme, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-book-theme  
* Building wheel...
No `packages` or `py_modules` configuration, performing automatic discovery.

[... snipped ...]

    app_ = SphinxTestApp(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/testing/util.py:178: in __init__
    super().__init__(
/usr/lib/python3/dist-packages/sphinx/application.py:335: in __init__
    self.builder = self.create_builder(buildername)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/application.py:419: in create_builder
    return self.registry.create_builder(self, name, self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/registry.py:199: in create_builder
    return self.builders[name](app, env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/builders/html/__init__.py:154: in __init__
    reader: Reader[DocTreeInput] = docutils.readers.doctree.Reader(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <docutils.readers.doctree.Reader object at 0x7fd81bb2e360>, parser = None
parser_name = 'restructuredtext'

    def __init__(self,
                 parser: Parser | str | None = None,
                 parser_name: str | None = None
                 ) -> None:
        """
        Initialize the Reader instance.
    
        :parser: A parser instance or name (an instance will be created).
        :parser_name: deprecated, use "parser".
    
        Several instance attributes are defined with dummy initial values.
        Subclasses may use these attributes as they wish.
        """
    
        self.parser: Parser | None = parser
        """A `parsers.Parser` instance shared by all doctrees.  May be left
        unspecified if the document source determines the parser."""
    
        if isinstance(parser, str):
            self.set_parser(parser)
        if parser_name is not None:
>           warnings.warn('Argument "parser_name" will be removed '
                          'in Docutils 2.0.\n'
                          '  Specify parser name in the "parser" argument.',
                          PendingDeprecationWarning, stacklevel=2)
E           PendingDeprecationWarning: Argument "parser_name" will be removed 
in Docutils 2.0.
E             Specify parser name in the "parser" argument.

/usr/lib/python3/dist-packages/docutils/readers/__init__.py:70: 
PendingDeprecationWarning
___________________________ test_right_sidebar_title ___________________________

sphinx_build_factory = <function sphinx_build_factory.<locals>._func at 
0x7fd81baa1260>
file_regression = <pytest_regressions.file_regression.FileRegressionFixture 
object at 0x7fd81baa59b0>

    def test_right_sidebar_title(sphinx_build_factory, file_regression):
        confoverrides = {"html_theme_options.toc_title": "My test content 
title"}
>       sphinx_build = sphinx_build_factory("base", 
> confoverrides=confoverrides).build(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            assert_pass=True
        )

../../../tests/test_build.py:447: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../tests/test_build.py:59: in _func
    app = make_app(srcdir=sphinx_path(tmp_path / src_folder), **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:202: in make
    app_ = SphinxTestApp(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/testing/util.py:178: in __init__
    super().__init__(
/usr/lib/python3/dist-packages/sphinx/application.py:335: in __init__
    self.builder = self.create_builder(buildername)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/application.py:419: in create_builder
    return self.registry.create_builder(self, name, self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/registry.py:199: in create_builder
    return self.builders[name](app, env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/builders/html/__init__.py:154: in __init__
    reader: Reader[DocTreeInput] = docutils.readers.doctree.Reader(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <docutils.readers.doctree.Reader object at 0x7fd81baa2850>, parser = None
parser_name = 'restructuredtext'

    def __init__(self,
                 parser: Parser | str | None = None,
                 parser_name: str | None = None
                 ) -> None:
        """
        Initialize the Reader instance.
    
        :parser: A parser instance or name (an instance will be created).
        :parser_name: deprecated, use "parser".
    
        Several instance attributes are defined with dummy initial values.
        Subclasses may use these attributes as they wish.
        """
    
        self.parser: Parser | None = parser
        """A `parsers.Parser` instance shared by all doctrees.  May be left
        unspecified if the document source determines the parser."""
    
        if isinstance(parser, str):
            self.set_parser(parser)
        if parser_name is not None:
>           warnings.warn('Argument "parser_name" will be removed '
                          'in Docutils 2.0.\n'
                          '  Specify parser name in the "parser" argument.',
                          PendingDeprecationWarning, stacklevel=2)
E           PendingDeprecationWarning: Argument "parser_name" will be removed 
in Docutils 2.0.
E             Specify parser name in the "parser" argument.

/usr/lib/python3/dist-packages/docutils/readers/__init__.py:70: 
PendingDeprecationWarning
________________________________ test_sidenote _________________________________

sphinx_build_factory = <function sphinx_build_factory.<locals>._func at 
0x7fd81bbbfc40>
file_regression = <pytest_regressions.file_regression.FileRegressionFixture 
object at 0x7fd81bbe8c90>

    def test_sidenote(sphinx_build_factory, file_regression):
        confoverrides = {"html_theme_options.use_sidenotes": True}
>       sphinx_build = sphinx_build_factory("base", 
> confoverrides=confoverrides).build(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            assert_pass=True
        )

../../../tests/test_build.py:465: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../tests/test_build.py:59: in _func
    app = make_app(srcdir=sphinx_path(tmp_path / src_folder), **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:202: in make
    app_ = SphinxTestApp(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/testing/util.py:178: in __init__
    super().__init__(
/usr/lib/python3/dist-packages/sphinx/application.py:335: in __init__
    self.builder = self.create_builder(buildername)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/application.py:419: in create_builder
    return self.registry.create_builder(self, name, self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/registry.py:199: in create_builder
    return self.builders[name](app, env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/builders/html/__init__.py:154: in __init__
    reader: Reader[DocTreeInput] = docutils.readers.doctree.Reader(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <docutils.readers.doctree.Reader object at 0x7fd81baa32f0>, parser = None
parser_name = 'restructuredtext'

    def __init__(self,
                 parser: Parser | str | None = None,
                 parser_name: str | None = None
                 ) -> None:
        """
        Initialize the Reader instance.
    
        :parser: A parser instance or name (an instance will be created).
        :parser_name: deprecated, use "parser".
    
        Several instance attributes are defined with dummy initial values.
        Subclasses may use these attributes as they wish.
        """
    
        self.parser: Parser | None = parser
        """A `parsers.Parser` instance shared by all doctrees.  May be left
        unspecified if the document source determines the parser."""
    
        if isinstance(parser, str):
            self.set_parser(parser)
        if parser_name is not None:
>           warnings.warn('Argument "parser_name" will be removed '
                          'in Docutils 2.0.\n'
                          '  Specify parser name in the "parser" argument.',
                          PendingDeprecationWarning, stacklevel=2)
E           PendingDeprecationWarning: Argument "parser_name" will be removed 
in Docutils 2.0.
E             Specify parser name in the "parser" argument.

/usr/lib/python3/dist-packages/docutils/readers/__init__.py:70: 
PendingDeprecationWarning
_______________________________ test_marginnote ________________________________

sphinx_build_factory = <function sphinx_build_factory.<locals>._func at 
0x7fd81baa3560>
file_regression = <pytest_regressions.file_regression.FileRegressionFixture 
object at 0x7fd81bb0b1e0>

    def test_marginnote(sphinx_build_factory, file_regression):
        confoverrides = {"html_theme_options.use_sidenotes": True}
>       sphinx_build = sphinx_build_factory("base", 
> confoverrides=confoverrides).build(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            assert_pass=True
        )

../../../tests/test_build.py:483: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../tests/test_build.py:59: in _func
    app = make_app(srcdir=sphinx_path(tmp_path / src_folder), **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:202: in make
    app_ = SphinxTestApp(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/testing/util.py:178: in __init__
    super().__init__(
/usr/lib/python3/dist-packages/sphinx/application.py:335: in __init__
    self.builder = self.create_builder(buildername)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/application.py:419: in create_builder
    return self.registry.create_builder(self, name, self.env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/registry.py:199: in create_builder
    return self.builders[name](app, env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/sphinx/builders/html/__init__.py:154: in __init__
    reader: Reader[DocTreeInput] = docutils.readers.doctree.Reader(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <docutils.readers.doctree.Reader object at 0x7fd81bb28710>, parser = None
parser_name = 'restructuredtext'

    def __init__(self,
                 parser: Parser | str | None = None,
                 parser_name: str | None = None
                 ) -> None:
        """
        Initialize the Reader instance.
    
        :parser: A parser instance or name (an instance will be created).
        :parser_name: deprecated, use "parser".
    
        Several instance attributes are defined with dummy initial values.
        Subclasses may use these attributes as they wish.
        """
    
        self.parser: Parser | None = parser
        """A `parsers.Parser` instance shared by all doctrees.  May be left
        unspecified if the document source determines the parser."""
    
        if isinstance(parser, str):
            self.set_parser(parser)
        if parser_name is not None:
>           warnings.warn('Argument "parser_name" will be removed '
                          'in Docutils 2.0.\n'
                          '  Specify parser name in the "parser" argument.',
                          PendingDeprecationWarning, stacklevel=2)
E           PendingDeprecationWarning: Argument "parser_name" will be removed 
in Docutils 2.0.
E             Specify parser name in the "parser" argument.

/usr/lib/python3/dist-packages/docutils/readers/__init__.py:70: 
PendingDeprecationWarning
=========================== short test summary info ============================
FAILED ../../../tests/test_build.py::test_parallel_build - PendingDeprecation...
FAILED ../../../tests/test_build.py::test_navbar_options_home_page_in_toc - P...
FAILED 
../../../tests/test_build.py::test_navbar_options[extra_footer-<div>EXTRA 
FOOTER</div>]
FAILED 
../../../tests/test_build.py::test_source_button_url[-https://github.com/executablebooks/sphinx-book-theme]
FAILED 
../../../tests/test_build.py::test_source_button_url[github-https://gh.mycompany.com/executablebooks/sphinx-book-theme]
FAILED 
../../../tests/test_build.py::test_source_button_url[-https://gitlab.com/gitlab-org/gitlab]
FAILED 
../../../tests/test_build.py::test_source_button_url[-https://opensource.ncsa.illinois.edu/bitbucket/scm/u3d/3dutilities]
FAILED 
../../../tests/test_build.py::test_source_button_url[gitlab-https://mywebsite.com/gitlab/gitlab-org/gitlab]
FAILED ../../../tests/test_build.py::test_header_launchbtns - PendingDeprecat...
FAILED ../../../tests/test_build.py::test_empty_header_launchbtns - PendingDe...
FAILED 
../../../tests/test_build.py::test_launch_button_url[-https://github.com/executablebooks/sphinx-book-theme]
FAILED 
../../../tests/test_build.py::test_launch_button_url[-https://gitlab.com/gitlab-org/gitlab]
FAILED 
../../../tests/test_build.py::test_launch_button_url[-https://opensource.ncsa.illinois.edu/bitbucket/scm/u3d/3dutilities]
FAILED 
../../../tests/test_build.py::test_launch_button_url[gitlab-https://mywebsite.com/gitlab/gitlab-org/gitlab]
FAILED ../../../tests/test_build.py::test_singlehtml - PendingDeprecationWarn...
FAILED ../../../tests/test_build.py::test_docs_dirhtml - PendingDeprecationWa...
FAILED ../../../tests/test_build.py::test_show_navbar_depth - PendingDeprecat...
FAILED ../../../tests/test_build.py::test_header_download_button_off - Pendin...
FAILED ../../../tests/test_build.py::test_header_fullscreen_button_off - Pend...
FAILED ../../../tests/test_build.py::test_right_sidebar_title - PendingDeprec...
FAILED ../../../tests/test_build.py::test_sidenote - PendingDeprecationWarnin...
FAILED ../../../tests/test_build.py::test_marginnote - PendingDeprecationWarn...
================== 22 failed, 1 passed, 5 deselected in 1.69s ==================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-book-theme/build; python3.13 -m 
pytest -v -k 'not test_build_book and not test_header_repository_buttons and 
not test_repo_custombranch' {dir}/tests/
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to