Skip to content

Pin pyarrow>=22.0.0 on Python 3.14 in constraints generation#65216

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:fix-pyarrow-python-314-constraints
Apr 14, 2026
Merged

Pin pyarrow>=22.0.0 on Python 3.14 in constraints generation#65216
potiuk merged 1 commit intoapache:mainfrom
potiuk:fix-pyarrow-python-314-constraints

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Apr 14, 2026

When generating the highest-resolution constraints for provider dependencies on Python 3.14, uv attempts to resolve older pyarrow versions that do not ship cp314 wheels on PyPI. It then falls back to building pyarrow from source, which fails in the constraints-generation environment.

pyarrow 22.0.0 is the first release that publishes Python 3.14 wheels, so this adds an additional constraint pyarrow>=22.0.0; python_version >= '3.14' to the highest-resolution constraints pin list used by generate_constraints_pypi_providers. The comment block above the pin is updated to document the current exclusion and the rationale.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Opus 4.6 (1M context)

Generated-by: Claude Opus 4.6 (1M context) following the guidelines

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.
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch labels Apr 14, 2026
@potiuk potiuk merged commit cd28a00 into apache:main Apr 14, 2026
136 checks passed
@potiuk potiuk deleted the fix-pyarrow-python-314-constraints branch April 14, 2026 14:40
github-actions bot pushed a commit that referenced this pull request Apr 14, 2026
…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.
(cherry picked from commit cd28a00)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@github-actions
Copy link
Copy Markdown
Contributor

Backport successfully created: v3-2-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-2-test PR Link

potiuk added a commit that referenced this pull request Apr 14, 2026
…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 cd28a00)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
…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 cd28a00)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
…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 cd28a00)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
…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 cd28a00)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
vatsrahul1001 pushed a commit that referenced this pull request Apr 15, 2026
…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 cd28a00)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants