Package: src:sphinx-theme-builder
Version: 0.2.0b2-4
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
        pybuild --clean -i python{version} -p "3.12 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.12 3.13"
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p "3.12 3.13"
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12  
* Building wheel...
Successfully built sphinx_theme_builder-0.2.0b2-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
"installer" module
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  
* Building wheel...
Successfully built sphinx_theme_builder-0.2.0b2-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
        pybuild --test --test-pytest -i python{version} -p "3.12 3.13"
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
configfile: pyproject.toml
plugins: typeguard-4.4.1, anyio-4.8.0
collected 52 items

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

==================================== ERRORS ====================================
_______ ERROR at setup of TestCompileCommand.test_calls_generate_assets ________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
_ ERROR at setup of TestCompileCommand.test_calls_generate_assets_in_production 
_

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
______ ERROR at setup of TestNewCommand.test_aborts_when_setup_py_exists _______

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
___ ERROR at setup of TestNewCommand.test_aborts_when_pyproject_toml_exists ____

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
___________ ERROR at setup of TestNewCommand.test_calls_cookiecutter ___________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
__________ ERROR at setup of TestNewCommand.test_cookiecutter_failure __________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
____________ ERROR at setup of TestPackageCommand.test_calls_build _____________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
_______________ ERROR at setup of TestCLIRoot.test_no_arguments ________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
___________________ ERROR at setup of TestCLIRoot.test_help ____________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
_____ ERROR at setup of TestCLIRoot.test_no_arguments_behaves_same_as_help _____

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
________________ ERROR at setup of TestCLINew.test_no_arguments ________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
____________________ ERROR at setup of TestCLINew.test_help ____________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
_____ ERROR at setup of TestCLINew.test_no_arguments_behaves_same_as_help ______

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
________________ ERROR at setup of TestPackageCommand.test_help ________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
=============================== 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.12/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.12/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
=========================== short test summary info ============================
ERROR 
tests/integration/test_cli_compile.py::TestCompileCommand::test_calls_generate_assets
ERROR 
tests/integration/test_cli_compile.py::TestCompileCommand::test_calls_generate_assets_in_production
ERROR 
tests/integration/test_cli_new.py::TestNewCommand::test_aborts_when_setup_py_exists
ERROR 
tests/integration/test_cli_new.py::TestNewCommand::test_aborts_when_pyproject_toml_exists
ERROR tests/integration/test_cli_new.py::TestNewCommand::test_calls_cookiecutter
ERROR 
tests/integration/test_cli_new.py::TestNewCommand::test_cookiecutter_failure
ERROR 
tests/integration/test_cli_package.py::TestPackageCommand::test_calls_build
ERROR tests/workflow/test_cli.py::TestCLIRoot::test_no_arguments - TypeError:...
ERROR tests/workflow/test_cli.py::TestCLIRoot::test_help - TypeError: CliRunn...
ERROR 
tests/workflow/test_cli.py::TestCLIRoot::test_no_arguments_behaves_same_as_help
ERROR tests/workflow/test_new.py::TestCLINew::test_no_arguments - TypeError: ...
ERROR tests/workflow/test_new.py::TestCLINew::test_help - TypeError: CliRunne...
ERROR 
tests/workflow/test_new.py::TestCLINew::test_no_arguments_behaves_same_as_help
ERROR tests/workflow/test_package.py::TestPackageCommand::test_help - TypeErr...
================== 38 passed, 7 warnings, 14 errors in 0.21s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest tests
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.1, anyio-4.8.0
collected 52 items

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

==================================== ERRORS ====================================
_______ ERROR at setup of TestCompileCommand.test_calls_generate_assets ________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
_ ERROR at setup of TestCompileCommand.test_calls_generate_assets_in_production 
_

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
______ ERROR at setup of TestNewCommand.test_aborts_when_setup_py_exists _______

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
___ ERROR at setup of TestNewCommand.test_aborts_when_pyproject_toml_exists ____

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
___________ ERROR at setup of TestNewCommand.test_calls_cookiecutter ___________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
__________ ERROR at setup of TestNewCommand.test_cookiecutter_failure __________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
____________ ERROR at setup of TestPackageCommand.test_calls_build _____________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
_______________ ERROR at setup of TestCLIRoot.test_no_arguments ________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
___________________ ERROR at setup of TestCLIRoot.test_help ____________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
_____ ERROR at setup of TestCLIRoot.test_no_arguments_behaves_same_as_help _____

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
________________ ERROR at setup of TestCLINew.test_no_arguments ________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
____________________ ERROR at setup of TestCLINew.test_help ____________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
_____ ERROR at setup of TestCLINew.test_no_arguments_behaves_same_as_help ______

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
________________ ERROR at setup of TestPackageCommand.test_help ________________

    @pytest.fixture
    def runner() -> CliRunner:
>       return CliRunner(mix_stderr=False)
E       TypeError: CliRunner.__init__() got an unexpected keyword argument 
'mix_stderr'

tests/conftest.py:20: TypeError
=============================== 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
=========================== short test summary info ============================
ERROR 
tests/integration/test_cli_compile.py::TestCompileCommand::test_calls_generate_assets
ERROR 
tests/integration/test_cli_compile.py::TestCompileCommand::test_calls_generate_assets_in_production
ERROR 
tests/integration/test_cli_new.py::TestNewCommand::test_aborts_when_setup_py_exists
ERROR 
tests/integration/test_cli_new.py::TestNewCommand::test_aborts_when_pyproject_toml_exists
ERROR tests/integration/test_cli_new.py::TestNewCommand::test_calls_cookiecutter
ERROR 
tests/integration/test_cli_new.py::TestNewCommand::test_cookiecutter_failure
ERROR 
tests/integration/test_cli_package.py::TestPackageCommand::test_calls_build
ERROR tests/workflow/test_cli.py::TestCLIRoot::test_no_arguments - TypeError:...
ERROR tests/workflow/test_cli.py::TestCLIRoot::test_help - TypeError: CliRunn...
ERROR 
tests/workflow/test_cli.py::TestCLIRoot::test_no_arguments_behaves_same_as_help
ERROR tests/workflow/test_new.py::TestCLINew::test_no_arguments - TypeError: ...
ERROR tests/workflow/test_new.py::TestCLINew::test_help - TypeError: CliRunne...
ERROR 
tests/workflow/test_new.py::TestCLINew::test_no_arguments_behaves_same_as_help
ERROR tests/workflow/test_package.py::TestPackageCommand::test_help - TypeErr...
================== 38 passed, 7 warnings, 14 errors in 0.18s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
        rm -fr -- /tmp/dh-xdg-rundir-JaUYbjZ7
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
3.13" returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary 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/202502/

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 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 add an affects on src:sphinx-theme-builder, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to