Bug 2389354 - mkdocs: FTBFS in Fedora 43 and Rawhide: CLI tests failures
Summary: mkdocs: FTBFS in Fedora 43 and Rawhide: CLI tests failures
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mkdocs
Version: 43
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F43FTBFS PYC3.14rc3 F44FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-08-19 08:38 UTC by Karolina Surma
Modified: 2025-09-28 01:01 UTC (History)
8 users (show)

Fixed In Version: mkdocs-1.6.1-7.fc43
Clone Of:
Environment:
Last Closed: 2025-09-28 01:01:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-08-19 08:38:29 UTC
Description of problem:
Package mkdocs fails to build from source in Fedora 43 and Rawhide.

Version-Release number of selected component (if applicable):
1.6.1-5.fc43

Steps to Reproduce:
koji build --scratch f44 mkdocs-1.6.1-5.fc43.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/mkdocs

Actual results:

24 tests related to CLI fail; an example failure:

FAIL: test_build_defaults (tests.cli_tests.CLITests.test_build_defaults)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.14/unittest/mock.py", line 1432, in patched
    return func(*newargs, **newkeywargs)
  File "/builddir/build/BUILD/mkdocs-1.6.1-build/mkdocs-1.6.1/mkdocs/tests/cli_tests.py", line 228, in test_build_defaults
    mock_load_config.assert_called_once_with(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        config_file=None,
        ^^^^^^^^^^^^^^^^^
    ...<3 lines>...
        site_dir=None,
        ^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib64/python3.14/unittest/mock.py", line 245, in assert_called_once_with
    return mock.assert_called_once_with(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/unittest/mock.py", line 997, in assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/unittest/mock.py", line 985, in assert_called_with
    raise AssertionError(_error_message()) from cause
AssertionError: expected call not found.
Expected: load_config(config_file=None, strict=None, theme=None, use_directory_urls=None, site_dir=None)
  Actual: load_config(config_file=None, strict=False, theme=None, use_directory_urls=False, site_dir=None)

Comment 1 Karolina Surma 2025-08-19 08:42:28 UTC
FTR, this may be caused by a regression in python3-click 8.2.2 and mitigated in https://src.fedoraproject.org/rpms/python-click/pull-request/27

Comment 2 Charalampos Stratakis 2025-08-21 11:45:06 UTC
With the click PR, instead of 24, 7 tests fail.

Comment 3 Miro Hrončok 2025-08-26 11:08:43 UTC
Hello. This is a bulk comment.

This package still needs to be rebuilt and/or shipped with Python 3.14.0rc2+ bytecode in Fedora 43.

The Beta Freeze of Fedora 43 is scheduled to start today. Please prioritize this bugzilla accordingly.

Thanks.

Comment 4 Fedora Update System 2025-09-23 18:51:08 UTC
FEDORA-2025-c4587bab59 (mkdocs-1.6.1-7.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c4587bab59

Comment 5 Fedora Update System 2025-09-28 01:01:13 UTC
FEDORA-2025-c4587bab59 (mkdocs-1.6.1-7.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


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