Bug 2465538 - python-ftfy: FTBFS in Fedora Rawhide: failed doctest: ftfy.formatting.monospaced_width
Summary: python-ftfy: FTBFS in Fedora Rawhide: failed doctest: ftfy.formatting.monospa...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-ftfy
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact:
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: PYTHON3.15 F45FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2026-05-04 15:39 UTC by Karolina Surma
Modified: 2026-05-04 15:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2026-05-04 15:39:21 UTC
Description of problem:
Package python-ftfy fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
6.3.1-6.fc44

Steps to Reproduce:
koji build --scratch f45 python-ftfy-6.3.1-6.fc44.src.rpm

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

Reproducible: Always

Actual Results:
__________________ [doctest] ftfy.formatting.monospaced_width __________________
043 This can be useful for formatting text that may contain non-spacing
044 characters, or CJK characters that take up two character cells.
045 
046 Returns -1 if the string contains a non-printable or control character.
047 
048 >>> monospaced_width('ちゃぶ台返し')
049 12
050 >>> len('ちゃぶ台返し')
051 6
052 >>> monospaced_width('owl\N{SOFT HYPHEN}flavored')
Expected:
    11
Got:
    12
/builddir/build/BUILD/python-ftfy-6.3.1-build/python-ftfy-6.3.1/ftfy/formatting.py:52: DocTestFailure


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