Skip to content

Snow-2684150: Fix pyarrow sdist build failure in pandas CI environments#2805

Draft
sfc-gh-fpawlowski wants to merge 2 commits intomainfrom
fix/py313-py314-pyarrow-prefer-binary
Draft

Snow-2684150: Fix pyarrow sdist build failure in pandas CI environments#2805
sfc-gh-fpawlowski wants to merge 2 commits intomainfrom
fix/py313-py314-pyarrow-prefer-binary

Conversation

@sfc-gh-fpawlowski
Copy link
Copy Markdown
Contributor

Set PIP_PREFER_BINARY=1 for pandas tox factor so pip selects pre-built wheels for pyarrow (and pandas) instead of falling back to source builds. The CI runner's pip was downloading pyarrow-23.0.1.tar.gz and failing at the CMake step (missing Arrow C++ libraries) despite cp313/cp314 wheels being available on PyPI. Affects py313-pandas-parallel-ci and py314-pandas-parallel-ci.

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes #NNNN

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am modifying authorization mechanisms
    • I am adding new credentials
    • I am modifying OCSP code
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

    Please write a short description of how your code change solves the related issue.

  4. (Optional) PR for stored-proc connector:

Set PIP_PREFER_BINARY=1 for pandas tox factor so pip selects pre-built
wheels for pyarrow (and pandas) instead of falling back to source builds.
The CI runner's pip was downloading pyarrow-23.0.1.tar.gz and failing at
the CMake step (missing Arrow C++ libraries) despite cp313/cp314 wheels
being available on PyPI. Affects py313-pandas-parallel-ci and
py314-pandas-parallel-ci.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sfc-gh-fpawlowski sfc-gh-fpawlowski self-assigned this Mar 23, 2026
@sfc-gh-fpawlowski sfc-gh-fpawlowski added NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md NO_ASYNC_CHANGES labels Mar 23, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NO_ASYNC_CHANGES NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant