Bug 2250849

Summary: libarrow fails to build with Python 3.13: error: ‘_Py_IsFinalizing’ was not declared in this scope; did you mean ‘Py_IsFinalizing’
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: libarrowAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED RAWHIDE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: benson_muite, code, kkeithle, ksurma, mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libarrow-16.1.0-4.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-02 19:10:01 UTC 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: 2244836    

Description Karolina Surma 2023-11-21 12:46:01 UTC
libarrow fails to build with Python 3.13.0a1.

This report is automated and not very verbose, but we'll try to get back here with details.

  /builddir/build/BUILD/apache-arrow-14.0.1/python/pyarrow/src/arrow/python/udf.cc:50:9: error: ‘_Py_IsFinalizing’ was not declared in this scope; did you mean ‘Py_IsFinalizing’?
     50 |     if (_Py_IsFinalizing()) {
        |         ^~~~~~~~~~~~~~~~
        |         Py_IsFinalizing

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06660795-libarrow/

For all our attempts to build libarrow with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/libarrow/

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.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
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 Aoife Moloney 2024-02-15 23:05:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 2 Kaleb KEITHLEY 2024-07-02 19:10:01 UTC
fixed in ceph-18.2.3-5.fc41

Comment 3 Miro Hrončok 2024-07-02 20:39:54 UTC
This is libarrow, not ceph.