Bug 2414790

Summary: python-backrefs fails to build with Python 3.15: Missing unicode data for 17.0.0
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-backrefsAssignee: Parag Nemade <pnemade>
Status: MODIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ksurma, mhroncok, pnemade, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
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    

Description Karolina Surma 2025-11-13 09:52:21 UTC
python-backrefs fails to build with Python 3.15.0a1.

Processing /builddir/build/BUILD/python-backrefs-6.0.1-build/backrefs-6.0.1
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  Downloading: ftp://ftp.unicode.org/Public/17.0.0/ucd/UnicodeData.txt --> /builddir/build/BUILD/python-backrefs-6.0.1-build/backrefs-6.0.1/tools/unicodedata/17.0.0/UnicodeData.txt
  Failed: ftp://ftp.unicode.org/Public/17.0.0/ucd/
  Downloading: http://www.unicode.org/Public/17.0.0/ucd/UnicodeData.txt --> /builddir/build/BUILD/python-backrefs-6.0.1-build/backrefs-6.0.1/tools/unicodedata/17.0.0/UnicodeData.txt
  Failed: http://www.unicode.org/Public/17.0.0/ucd/

I opened https://github.com/facelessuser/backrefs/issues/193 upstream.

https://docs.python.org/3.15/whatsnew/3.15.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/09789885-python-backrefs/

For all our attempts to build python-backrefs with Python 3.15, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-backrefs/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.15:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/

Let us know here if you have any questions.

Python 3.15 is planned to be included in Fedora 45.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Parag Nemade 2025-11-21 11:34:45 UTC
This should be fixed now with new backrefs release 6.1

Comment 2 Miro Hrončok 2025-11-21 12:38:13 UTC
Now I see some test failures:

=================================== FAILURES ===================================
___________ TestIndicPositionalCategory.test_indicpositionalcategory ___________

self = <tests.test_indicpositionalcategory.TestIndicPositionalCategory testMethod=test_indicpositionalcategory>

    def test_indicpositionalcategory(self):
        """Test `Indic Positional Category` properties."""
    
        for k, v in uniprops.unidata.unicode_indic_positional_category.items():
            result = uniprops.get_unicode_property('indicpositionalcategory', k)
>           self.assertEqual(result, v)
E           AssertionError: '\x00-\U0010ffff' != 'ऀ-ःऺ-़ा-ॏ॑-॒ॕ-ॗॢ-ॣঁ-ঃ়া-ৄে-ৈো-্ৗৢ-ৣ৾ਁ-ਃ਼ਾ[552 chars]𖵂𖵣-𖵬'
E           - �-􏿿
E           + ऀ-ःऺ-़ा-ॏ॑-॒ॕ-ॗॢ-ॣঁ-ঃ়া-ৄে-ৈো-্ৗৢ-ৣ৾ਁ-ਃ਼ਾ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣૺ-૿ଁ-ଃ଼ା-ୄେ-ୈୋ-୍୕-ୗୢ-ୣஂா-ூெ-ைொ-்ௗఀ-ఄ఼ా-ౄె-ైొ-్ౕ-ౖౢ-ౣಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕ-ೖೢ-ೣೳഀ-ഃ഻-഼ാ-ൄെ-ൈൊ-ൎൗൢ-ൣඁ-ඃ්ා-ුූෘ-ෟෲ-ෳะ-ฺเ-ๅ็-๎ະ-ຼເ-ໄ່-໎༘-༹༙༵༷༾-༿ཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆ါ-း်-ှၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏႚ-ႝᜒ-᜕ᜲ-᜴ᝒ-ᝓᝲ-ᝳា-៑៓៝ᤠ-ᤫᤰ-᤻ᦰ-ᧀᧈ-ᧉᨗ-ᨛᩕ-ᩞᩡ-᩿᩼ᬀ-ᬄ᬴-᭄᭫-᭳ᮀ-ᮂᮡ-᮪ᮬ-ᮭ᯦-᯳ᰤ-᰷᳐-᳔᳒-᳨᳭᳴᳷᷻⃰ꠂ꠆ꠋꠣ-ꠧ꠬ꢀ-ꢁꢴ-ꣅ꣠-꣱ꣿꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀ꧥꨩ-ꨶꩃꩌ-ꩍꩻ-ꩽꪰ-꪿꫁ꫫ-ꫯꫵꯣ-ꯪ꯬-꯭𐨁-𐨃𐨅-𐨆𐨌-𐨏𐨸-𐨺𑀀-𑀂𑀸-𑁆𑁰𑁳-𑁴𑂀-𑂂𑂰-𑂺𑃂𑄀-𑄂𑄧-𑄲𑄴𑅅-𑅆𑅳𑆀-𑆂𑆳-𑇀𑇂-𑇃𑇉-𑇌𑇎-𑇏𑈬-𑈷𑈾𑉁𑋟-𑋪𑌀-𑌃𑌻-𑌼𑌾-𑍄𑍇-𑍈𑍋-𑍍𑍗𑍢-𑍣𑍦-𑍬𑍰-𑍴𑎸-𑏀𑏅𑏅𑎸-𑏊𑏌-𑏏𑏑-𑏒𑏡-𑏢𑐵-𑑆𑑞𑒰-𑓃𑖯-𑖵𑖸-𑗀𑗜-𑗝𑘰-𑙀𑚫-𑚷𑜝-𑜫𑠬-𑠺𑤰-𑤵𑤷-𑤸𑤻-𑤽𑤿-𑥃𑧑-𑧗𑧚-𑧠𑧤𑨁-𑨊𑨳-𑨹𑨻-𑨾𑩑-𑩛𑪄-𑪘𑭠-𑭧𑰯-𑰶𑰸-𑰿𑲒-𑲧𑲩-𑲶𑴱-𑴶𑴺𑴼-𑴽𑴿-𑵄𑵆-𑵇𑶊-𑶎𑶐-𑶑𑶓-𑶖𑻳-𑻶𑼀-𑼃𑼴-𑼺𑼾-𑽁𑽚𖄞-𖄯𖵀-𖵂𖵣-𖵬

tests/test_indicpositionalcategory.py:35: AssertionError
________ TestIndicPositionalCategory.test_indicpositionalcategory_ascii ________

self = <tests.test_indicpositionalcategory.TestIndicPositionalCategory testMethod=test_indicpositionalcategory_ascii>

    def test_indicpositionalcategory_ascii(self):
        """Test `Indic Positional Category` ASCII properties."""
    
        for k, v in uniprops.unidata.ascii_indic_positional_category.items():
            result = uniprops.get_unicode_property('indicpositionalcategory', k, mode=uniprops.MODE_NORMAL)
>           self.assertEqual(result, v)
E           AssertionError: '\x00-\U0010ffff' != ''
E           - �-􏿿

tests/test_indicpositionalcategory.py:42: AssertionError
_______ TestIndicPositionalCategory.test_indicpositionalcategory_binary ________

self = <tests.test_indicpositionalcategory.TestIndicPositionalCategory testMethod=test_indicpositionalcategory_binary>

    def test_indicpositionalcategory_binary(self):
        """Test `Indic Positional Category` ASCII properties."""
    
        for k, v in uniprops.unidata.ascii_indic_positional_category.items():
            result = uniprops.get_unicode_property('indicpositionalcategory', k, mode=uniprops.MODE_ASCII)
>           self.assertEqual(result, uniprops.fmt_string(v, True))
E           AssertionError: '\x00-ÿ' != ''
E           - �-ÿ

tests/test_indicpositionalcategory.py:49: AssertionError
=========================== short test summary info ============================
FAILED tests/test_indicpositionalcategory.py::TestIndicPositionalCategory::test_indicpositionalcategory
FAILED tests/test_indicpositionalcategory.py::TestIndicPositionalCategory::test_indicpositionalcategory_ascii
FAILED tests/test_indicpositionalcategory.py::TestIndicPositionalCategory::test_indicpositionalcategory_binary
======================== 3 failed, 564 passed in 3.39s =========================