Commits


Thomas A Caswell authored and GitHub committed 1ce69ec0a72
GH-41475: [Python] Build with Python 3.13 (#42034) ### Rationale for this change The private function `_Py_IsFinalizing` renamed to `Py_IsFinalizing` in Python 3.13.0a1. Without this change pyarrow will not compile with this version of Python or higher. ### What changes are included in this PR? add a version-gated `#define` to handle the change. ### Are these changes tested? Local build succeeds. ### Are there any user-facing changes? no * GitHub Issue: #41475 Lead-authored-by: Thomas A Caswell <tcaswell@gmail.com> Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>