Bug 16484 - AB-INT PTEST: python3-wcwidth error in qemux86-64-musl
Summary: AB-INT PTEST: python3-wcwidth error in qemux86-64-musl
Status: NEW
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-11-03 10:55 UTC by João Marcos Costa
Modified: 2026-11-03 12:37 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description João Marcos Costa 2026-11-03 10:55:12 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/1507/steps/15/logs/stdio

"""
'ERROR: '
'tests/test_width.py:test_width_virama_conjunct_survives_control_codes[\\u1039\\x0bA-2-vertical_tab]\n'
'\n'
'@pytest.fixture(autouse=True)\n'
'    def _verify_extension_mode():\n'
'        """\n'
'        Assert the loaded implementation matches the '
'WCWIDTH_PYTHON env var.\n'
'    \n'
'        In extension mode the C extension must be active; '
'in Python mode it must not be, so a silently-\n'
'        failed C build is caught in CI.\n'
'        """\n'
'        # local\n'
'        import wcwidth\n'
'    \n'
"        if os.environ.get('WCWIDTH_PYTHON', ''):\n"
'            assert not wcwidth.HAS_C_EXTENSION, "C '
'extension loaded in Python mode"\n'
'        else:\n'
'>           assert wcwidth.HAS_C_EXTENSION, "C extension '
'not loaded in extension mode"\n'
'E           AssertionError: C extension not loaded in '
'extension mode\n'
'E           assert False\n'
"E            +  where False = <module 'wcwidth' from "
"'/usr/lib/python3.15/site-packages/wcwidth/__init__.py'>.HAS_C_EXTENSION\n"
'\n'
'tests/conftest.py:27: AssertionError\n'
"""

This same AssertionError is raised over and over.

Full logs at: https://valkyrie.yocto.io/pub/non-release/20261103-45/testresults/qemux86-64-musl-ptest/python3-wcwidth.log
Comment 1 Mathieu Dubois-Briand 2026-11-03 12:37:04 UTC
I suspect this is something in my branch, I'm on it.