You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2026/04/14 14:42:18 UTC

(airflow) branch v3-2-test updated: [v3-2-test] Pin pyarrow>=22.0.0 on Python 3.14 in highest-resolution constraints (#65216) (#65219)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v3-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-2-test by this push:
     new c6dd0a4ce78 [v3-2-test] Pin pyarrow>=22.0.0 on Python 3.14 in highest-resolution constraints (#65216) (#65219)
c6dd0a4ce78 is described below

commit c6dd0a4ce7844f3521b71418998fda1e6036442a
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Tue Apr 14 16:42:09 2026 +0200

    [v3-2-test] Pin pyarrow>=22.0.0 on Python 3.14 in highest-resolution constraints (#65216) (#65219)
    
    Older pyarrow releases do not publish cp314 wheels on PyPI, so uv falls
    back to building pyarrow from source when resolving the highest versions
    of provider dependencies on Python 3.14 — which fails. pyarrow 22.0.0 is
    the first release shipping Python 3.14 wheels, so constrain it for that
    Python version when generating constraints.
    (cherry picked from commit cd28a003f5c13d6349ee03310cdec314ecbcc748)
    
    Co-authored-by: Jarek Potiuk <ja...@potiuk.com>
---
 scripts/in_container/run_generate_constraints.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/scripts/in_container/run_generate_constraints.py b/scripts/in_container/run_generate_constraints.py
index b22ade34305..9652128ac3d 100755
--- a/scripts/in_container/run_generate_constraints.py
+++ b/scripts/in_container/run_generate_constraints.py
@@ -358,9 +358,13 @@ def generate_constraints_pypi_providers(config_params: ConfigParams) -> None:
     #
     # Current exclusions:
     #
-    # * no exclusions
+    # * pyarrow>=22.0.0 on Python 3.14 — older pyarrow releases have no prebuilt wheels for
+    #   Python 3.14 and uv falls back to building from source, which fails. pyarrow 22.0.0 is
+    #   the first release shipping cp314 wheels.
     #
-    additional_constraints_for_highest_resolution: list[str] = []
+    additional_constraints_for_highest_resolution: list[str] = [
+        "pyarrow>=22.0.0; python_version >= '3.14'",
+    ]
 
     result = run_command(
         cmd=[