Bug 2414797 - python-precis_i18n fails to build with Python 3.15: The Unicode database has been updated to Unicode 17.0.0.
Summary: python-precis_i18n fails to build with Python 3.15: The Unicode database has ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-precis_i18n
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Kuhn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.15
TreeView+ depends on / blocked
 
Reported: 2025-11-13 10:17 UTC by Karolina Surma
Modified: 2025-12-31 01:05 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-12-31 01:05:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-11-13 10:17:30 UTC
python-precis_i18n fails to build with Python 3.15.0a1.

___________________ TestDerivedProperties.test_derived_props ___________________

self = <test.test_derived_props.TestDerivedProperties testMethod=test_derived_props>

    def test_derived_props(self):
        """Compare derived properties against a "golden" file using built-in
        unicodedata module.
        """
>       self._test_derived_props(UnicodeData())

test/test_derived_props.py:21: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <test.test_derived_props.TestDerivedProperties testMethod=test_derived_props>
ucd = <precis_i18n.unicode.UnicodeData object at 0x7fa1a7c6fc50>

    def _test_derived_props(self, ucd):
        """Compare derived properties against a "golden" file."""
    
        goldname = "derived-props-%.1f.txt" % ucd.version
        goldpath = os.path.join(os.path.dirname(__file__), goldname)
    
>       with open(goldpath) as golden:
E       FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/python-precis_i18n-1.1.1-build/precis_i18n-1.1.1/test/derived-props-17.0.txt'

Per What's new document: https://docs.python.org/3.15/whatsnew/3.15.html
The Unicode database has been updated to Unicode 17.0.0.

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

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

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.


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