Skip to content

Conversation

aslonnie
Copy link
Collaborator

@aslonnie aslonnie commented Jul 8, 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

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 Copilot AI review requested due to automatic review settings July 8, 2025 06:29
Copy link
Contributor

@Copilot Copilot AI left a comment

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
Copy link
Collaborator Author

aslonnie commented Jul 8, 2025

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
Copy link
Collaborator Author

aslonnie commented Jul 8, 2025

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

@aslonnie
Copy link
Collaborator Author

aslonnie commented Jul 8, 2025

cc @justinvyu

@aslonnie
Copy link
Collaborator Author

aslonnie commented Jul 8, 2025

all macos CI test passed:
https://buildkite.com/ray-project/premerge/builds/43244#0197e947-1e4a-4c58-9ee7-1ec008e01a13

the retries were due to the routine machine reset last night.

@aslonnie aslonnie merged commit aea36d3 into master Jul 8, 2025
5 checks passed
@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]>
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.

2 participants