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:40:09 UTC
(airflow) branch main updated: Pin pyarrow>=22.0.0 on Python 3.14 in highest-resolution constraints (#65216)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new cd28a003f5c Pin pyarrow>=22.0.0 on Python 3.14 in highest-resolution constraints (#65216)
cd28a003f5c is described below
commit cd28a003f5c13d6349ee03310cdec314ecbcc748
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Apr 14 16:40:00 2026 +0200
Pin pyarrow>=22.0.0 on Python 3.14 in highest-resolution constraints (#65216)
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.
---
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=[