Bug 2465538

Summary: python-ftfy: FTBFS in Fedora Rawhide: failed doctest: ftfy.formatting.monospaced_width
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-ftfyAssignee: Robert-André Mauchin 🐧 <eclipseo>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: eclipseo, maxwell, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/python-ftfy
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2412434, 2433833    

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