Package: src:sphinx-design
Version: 0.5.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --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:110: Building wheel for python3.12 with "build" 
module
I: pybuild base:310: python3.12 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-design
* Building wheel...
Successfully built sphinx_design-0.5.0-py3-none-any.whl
I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with 
"installer" module
I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" 
module
I: pybuild base:310: python3.11 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinx-design
* Building wheel...
Successfully built sphinx_design-0.5.0-py3-none-any.whl
I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:310: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-design/build; python3.12 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.0, pytest-7.4.3, pluggy-1.3.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-design/build
plugins: cov-4.1.0, datadir-1.4.1+ds, regressions-2.4.1+ds
collected 6 items

tests/test_snippets.py ssssFF                                            [100%]

=================================== FAILURES ===================================
____________________________ test_sd_hide_title_rst ____________________________

sphinx_builder = <function sphinx_builder.<locals>._create_project at 
0x7ff8dd512de0>
file_regression = <pytest_regressions.file_regression.FileRegressionFixture object 
at 0x7ff8dd527b90>

    def test_sd_hide_title_rst(
        sphinx_builder: Callable[..., SphinxBuilder], file_regression
    ):
        """Test that the root title is hidden."""
      builder = sphinx_builder()

tests/test_snippets.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/conftest.py:78: in _create_project
    app = make_app(
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") 
raised in repr()] SphinxTestApp object at 0x7ff8dd527ef0>
buildername = 'html'
srcdir = path('/tmp/pytest-of-buildd/pytest-0/test_sd_hide_title_rst0/srcdir')
builddir = 
path('/tmp/pytest-of-buildd/pytest-0/test_sd_hide_title_rst0/srcdir/_build')
freshenv = False, confoverrides = None
status = <_io.StringIO object at 0x7ff8dd51b7c0>
warning = <_io.StringIO object at 0x7ff8dd51aec0>, tags = None
docutilsconf = None, parallel = 0

    def __init__(
        self,
        buildername: str = 'html',
        srcdir: Path | None = None,
        builddir: Path | None = None,
        freshenv: bool = False,
        confoverrides: dict | None = None,
        status: IO | None = None,
        warning: IO | None = None,
        tags: list[str] | None = None,
        docutilsconf: str | None = None,
        parallel: int = 0,
    ) -> None:
        assert srcdir is not None
self.docutils_conf_path = srcdir / 'docutils.conf'
        if docutilsconf is not None:
            self.docutils_conf_path.write_text(docutilsconf, encoding='utf8')
if builddir is None:
            builddir = srcdir / '_build'
confdir = srcdir
        outdir = builddir.joinpath(buildername)
      outdir.mkdir(parents=True, exist_ok=True)
E       AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 
'isdir'?

/usr/lib/python3/dist-packages/sphinx/testing/util.py:105: AttributeError
___________________________ test_sd_hide_title_myst ____________________________

sphinx_builder = <function sphinx_builder.<locals>._create_project at 
0x7ff8dd54d1c0>
file_regression = <pytest_regressions.file_regression.FileRegressionFixture object 
at 0x7ff8dd553f20>

    def test_sd_hide_title_myst(
        sphinx_builder: Callable[..., SphinxBuilder], file_regression
    ):
        """Test that the root title is hidden."""
      builder = sphinx_builder()

tests/test_snippets.py:140:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/conftest.py:78: in _create_project
    app = make_app(
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") 
raised in repr()] SphinxTestApp object at 0x7ff8dd552930>
buildername = 'html'
srcdir = path('/tmp/pytest-of-buildd/pytest-0/test_sd_hide_title_myst0/srcdir')
builddir = 
path('/tmp/pytest-of-buildd/pytest-0/test_sd_hide_title_myst0/srcdir/_build')
freshenv = False, confoverrides = None
status = <_io.StringIO object at 0x7ff8dd51b880>
warning = <_io.StringIO object at 0x7ff8dd51abc0>, tags = None
docutilsconf = None, parallel = 0

    def __init__(
        self,
        buildername: str = 'html',
        srcdir: Path | None = None,
        builddir: Path | None = None,
        freshenv: bool = False,
        confoverrides: dict | None = None,
        status: IO | None = None,
        warning: IO | None = None,
        tags: list[str] | None = None,
        docutilsconf: str | None = None,
        parallel: int = 0,
    ) -> None:
        assert srcdir is not None
self.docutils_conf_path = srcdir / 'docutils.conf'
        if docutilsconf is not None:
            self.docutils_conf_path.write_text(docutilsconf, encoding='utf8')
if builddir is None:
            builddir = srcdir / '_build'
confdir = srcdir
        outdir = builddir.joinpath(buildername)
      outdir.mkdir(parents=True, exist_ok=True)
E       AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 
'isdir'?

/usr/lib/python3/dist-packages/sphinx/testing/util.py:105: AttributeError
=============================== warnings summary ===============================
tests/conftest.py:7
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-design/build/tests/conftest.py:7:
 RemovedInSphinx90Warning: 'sphinx.testing.path' is deprecated. Use 'os.path' or 'pathlib' 
instead.
    from sphinx.testing.path import path as sphinx_path

../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
  /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: 
DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    from cgi import parse_header

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_snippets.py::test_sd_hide_title_rst - AttributeError: 'path...
FAILED tests/test_snippets.py::test_sd_hide_title_myst - AttributeError: 'pat...
=================== 2 failed, 4 skipped, 2 warnings in 0.06s ===================
E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_sphinx-design/build; python3.12 -m 
pytest tests
I: pybuild base:310: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinx-design/build; python3.11 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinx-design/build
plugins: cov-4.1.0, datadir-1.4.1+ds, regressions-2.4.1+ds
collected 6 items

tests/test_snippets.py ssssFF                                            [100%]

=================================== FAILURES ===================================
____________________________ test_sd_hide_title_rst ____________________________

sphinx_builder = <function sphinx_builder.<locals>._create_project at 
0x7fc926f12340>
file_regression = <pytest_regressions.file_regression.FileRegressionFixture object 
at 0x7fc926f63ed0>

    def test_sd_hide_title_rst(
        sphinx_builder: Callable[..., SphinxBuilder], file_regression
    ):
        """Test that the root title is hidden."""
      builder = sphinx_builder()

tests/test_snippets.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/conftest.py:78: in _create_project
    app = make_app(
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") 
raised in repr()] SphinxTestApp object at 0x7fc926f63e90>
buildername = 'html'
srcdir = path('/tmp/pytest-of-buildd/pytest-1/test_sd_hide_title_rst0/srcdir')
builddir = 
path('/tmp/pytest-of-buildd/pytest-1/test_sd_hide_title_rst0/srcdir/_build')
freshenv = False, confoverrides = None
status = <_io.StringIO object at 0x7fc926f8c700>
warning = <_io.StringIO object at 0x7fc926f8c790>, tags = None
docutilsconf = None, parallel = 0

    def __init__(
        self,
        buildername: str = 'html',
        srcdir: Path | None = None,
        builddir: Path | None = None,
        freshenv: bool = False,
        confoverrides: dict | None = None,
        status: IO | None = None,
        warning: IO | None = None,
        tags: list[str] | None = None,
        docutilsconf: str | None = None,
        parallel: int = 0,
    ) -> None:
        assert srcdir is not None
self.docutils_conf_path = srcdir / 'docutils.conf'
        if docutilsconf is not None:
            self.docutils_conf_path.write_text(docutilsconf, encoding='utf8')
if builddir is None:
            builddir = srcdir / '_build'
confdir = srcdir
        outdir = builddir.joinpath(buildername)
      outdir.mkdir(parents=True, exist_ok=True)
E       AttributeError: 'path' object has no attribute 'mkdir'

/usr/lib/python3/dist-packages/sphinx/testing/util.py:105: AttributeError
___________________________ test_sd_hide_title_myst ____________________________

sphinx_builder = <function sphinx_builder.<locals>._create_project at 
0x7fc926f78900>
file_regression = <pytest_regressions.file_regression.FileRegressionFixture object 
at 0x7fc926fe5fd0>

    def test_sd_hide_title_myst(
        sphinx_builder: Callable[..., SphinxBuilder], file_regression
    ):
        """Test that the root title is hidden."""
      builder = sphinx_builder()

tests/test_snippets.py:140:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/conftest.py:78: in _create_project
    app = make_app(
/usr/lib/python3/dist-packages/sphinx/testing/fixtures.py:183: in make
    app_: Any = SphinxTestApp(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") 
raised in repr()] SphinxTestApp object at 0x7fc926fe6250>
buildername = 'html'
srcdir = path('/tmp/pytest-of-buildd/pytest-1/test_sd_hide_title_myst0/srcdir')
builddir = 
path('/tmp/pytest-of-buildd/pytest-1/test_sd_hide_title_myst0/srcdir/_build')
freshenv = False, confoverrides = None
status = <_io.StringIO object at 0x7fc926f8dab0>
warning = <_io.StringIO object at 0x7fc926f8dbd0>, tags = None
docutilsconf = None, parallel = 0

    def __init__(
        self,
        buildername: str = 'html',
        srcdir: Path | None = None,
        builddir: Path | None = None,
        freshenv: bool = False,
        confoverrides: dict | None = None,
        status: IO | None = None,
        warning: IO | None = None,
        tags: list[str] | None = None,
        docutilsconf: str | None = None,
        parallel: int = 0,
    ) -> None:
        assert srcdir is not None
self.docutils_conf_path = srcdir / 'docutils.conf'
        if docutilsconf is not None:
            self.docutils_conf_path.write_text(docutilsconf, encoding='utf8')
if builddir is None:
            builddir = srcdir / '_build'
confdir = srcdir
        outdir = builddir.joinpath(buildername)
      outdir.mkdir(parents=True, exist_ok=True)
E       AttributeError: 'path' object has no attribute 'mkdir'

/usr/lib/python3/dist-packages/sphinx/testing/util.py:105: AttributeError
=============================== warnings summary ===============================
tests/conftest.py:7
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinx-design/build/tests/conftest.py:7:
 RemovedInSphinx90Warning: 'sphinx.testing.path' is deprecated. Use 'os.path' or 'pathlib' 
instead.
    from sphinx.testing.path import path as sphinx_path

../../../../../../usr/lib/python3/dist-packages/babel/messages/catalog.py:13
  /usr/lib/python3/dist-packages/babel/messages/catalog.py:13: 
DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    from cgi import parse_header

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_snippets.py::test_sd_hide_title_rst - AttributeError: 'path...
FAILED tests/test_snippets.py::test_sd_hide_title_myst - AttributeError: 'pat...
=================== 2 failed, 4 skipped, 2 warnings in 0.05s ===================
E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sphinx-design/build; python3.11 -m 
pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
3.11" returned exit code 13
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to