Bug 2278647

Summary: python-ftfy: FTBFS in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-ftfyAssignee: Robert-André Mauchin 🐧 <eclipseo>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: eclipseo, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/python-ftfy
Whiteboard:
Fixed In Version: python-ftfy-6.2.0-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-26 20:11:36 UTC 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: 2244836, 2260875    

Description Karolina Surma 2024-05-02 14:45:18 UTC
Description of problem:
Package python-ftfy fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
6.1.1-3.fc40

Steps to Reproduce:
koji build --scratch f41 python-ftfy-6.1.1-3.fc40.src.rpm

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

Reproducible: Always

Actual Results:  
=================================== FAILURES ===================================
__________________ [doctest] ftfy.formatting.monospaced_width __________________
041 This can be useful for formatting text that may contain non-spacing
042 characters, or CJK characters that take up two character cells.
043 
044 Returns -1 if the string contains a non-printable or control character.
045 
046 >>> monospaced_width('ã¡ã‚ƒã¶å°è¿”ã—')
047 12
048 >>> len('ã¡ã‚ƒã¶å°è¿”ã—')
049 6
050 >>> monospaced_width('owl\N{SOFT HYPHEN}flavored')
Expected:
    12
Got:
    11

/builddir/build/BUILD/python-ftfy-6.1.1/ftfy/formatting.py:50: DocTestFailure

Comment 1 Robert-André Mauchin 🐧 2024-05-22 19:27:35 UTC
Building in f41-build-side-89807.

Will be merged ASAP.

Comment 2 Fedora Update System 2024-05-26 05:37:46 UTC
FEDORA-2024-eeee55738e (python-container-inspector-33.0.0-4.fc41, python-ftfy-6.2.0-1.fc41, and 5 more) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-eeee55738e

Comment 3 Fedora Update System 2024-05-26 20:11:36 UTC
FEDORA-2024-eeee55738e (python-container-inspector-33.0.0-4.fc41, python-ftfy-6.2.0-1.fc41, and 4 more) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.