Bug 2278647 - python-ftfy: FTBFS in Fedora Rawhide
Summary: python-ftfy: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
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.13 F41FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2024-05-02 14:45 UTC by Karolina Surma
Modified: 2024-05-26 20:11 UTC (History)
2 users (show)

Fixed In Version: python-ftfy-6.2.0-1.fc41
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-05-26 20:11:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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