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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --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-design  
* Building wheel...
Successfully built sphinx_design-0.6.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-design/build; python3.13 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-design/build
configfile: pyproject.toml
plugins: datadir-1.4.1+ds, regressions-2.5.0+ds, typeguard-4.4.4, cov-5.0.0
collected 8 items

tests/test_misc.py .                                                     [ 12%]
tests/test_snippets.py ssss..F                                           [100%]

=================================== FAILURES ===================================
__________________________ test_sd_custom_directives ___________________________

sphinx_builder = <function sphinx_builder.<locals>._create_project at 
0x7f46b40dd9e0>
file_regression = <pytest_regressions.file_regression.FileRegressionFixture 
object at 0x7f46b40c6060>

    @pytest.mark.skipif(not MYST_INSTALLED, reason="myst-parser not installed")
    def test_sd_custom_directives(
        sphinx_builder: Callable[..., SphinxBuilder], file_regression
    ):
        """Test that the defaults are used."""
        builder = sphinx_builder(
            conf_kwargs={
                "extensions": ["myst_parser", "sphinx_design"],
                "sd_custom_directives": {
                    "dropdown-syntax": {
                        "inherit": "dropdown",
                        "argument": "Syntax",
                        "options": {
                            "color": "primary",
                            "icon": "code",
                        },
                    }
                },
            }
        )
        content = "# Heading\n\n```{dropdown-syntax}\ncontent\n```"
        builder.src_path.joinpath("index.md").write_text(content, 
encoding="utf8")
        builder.build()
        doctree = builder.get_doctree("index", post_transforms=False)
        doctree.attributes.pop("translation_progress", None)  # added in sphinx 
7.1
>       file_regression.check(
            doctree.pformat(),
            basename="sd_custom_directives",
            extension=".xml",
            encoding="utf8",
        )
E       AssertionError: FILES DIFFER:
E       
/tmp/pytest-of-sbuild/pytest-0/test_sd_custom_directives0/test_snippets/sd_custom_directives.xml
E       
/tmp/pytest-of-sbuild/pytest-0/test_sd_custom_directives0/test_snippets/sd_custom_directives.obtained.xml
E       HTML DIFF: 
/tmp/pytest-of-sbuild/pytest-0/test_sd_custom_directives0/test_snippets/sd_custom_directives.obtained.diff.html
E       --- 
E       +++ 
E       @@ -2,7 +2,7 @@
E            <section ids="heading" names="heading">
E                <title>
E                    Heading
E       -        <container body_classes="" chevron="True" 
container_classes="sd-mb-3" design_component="dropdown" has_title="True" 
icon="code" is_div="True" opened="False" title_classes="sd-bg-primary 
sd-bg-text-primary" type="dropdown">
E       +        <container body_classes="" chevron="True" 
container_classes="sd-mb-3" design_component="dropdown" has_title="1" 
icon="code" is_div="1" opened="0" title_classes="sd-bg-primary 
sd-bg-text-primary" type="dropdown">
E                    <rubric>
E                        Syntax
E                    <paragraph>

tests/test_snippets.py:190: AssertionError
=============================== warnings summary ===============================
tests/test_snippets.py::test_sd_hide_title_rst
tests/test_snippets.py::test_sd_hide_title_myst
tests/test_snippets.py::test_sd_custom_directives
  /usr/lib/python3/dist-packages/sphinx/builders/html/__init__.py:154: 
PendingDeprecationWarning: Argument "parser_name" will be removed in Docutils 
2.0.
    Specify parser name in the "parser" argument.
    reader: Reader[DocTreeInput] = docutils.readers.doctree.Reader(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_snippets.py::test_sd_custom_directives - AssertionError: FI...
============== 1 failed, 3 passed, 4 skipped, 3 warnings in 0.44s ==============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-design/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:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to