Bug 2325183 - python-precis_i18n fails to build with Python 3.14: FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/python-precis_i18n-1.1.0-build/precis_i18n-1.1.0/test/derived-props-16.0.txt'
Summary: python-precis_i18n fails to build with Python 3.14: FileNotFoundError: [Errno...
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.14
TreeView+ depends on / blocked
 
Reported: 2024-11-11 13:46 UTC by Karolina Surma
Modified: 2024-12-15 22:33 UTC (History)
5 users (show)

Fixed In Version: python-precis_i18n-1.1.1-1.fc42
Clone Of:
Environment:
Last Closed: 2024-12-15 22:33:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github byllyfish precis_i18n issues 41 0 None open Test failures with precis_i18n v1.1.0 and Python 3.14.0a1 2024-11-11 16:17:37 UTC
Github byllyfish precis_i18n pull 40 0 None Merged Update unicode tables for Unicode 16.0 2024-11-11 16:17:37 UTC

Description Karolina Surma 2024-11-11 13:46:02 UTC
python-precis_i18n fails to build with Python 3.14.0a1.
=================================== FAILURES ===================================
___________________ 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 0x7fc04dcab5c0>

    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.0-build/precis_i18n-1.1.0/test/derived-props-16.0.txt'

test/test_derived_props.py:39: FileNotFoundError
=========================== short test summary info ============================
FAILED test/test_derived_props.py::TestDerivedProperties::test_derived_props
=================== 1 failed, 59 passed, 1 skipped in 22.11s ===================

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

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

For all our attempts to build python-precis_i18n with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/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.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
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.