Your message dated Mon, 18 May 2026 11:34:14 +0000
with message-id <[email protected]>
and subject line Bug#1123351: fixed in sphinx-theme-builder 0.3.2-1
has caused the Debian Bug report #1123351,
regarding sphinx-theme-builder: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1123351: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123351
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:sphinx-theme-builder
Version: 0.2.0b2-5
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/202512/

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-theme-builder, 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
        pybuild --clean -i python{version} -p "3.14 3.13"
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/python3-sphinx-theme-builder.substvars debian/files
        rm -fr -- debian/python3-sphinx-theme-builder/ debian/tmp/
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o 
-type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) 
-prune -exec rm -rf {} + \) \)
 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
        pybuild --configure -i python{version} -p "3.14 3.13"
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p "3.14 3.13"
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14  
* Building wheel...
Successfully built sphinx_theme_builder-0.2.0b2-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
Successfully built sphinx_theme_builder-0.2.0b2-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
        pybuild --test --test-pytest -i python{version} -p "3.14 3.13"
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: typeguard-4.4.4, anyio-4.11.0
collected 52 items

tests/integration/test_cli_compile.py ..                                 [  3%]
tests/integration/test_cli_new.py ....                                   [ 11%]
tests/integration/test_cli_package.py .                                  [ 13%]
tests/unit/test_errors.py ...................                            [ 50%]
tests/unit/test_project.py ........F..F.F.....                           [ 86%]
tests/workflow/test_cli.py ...                                           [ 92%]
tests/workflow/test_new.py ...                                           [ 98%]
tests/workflow/test_package.py .                                         [100%]

=================================== FAILURES ===================================
__________ TestProjectFromPath.test_works_with_proper_dynamic_version __________

self = <test_project.TestProjectFromPath object at 0x7f92afc16a50>
tmp_path = 
PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_works_with_proper_dynamic0')

    def test_works_with_proper_dynamic_version(self, tmp_path: Path) -> None:
        # GIVEN
        (tmp_path / "pyproject.toml").write_text(
            textwrap.dedent(
                """
                [project]
                name = "magic"
                dynamic = ["version"]
                license = { text = "MIT" }
    
                [tool.sphinx-theme-builder]
                node-version = "16.13.0"
                """
            )
        )
        (tmp_path / "src" / "magic").mkdir(parents=True)
        (tmp_path / "src" / "magic" / "__init__.py").write_text(
            textwrap.dedent(
                """
                version = "2.3.4"  # not really, we just ignore this.
                __version__ = "1.2.3"
                """
            )
        )
    
        # WHEN
>       project = Project.from_path(tmp_path)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/unit/test_project.py:224: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
sphinx_theme_builder/_internal/project.py:247: in from_path
    version_s, version_comes_from = _determine_version(
sphinx_theme_builder/_internal/project.py:149: in _determine_version
    declared_in_python = get_version_using_ast(package_init_file.read_bytes())
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

contents = b'\nversion = "2.3.4"  # not really, we just ignore 
this.\n__version__ = "1.2.3"\n'

    def get_version_using_ast(contents: bytes) -> Optional[str]:
        """Extract the version from the given file, using the Python AST."""
        tree = ast.parse(contents)
    
        # Only need to check the top-level nodes, and not recurse deeper.
        version: Optional[str] = None
        for child in tree.body:
            # Look for a simple string assignment to __version__
            if (
                isinstance(child, ast.Assign)
                and len(child.targets) == 1
                and isinstance(child.targets[0], ast.Name)
                and child.targets[0].id == "__version__"
>               and isinstance(child.value, ast.Str)
                                            ^^^^^^^
            ):
E           AttributeError: module 'ast' has no attribute 'Str'

sphinx_theme_builder/_internal/project.py:43: AttributeError
___________ TestProjectFromPath.test_rejects_with_double_declaration ___________

self = <test_project.TestProjectFromPath object at 0x7f92afbf6210>
tmp_path = 
PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_rejects_with_double_decla0')

    def test_rejects_with_double_declaration(self, tmp_path: Path) -> None:
        # GIVEN
        (tmp_path / "pyproject.toml").write_text(
            textwrap.dedent(
                """
                [project]
                name = "magic"
                version = "1.2.3"
                """
            )
        )
        (tmp_path / "src" / "magic").mkdir(parents=True)
        (tmp_path / "src" / "magic" / "__init__.py").write_text('__version__ = 
"2.3.4"')
    
        # WHEN
        with pytest.raises(InvalidProjectStructure) as ctx:
>           Project.from_path(tmp_path)

tests/unit/test_project.py:296: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
sphinx_theme_builder/_internal/project.py:247: in from_path
    version_s, version_comes_from = _determine_version(
sphinx_theme_builder/_internal/project.py:149: in _determine_version
    declared_in_python = get_version_using_ast(package_init_file.read_bytes())
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

contents = b'__version__ = "2.3.4"'

    def get_version_using_ast(contents: bytes) -> Optional[str]:
        """Extract the version from the given file, using the Python AST."""
        tree = ast.parse(contents)
    
        # Only need to check the top-level nodes, and not recurse deeper.
        version: Optional[str] = None
        for child in tree.body:
            # Look for a simple string assignment to __version__
            if (
                isinstance(child, ast.Assign)
                and len(child.targets) == 1
                and isinstance(child.targets[0], ast.Name)
                and child.targets[0].id == "__version__"
>               and isinstance(child.value, ast.Str)
                                            ^^^^^^^
            ):
E           AttributeError: module 'ast' has no attribute 'Str'

sphinx_theme_builder/_internal/project.py:43: AttributeError
___ TestProjectFromPath.test_rejects_no_dynamic_with_version_in_python_file ____

self = <test_project.TestProjectFromPath object at 0x7f92af874d70>
tmp_path = 
PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_rejects_no_dynamic_with_v0')

    def test_rejects_no_dynamic_with_version_in_python_file(
        self, tmp_path: Path
    ) -> None:
        # GIVEN
        (tmp_path / "pyproject.toml").write_text(
            textwrap.dedent(
                """
                [project]
                name = "magic"
                """
            )
        )
        (tmp_path / "src" / "magic").mkdir(parents=True)
        (tmp_path / "src" / "magic" / "__init__.py").write_text('__version__ = 
"1.2.3"')
    
        # WHEN
        with pytest.raises(ImproperProjectMetadata) as ctx:
>           Project.from_path(tmp_path)

tests/unit/test_project.py:352: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
sphinx_theme_builder/_internal/project.py:247: in from_path
    version_s, version_comes_from = _determine_version(
sphinx_theme_builder/_internal/project.py:149: in _determine_version
    declared_in_python = get_version_using_ast(package_init_file.read_bytes())
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

contents = b'__version__ = "1.2.3"'

    def get_version_using_ast(contents: bytes) -> Optional[str]:
        """Extract the version from the given file, using the Python AST."""
        tree = ast.parse(contents)
    
        # Only need to check the top-level nodes, and not recurse deeper.
        version: Optional[str] = None
        for child in tree.body:
            # Look for a simple string assignment to __version__
            if (
                isinstance(child, ast.Assign)
                and len(child.targets) == 1
                and isinstance(child.targets[0], ast.Name)
                and child.targets[0].id == "__version__"
>               and isinstance(child.value, ast.Str)
                                            ^^^^^^^
            ):
E           AttributeError: module 'ast' has no attribute 'Str'

sphinx_theme_builder/_internal/project.py:43: AttributeError
=========================== short test summary info ============================
FAILED 
tests/unit/test_project.py::TestProjectFromPath::test_works_with_proper_dynamic_version
FAILED 
tests/unit/test_project.py::TestProjectFromPath::test_rejects_with_double_declaration
FAILED 
tests/unit/test_project.py::TestProjectFromPath::test_rejects_no_dynamic_with_version_in_python_file
========================= 3 failed, 49 passed in 0.21s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests
I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.4, anyio-4.11.0
collected 52 items

tests/integration/test_cli_compile.py ..                                 [  3%]
tests/integration/test_cli_new.py ....                                   [ 11%]
tests/integration/test_cli_package.py .                                  [ 13%]
tests/unit/test_errors.py ...................                            [ 50%]
tests/unit/test_project.py ...................                           [ 86%]
tests/workflow/test_cli.py ...                                           [ 92%]
tests/workflow/test_new.py ...                                           [ 98%]
tests/workflow/test_package.py .                                         [100%]

=============================== warnings summary ===============================
tests/unit/test_project.py::TestProjectFromPath::test_works_with_proper_dynamic_version
tests/unit/test_project.py::TestProjectFromPath::test_works_with_proper_dynamic_version
tests/unit/test_project.py::TestProjectFromPath::test_rejects_with_double_declaration
tests/unit/test_project.py::TestProjectFromPath::test_rejects_no_dynamic_with_version_in_python_file
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/sphinx_theme_builder/_internal/project.py:43:
 DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; 
use ast.Constant instead
    and isinstance(child.value, ast.Str)

tests/unit/test_project.py::TestProjectFromPath::test_works_with_proper_dynamic_version
tests/unit/test_project.py::TestProjectFromPath::test_rejects_with_double_declaration
tests/unit/test_project.py::TestProjectFromPath::test_rejects_no_dynamic_with_version_in_python_file
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/sphinx_theme_builder/_internal/project.py:45:
 DeprecationWarning: Attribute s is deprecated and will be removed in Python 
3.14; use value instead
    version = child.value.s

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 52 passed, 7 warnings in 0.17s ========================
        rm -fr -- /tmp/dh-xdg-rundir-kiyk4Vm5
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: sphinx-theme-builder
Source-Version: 0.3.2-1
Done: Alexandre Detiste <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sphinx-theme-builder, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <[email protected]> (supplier of updated sphinx-theme-builder 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 18 May 2026 13:16:01 +0200
Source: sphinx-theme-builder
Architecture: source
Version: 0.3.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1123351
Changes:
 sphinx-theme-builder (0.3.2-1) unstable; urgency=medium
 .
   * Team upload.
   * Tweak click-8.2.patch: avoid undefined "Tuple"
   * Patch-out not yet packaged python3-diagnostic
   * Drop "Rules-Requires-Root: no": this is the default now
   * Bump Standards-Version to 4.7.4, drop Priority: tag
 .
   [ Bo YU ]
   * Use debian-watch v5
   * New upstream version 0.3.2 (Closes: #1123351)
Checksums-Sha1:
 73b11d87df64287e1af82ad554096d833729e830 2414 sphinx-theme-builder_0.3.2-1.dsc
 d44918689ab97455c70162b9e3f0982c72754700 39747 
sphinx-theme-builder_0.3.2.orig.tar.gz
 e7382ec4fb9943d1342f595805e8cb6689325b03 6236 
sphinx-theme-builder_0.3.2-1.debian.tar.xz
 62e660d26f66644375c3e772e3d54f1a36f8663e 9843 
sphinx-theme-builder_0.3.2-1_source.buildinfo
Checksums-Sha256:
 7b8aa9cf2f0d8dff29d91b88dc8a708958b61b0d34a45c97876958a60e32b162 2414 
sphinx-theme-builder_0.3.2-1.dsc
 80e696771fe5ded6e8666dba646c71f09778b0847dab4ce493dc2b29016cf1ab 39747 
sphinx-theme-builder_0.3.2.orig.tar.gz
 53a108a01159b377fc0fbb58b152c6c850c32f84241234e8723cd47798b01ce7 6236 
sphinx-theme-builder_0.3.2-1.debian.tar.xz
 f415cd3e2e97021db02769b5d47424ac0b3408a44e549689fc0f9d4e69e50472 9843 
sphinx-theme-builder_0.3.2-1_source.buildinfo
Files:
 3cd661b9faf221b106338b23532f8ef4 2414 python optional 
sphinx-theme-builder_0.3.2-1.dsc
 c014164c667748dfec5d307453fc0659 39747 python optional 
sphinx-theme-builder_0.3.2.orig.tar.gz
 60fac7ba903fcc29b13cc5db2cab4cbc 6236 python optional 
sphinx-theme-builder_0.3.2-1.debian.tar.xz
 d3588b0746125dec25c70075bf4df44f 9843 python optional 
sphinx-theme-builder_0.3.2-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmoK9UIRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBoSKBAAonOqEcFNyGAEVY25nQlBJJdbU3dBtrrX
Kgu1/k0zGL5X/rxwRL8hjCsbutWP1s92CheLgCuKtANoutpG5IkH36nKpk5PhwkJ
U3WXm64/68OZdHWk+MLWKA0zIbTPFRksz3l/4YhxshDtFJDPaSxfMn0bW+R1pq9t
QAvgP8+m8+9E0NpYgJBIZPV8ytcmB+qGzbu6T9wcoV6dMl20byyTYfISzcGrJQnO
Uw4bTNdVASKTh82MLC+mP8jMU8LizJBHUV8ytFET/X50GHnPE6vgcMK41mB/ud+Z
UR1dDRuopYejQinPXCPgKCPKkwkKheM1fJC7j/6cr39cU+t4L2GI8+zaQb/2JcBE
tm8CVLgJaQH0bKOCMcmlTradrM0XAUbJAVdiuFNSB8ZQQUJaCuE2uSbn+EEinF9T
LapQMZv/tBbSh9APP7iiou+bPHd1xkg5ZF5jiD2tWYjOGO/y5O1PgGkqxIFjplgZ
KQiE+X1jM+/yWzFqEdgpgt5NKPbchjW/ODml/vZR5Nd5NoCOQ806VB6K7VrOGSOn
HPgm/SJFu06Kf/7b5Cyk3NnBxk7eXvZ/kp1yoHmfV1uHLVHoON2YoC26BlM8lZUP
tYoZg5Fv2w0dnIGRNMIRATieKFkBc++MfpcsV5DAoQGHaiEeEpIaXSzhTC5ctOt0
HUmzBBNSh9Q=
=Lvb1
-----END PGP SIGNATURE-----

Attachment: pgppcx2YzzeI9.pgp
Description: PGP signature


--- End Message ---

Reply via email to