Skip to content

[data] Pass along kwargs to prevent breaking ArrowPythonObjectScalar - #51041

Merged
raulchen merged 3 commits into
ray-project:masterfrom
omatthew98:mowen/pass-kwargs-for-extension-scalar
Mar 3, 2025
Merged

raulchen merged 3 commits into
ray-project:masterfrom
omatthew98:mowen/pass-kwargs-for-extension-scalar

Conversation

@omatthew98

Copy link
Copy Markdown
Contributor

Why are these changes needed?

Our tests with pyarrow nightly caught a backwards incompatibility bug with a recent pyarrow change. To fix this we simply need to pass along kwargs in our as_py method as suggested by the pyarrow team here.

Related issue number

Checks

@omatthew98
omatthew98 requested a review from aslonnie March 3, 2025 19:29
@omatthew98 omatthew98 added the go add ONLY when ready to merge, run all tests label Mar 3, 2025
@omatthew98
omatthew98 requested a review from a team March 3, 2025 20:19
@omatthew98

Copy link
Copy Markdown
Contributor Author

See passing build once skip-on-premerge was turned on in the second commit on this branch: https://buildkite.com/ray-project/premerge/builds/35815#01955db3-e16a-444f-99f8-2fc989b9376c
image

@raulchen
raulchen merged commit d3ec6a0 into ray-project:master Mar 3, 2025
xsuler pushed a commit to antgroup/ant-ray that referenced this pull request Mar 4, 2025
ray-project#51041)

## Why are these changes needed?
Our tests with pyarrow nightly caught a backwards incompatibility bug
with a [recent pyarrow
change](apache/arrow#45471). To fix this we
simply need to pass along kwargs in our `as_py` method as suggested by
the pyarrow team
[here](apache/arrow#45471 (comment)).


---------

Signed-off-by: Matthew Owen <[email protected]>
@omatthew98 omatthew98 mentioned this pull request Mar 4, 2025
8 tasks
aslonnie pushed a commit that referenced this pull request Mar 4, 2025
Followup to #51041, needed to add kwargs in a second method.

Signed-off-by: Matthew Owen <[email protected]>
abrarsheikh pushed a commit that referenced this pull request Mar 8, 2025
#51041)

## Why are these changes needed?
Our tests with pyarrow nightly caught a backwards incompatibility bug
with a [recent pyarrow
change](apache/arrow#45471). To fix this we
simply need to pass along kwargs in our `as_py` method as suggested by
the pyarrow team
[here](apache/arrow#45471 (comment)).

---------

Signed-off-by: Matthew Owen <[email protected]>
Signed-off-by: Abrar Sheikh <[email protected]>
abrarsheikh pushed a commit that referenced this pull request Mar 8, 2025
Followup to #51041, needed to add kwargs in a second method.

Signed-off-by: Matthew Owen <[email protected]>
Signed-off-by: Abrar Sheikh <[email protected]>
park12sj pushed a commit to park12sj/ray that referenced this pull request Mar 18, 2025
ray-project#51041)

## Why are these changes needed?
Our tests with pyarrow nightly caught a backwards incompatibility bug
with a [recent pyarrow
change](apache/arrow#45471). To fix this we
simply need to pass along kwargs in our `as_py` method as suggested by
the pyarrow team
[here](apache/arrow#45471 (comment)).


---------

Signed-off-by: Matthew Owen <[email protected]>
park12sj pushed a commit to park12sj/ray that referenced this pull request Mar 18, 2025
Followup to ray-project#51041, needed to add kwargs in a second method.

Signed-off-by: Matthew Owen <[email protected]>
jhasm added a commit to jhasm/ray that referenced this pull request Jul 29, 2026
…CI run

Build ray-project#51041 never reached the rocksdb job: //src/ray/gcs:gcs_node_manager
failed to compile, and every downstream target ("core: cpp tests",
"core: python tests", "core: redis tests", test_exported_symbols_unix)
reported FAILED TO BUILD off that one error.

  src/ray/gcs/gcs_node_manager.cc:762:24: error: lambda capture 'node_id'
  is not used [-Werror,-Wunused-lambda-capture]

Cause: node_id used to be read inside on_done, by the
PublishNodeInfoToPubsub(node_id, node_info_delta) call. The trace commit
moved that call into the publish_node_death closure, which captures
node_id itself, so the capture in on_done/complete became dead. The local
toolchain here is gcc, which does not implement -Wunused-lambda-capture at
all, so the local build was clean; CI uses clang-14, which rejects it.

Drop the dead capture from both on_done and its inner complete lambda.

Also fix the three self-inflicted lint failures from the same commit:
  - clang_format:   reformat the new/edited GCS sources
  - pre_commit:     black on test_rep64_rocksdb_delays.py
  - test_coverage:  ci/pipeline/check-test-run.py requires every
                    python/**/tests/test_*.py to be reachable from a
                    py_test target. Register both REP-64 harnesses,
                    tagged "manual" so CI never actually runs them --
                    they stall the store client and apply CPU/disk/memory
                    pressure, and are driven by run_rep64*.sh directly.

Verified locally: gcs_node_manager builds, pre-commit black/clang-format/
buildifier pass, and ci/pipeline/check-test-run.py exits clean.

No behaviour change to the trace instrumentation itself.

PROVENANCE ONLY (DO NOT MERGE).

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Santosh Jha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-backlog 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