Bug 2291847 - python-ppft fails to build with Python 3.13: KeyError: 'quicksort' and TypeError: 'NoneType' object is not iterable
Summary: python-ppft fails to build with Python 3.13: KeyError: 'quicksort' and TypeEr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-ppft
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F41FTBFS F41FailsToInstall PYTHON3.13 2291599 2291833
TreeView+ depends on / blocked
 
Reported: 2024-06-12 11:27 UTC by Fedora Fails To Install
Modified: 2024-10-01 01:15 UTC (History)
5 users (show)

Fixed In Version: python-ppft-1.7.6.8-4.fc41
Clone Of:
Environment:
Last Closed: 2024-10-01 01:15:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github uqfoundation ppft issues 61 0 None open Python 3.13: Traceback during execution of tests 2024-06-15 10:27:38 UTC

Description Fedora Fails To Install 2024-06-12 11:27:49 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (python-ppft) Fails To Install in Fedora 41:

can't install python3-ppft:
  - nothing provides python(abi) = 3.12 needed by python3-ppft-1.7.6.8-1.fc41.noarch
  
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.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-41-x86_64 --config-opts mirrored=False install python3-ppft


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Sandro 2024-06-12 16:31:34 UTC
This is FTBFS rather than FTI. Tests appear to hang after the following error is shown:

Starting pp with 8 workers
A fatal error has occured during the function execution
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-ppft-1.7.6.8-build/BUILDROOT/usr/lib/python3.13/site-packages/ppft/__main__.py", line 97, in run
    __f = locals()[ppc.str_(__fname)]
          ~~~~~~~~^^^^^^^^^^^^^^^^^^^
KeyError: 'quicksort'
 Traceback (most recent call last):
  File "/builddir/build/BUILD/python-ppft-1.7.6.8-build/BUILDROOT/usr/lib/python3.13/site-packages/ppft/tests/quicksort.py", line 59, in <module>
    output.extend(x())
    ~~~~~~~~~~~~~^^^^^
TypeError: 'NoneType' object is not iterable

Comment 2 Sandro 2024-06-15 10:27:38 UTC
Reported upstream

Comment 3 Fedora Fails To Install 2024-06-19 20:06:25 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.

Comment 4 Karolina Surma 2024-09-04 15:02:06 UTC
This package has failed to build with Python 3.13 so far. Fedora 41 is already in the Beta Freeze phase. What's your plan going forward? Will the package be fixed in time for the Final Freeze of Fedora 41 (planned on Oct 15th 2024)?
If you don't plan or can't fix the package before Fedora 41 goes into the Final Freeze phase, please retire the package. You can unretire it anytime during the Fedora 41 lifecycle - doing this now will simply ensure that we don't release Fedora with a broken package. Thank you!

Comment 5 Ankur Sinha (FranciscoD) 2024-09-11 09:44:38 UTC
This is WIP upstream. We'll fix it as soon as they have. They have indicated they'll make a new release this week, but if it doesn't happen in time for the final freeze, we'll retire and unretire etc. The issue with retirement of course is that all the deps of this package will also have to be retired, but I don't think there's an alternative to that available to us.

Comment 6 Sandro 2024-09-18 06:46:02 UTC
I added a comment to the upstream issue, letting them know that we still see issues even with the `dill` fix applied.

Comment 7 Fedora Update System 2024-09-22 09:02:44 UTC
FEDORA-2024-725de708a9 (python-cro-0.0.5.2-7.fc41, python-dill-0.3.9~~20240914.8b86f509-1.fc41, and 5 more) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-725de708a9

Comment 8 Fedora Update System 2024-09-23 02:07:58 UTC
FEDORA-2024-725de708a9 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-725de708a9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-725de708a9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Fails To Install 2024-09-23 12:29:35 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

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

Thanks for taking care of it!

Comment 10 Fedora Update System 2024-10-01 01:15:38 UTC
FEDORA-2024-725de708a9 (python-cro-0.0.5.2-7.fc41, python-dill-0.3.9~~20240914.8b86f509-1.fc41, and 5 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.