From e9ada84f90cdeb6d74f068414550eecb86b24655 Mon Sep 17 00:00:00 2001 From: Siddhant Shah Date: Tue, 2 Sep 2025 20:30:09 +0530 Subject: [PATCH] feat: add Python 3.13 support with conditional PyArrow dependencies - Use PyArrow >=15.0.2,<=17.0.0 for Python 3.8 - Use PyArrow >=18.0.0 for Python 3.9+ (includes 3.13 support) - Maintains backward compatibility for all existing Python versions - Resolves PyArrow installation issues on Python 3.13 Fixes installation failures where PyArrow 15.0.2 (pinned version) does not support Python 3.13, while maintaining compatibility with Python 3.8 which is not supported by PyArrow 18.0.0+ --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4a2e0801..1c21d044 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,8 @@ dependencies = [ "distro>=1.7.0, <2", "sniffio", "pandas; python_version >= '3.7'", - "pyarrow==15.0.2", + "pyarrow>=15.0.2,<=17.0.0; python_version == '3.8'", + "pyarrow>=18.0.0; python_version >= '3.9'", "pyyaml>=6.0", "requests_toolbelt>=1.0.0", "tqdm",