Skip to content

[wheel] remove pyarrow <18 restriction - #54405

Merged
aslonnie merged 1 commit into
masterfrom
lonnie-250707-freearrow
Jul 8, 2025
Merged

aslonnie merged 1 commit into
masterfrom
lonnie-250707-freearrow

Conversation

@aslonnie

@aslonnie aslonnie commented Jul 8, 2025

Copy link
Copy Markdown
Contributor

the restriction should be on installation time rather than inside the wheel. this extra constraint sometimes can unnecessarily mislead depedency manager's resolution algorithms

the restriction should be on installation time rather than inside the
wheel. this extra constraint sometimes can unnecessarily mislead
depedency manager's resolution algorithms

Signed-off-by: Lonnie Liu <[email protected]>
Copilot AI review requested due to automatic review settings July 8, 2025 06:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the hardcoded macOS x86_64 pyarrow <18 constraint from the wheel metadata and shifts the version restriction to installation time.

  • Drops the platform-specific <18 pin from setup.py extras
  • Cleans up the corresponding lines in requirements.txt

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
python/setup.py Removed the pyarrow <18; sys_platform == 'darwin' and platform_machine == 'x86_64' extra dependency
python/requirements.txt Deleted the macOS constraint comment and <18 pin, leaving pyarrow >= 9.0.0
Comments suppressed due to low confidence (1)

python/requirements.txt:26

  • [nitpick] Consider re-adding a brief comment or updating the project documentation to explain why the macOS <18 constraint was removed, so future maintainers understand the rationale.
pyarrow >= 9.0.0

@aslonnie

aslonnie commented Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

might resolve the issue surfaced in #52820
which is astral-sh/uv#13315 (comment)

@aslonnie aslonnie added the go add ONLY when ready to merge, run all tests label Jul 8, 2025
@aslonnie

aslonnie commented Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

this means that we might need to pin to a specific version during testing

@aslonnie

aslonnie commented Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

cc @justinvyu

@aslonnie

aslonnie commented Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

@aslonnie
aslonnie merged commit aea36d3 into master Jul 8, 2025
@aslonnie
aslonnie deleted the lonnie-250707-freearrow branch July 8, 2025 18:34
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Jul 9, 2025
the restriction should be on installation time rather than inside the
wheel. this extra constraint sometimes can unnecessarily mislead
depedency manager's resolution algorithms

Signed-off-by: Lonnie Liu <[email protected]>
Signed-off-by: doyoung <[email protected]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Jul 9, 2025
the restriction should be on installation time rather than inside the
wheel. this extra constraint sometimes can unnecessarily mislead
depedency manager's resolution algorithms

Signed-off-by: Lonnie Liu <[email protected]>
Signed-off-by: doyoung <[email protected]>
ccmao1130 pushed a commit to ccmao1130/ray that referenced this pull request Jul 29, 2025
the restriction should be on installation time rather than inside the
wheel. this extra constraint sometimes can unnecessarily mislead
depedency manager's resolution algorithms

Signed-off-by: Lonnie Liu <[email protected]>
Signed-off-by: ChanChan Mao <[email protected]>
dstrodtman pushed a commit to dstrodtman/ray that referenced this pull request Oct 6, 2025
the restriction should be on installation time rather than inside the
wheel. this extra constraint sometimes can unnecessarily mislead
depedency manager's resolution algorithms

Signed-off-by: Lonnie Liu <[email protected]>
Signed-off-by: Douglas Strodtman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants