Skip to content

Remove Datatable dependency from Beam Python - #41586

Merged
shunping merged 3 commits into
apache:masterfrom
jrmccluskey:flippedTables
Nov 23, 2026
Merged

shunping merged 3 commits into
apache:masterfrom
jrmccluskey:flippedTables

Conversation

@jrmccluskey

Copy link
Copy Markdown
Contributor

Removes the datatable dependency from setup.py and takes out usages in the xgboost model handler code.

Fixes #40705

@github-actions github-actions Bot added python size/m M: 50-249 lines changed labels Nov 23, 2026
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.39%. Comparing base (5d834f2) to head (e01d8d1).
⚠️ Report is 32 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #41586   +/-   ##
=========================================
  Coverage     59.38%   59.39%           
  Complexity     5137     5137           
=========================================
  Files          1470     1470           
  Lines        187512   187582   +70     
  Branches       3819     3819           
=========================================
+ Hits         111351   111411   +60     
- Misses        72756    72766   +10     
  Partials       3405     3405           
Flag Coverage Δ
python 80.63% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @shunping for label python.
Backup reviewer: tvalentyn (if the main reviewer is unresponsive, you can escalate to them by tagging their username)

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@shunping shunping left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@shunping
shunping merged commit 5aea18b into apache:master Nov 23, 2026
93 checks passed
damccorm added a commit to damccorm/beam that referenced this pull request Nov 24, 2026
- feast_tests_requirements.txt: install feast with fsspec and
  google-cloud-bigquery[pandas] instead of feast[gcp] so it does not
  downgrade google-cloud-storage from 3.x to 2.x in the shared venv.
- feast_feature_store_it_test.py: inline ValidateResponse instead of
  importing it from vertex_ai_feature_store_it_test (which skips on
  missing testcontainers.redis).
- direct/common.gradle:
  - remove obsolete scikit-learn<1.2.0 downgrade in sklearnInferenceTest
  - export TF_USE_LEGACY_KERAS=1 in tensorflowInferenceTest
  - install enrichment_tests_requirements.txt (redis) in testcontainersTest
- tensorflow_tests_requirements.txt: use tf-keras and tensorflow>=2.16,<2.22
  on Python >=3.12 while preserving keras<3 / tensorflow<2.16 on Python <3.12
  for Python 3.11 Dataflow cost benchmarks.
- torch_tests_requirements.txt & huggingface_tests_requirements.txt: cap
  torch<2.12.0 to avoid triton>=3.7 LLVM option collision with tensorflow,
  and add tf-keras / tensorflow<2.22 bounds in huggingface_tests_requirements.
- Remove remaining datatable references from xgboost ITs/example/unit test
  following PR apache#41586.
damccorm added a commit that referenced this pull request Nov 24, 2026
… tests and example (#41644)

Follow-up to #41586 removing leftover datatable and XGBoostModelHandlerDatatable
references from XGBoost inference ITs, example, unit test, and requirements
file (datatable fails to build from source on Python 3.13).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task]: Remove datatables dependency in Beam 2.79.0

2 participants