Package: src:jupyter-sphinx
Version: 0.5.3-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:jupyter-sphinx, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf .mypy_cache .pytest_cache
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   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

[... snipped ...]

                 ) -> 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_output_cell 
_______________________________

doctree = <function doctree.<locals>.doctree at 0x7f44e2bf6980>

    def 
test_output_cell(doctree):
        source = """
        .. jupyter-input::
    
            3 + 2
    
        .. jupyter-output::
    
            4
        """
>       tree = doctree(source)
               ^^^^^^^^^^^^^^^

tests/test_execute.py:722: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_execute.py:63: in doctree
    app = SphinxTestApp(
/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 0x7f44e26b9f10>, 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_output_only_error 
____________________________

doctree = <function doctree.<locals>.doctree at 0x7f44e3f9e480>

    def 
test_output_only_error(doctree):
        source = """
        .. jupyter-output::
    
            4
        """
        with pytest.raises(ExtensionError):
>           doctree(source)

tests/test_execute.py:739: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_execute.py:63: in doctree
    app = SphinxTestApp(
/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 0x7f44e2cb73b0>, 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_multiple_directives 
___________________________

doctree = <function doctree.<locals>.doctree at 0x7f44e2bf7b00>

    def 
test_multiple_directives(doctree):
        source = """
        .. jupyter-execute::
    
            2 + 2
    
        .. jupyter-input::
    
            3 + 3
    
        .. jupyter-output::
    
            5
        """
>       tree = doctree(source)
               ^^^^^^^^^^^^^^^

tests/test_execute.py:756: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_execute.py:63: in doctree
    app = SphinxTestApp(
/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 0x7f44e2bafa70>, 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
============================= slowest 10 durations =============================
0.15s call     tests/test_execute.py::test_basic[html]
0.01s call     tests/test_execute.py::test_basic[singlehtml]
0.01s call     tests/test_execute.py::test_linenos_conf_option
0.01s call     tests/test_execute.py::test_input_cell_linenos
0.01s call     tests/test_execute.py::test_javascript
0.01s call     tests/test_execute.py::test_latex
0.01s call     tests/test_execute.py::test_emphasize_lines
0.01s call     tests/test_execute.py::test_continue_linenos_conf_option
0.01s call     tests/test_execute.py::test_input_cell
0.01s call     tests/test_execute.py::test_thebe_button_manual
=========================== short test summary info 
============================
SKIPPED [1] tests/test_execute.py:655: could not import 'bash_kernel': 
No module named 'bash_kernel'
XFAIL tests/test_execute.py::test_builder_priority
FAILED tests/test_execute.py::test_basic[html] - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_basic[singlehtml] - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_hide_output - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_hide_code - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_code_below - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_linenos - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_linenos_conf_option - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED 
tests/test_execute.py::test_continue_linenos_conf_option - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_emphasize_lines - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED 
tests/test_execute.py::test_execution_environment_carries_over - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_kernel_restart - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_raises - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_widgets - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_javascript - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_stdout - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_stderr - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_thebe_hide_output - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_thebe_hide_code - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_thebe_code_below - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_thebe_button_auto - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_thebe_button_manual - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_thebe_button_none - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_latex - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_save_script - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_input_cell - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_input_cell_linenos - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_output_cell - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_output_only_error - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
FAILED tests/test_execute.py::test_multiple_directives - 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docuti...
============== 29 failed, 4 passed, 1 
skipped, 1 xfailed in 2.14s ==============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_jupyter-sphinx/build; python3.13 -m 
pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to