Bug 2389412 - python-sphinx-theme-builder: FTBFS in Fedora Rawhide and 43
Summary: python-sphinx-theme-builder: FTBFS in Fedora Rawhide and 43
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinx-theme-builder
Version: 43
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact:
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F43FTBFS PYC3.14rc3 F44FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-08-19 14:09 UTC by Miro Hrončok
Modified: 2025-08-22 21:21 UTC (History)
2 users (show)

Fixed In Version: python-sphinx-theme-builder-0.2.0-0.23.b2.fc44
Clone Of:
Environment:
Last Closed: 2025-08-22 21:21:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2025-08-19 14:09:01 UTC
Description of problem:
Package python-sphinx-theme-builder fails to build from source in Fedora Rawhide and Fedora 43.

Due to reasons described in https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/XO5QGOXBWHFG7AOGDQBG23AQDS2MDTWI/ a rebuild of python-sphinx-theme-builder is needed in Fedora Rawhide (44) and Fedora 43.


Version-Release number of selected component (if applicable):
0.2.0-0.21.b2.fc43

Steps to Reproduce:
fedpkg build

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-sphinx-theme-builder

==================================== 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
=========================== 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, 14 errors in 0.36s =========================

This seems like a python-click 8.2+ problem.

Comment 1 Jerry James 2025-08-22 21:21:45 UTC
I added a downstream patch for compatibility with python-click 8.2.  I'll have to discuss with upstream what an acceptable patch will look like for them.


Note You need to log in before you can comment on or make changes to this bug.