Bug 2021921 - python-precis_i18n fails to build with Python 3.11: test failures
Summary: python-precis_i18n fails to build with Python 3.11: test failures
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: python-precis_i18n
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Kuhn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2099054 (view as bug list)
Depends On:
Blocks: PYTHON3.11 F37FTBFS F37FailsToInstall 2098705 2099020
TreeView+ depends on / blocked
 
Reported: 2021-11-10 12:31 UTC by Tomáš Hrnčiar
Modified: 2022-06-28 14:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-28 14:44:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-11-10 12:31:53 UTC
python-precis_i18n fails to build with Python 3.11.0a2.

======================================================================
ERROR: test_derived_props (test_derived_props.TestDerivedProperties)
Compare derived properties against a "golden" file using built-in
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/precis_i18n-1498def50914b8d4f670874cc282072790619399/test/test_derived_props.py", line 20, in test_derived_props
    self._test_derived_props(UnicodeData())
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/precis_i18n-1498def50914b8d4f670874cc282072790619399/test/test_derived_props.py", line 39, in _test_derived_props
    with open(goldpath) as golden:
         ^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/precis_i18n-1498def50914b8d4f670874cc282072790619399/test/derived-props-14.0.txt'

======================================================================
FAIL: test_combining_virama (test_precis.TestPrecisUnicodeData)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/precis_i18n-1498def50914b8d4f670874cc282072790619399/test/test_precis.py", line 395, in test_combining_virama
    self.assertFalse(UCD.combining_virama(0x1715))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: True is not false

----------------------------------------------------------------------
Ran 61 tests in 29.364s

FAILED (failures=1, errors=1, skipped=1)
Test failed: <unittest.runner.TextTestResult run=61 errors=1 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=61 errors=1 failures=1>


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

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

Let us know here if you have any questions.

Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11.
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 Ben Cotton 2022-02-08 21:30:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 2 Miro Hrončok 2022-06-20 10:19:08 UTC
*** Bug 2099054 has been marked as a duplicate of this bug. ***

Comment 3 Miro Hrončok 2022-06-27 14:52:30 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 4 Michael Kuhn 2022-06-27 20:28:47 UTC
This is blocking python-nbxmpp and gajim. Since Michal seems to be inactive at the moment, I have come up with a quick PR (it does not update the packaging for now) to fix it: https://src.fedoraproject.org/rpms/python-precis_i18n/pull-request/1
I'll need someone to merge it, though.

Comment 5 Michal Schmidt 2022-06-28 13:51:07 UTC
I added Michael as an admin of the package.

Michael,
I see you already merged the PR. Thanks for the help.

Comment 6 Miro Hrončok 2022-06-28 14:44:56 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 37.

Thanks for taking care of it!


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