Repository navigation
[Python] Remove remaining datatable references from XGBoost inference tests and example - #41644
Conversation
… tests and example 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).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41644 +/- ##
=========================================
Coverage 58.03% 58.04%
Complexity 2844 2844
=========================================
Files 1210 1210
Lines 173259 173280 +21
Branches 2329 2329
=========================================
+ Hits 100554 100580 +26
+ Misses 69995 69990 -5
Partials 2710 2710
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
stop reviewer notifications |
There was a problem hiding this comment.
📋 Review Summary
This PR cleanly removes the remaining datatable and XGBoostModelHandlerDatatable references from the XGBoost inference example, unit/integration tests, and test requirements following #41586. Crucially, removing the stale XGBoostModelHandlerDatatable import in xgboost_inference_test.py prevents the ImportError fallback from silently skipping the entire unit test suite.
🔍 General Feedback
- The changes across all four files are clean, well-scoped, and ready to merge.
- Minor follow-up note outside this diff:
datatable>=1.1.0,<2is still listed under[testenv:py311-xgboost-{200,300}]insdks/python/tox.ini, which can also be dropped when convenient.
💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.
|
Stopping reviewer notifications for this pull request: requested by reviewer. If you'd like to restart, comment |
Part of #41652 (stack: https://github.com/apache/beam/stack/41650).
Stack 1/6 — Follow-up cleanup to #41586 removing the remaining
datatableandXGBoostModelHandlerDatatablereferences from XGBoost inference tests, example, and requirements:datatablefromsdks/python/apache_beam/ml/inference/xgboost_tests_requirements.txt(datatablefails to build from source on Python 3.13).datatableusage andXGBoostModelHandlerDatatableITs fromxgboost_inference_it_test.py,xgboost_iris_classification.py, andxgboost_inference_test.py.Verification
direct:py313:xgboostInferenceTest(7/7 passed) in PostCommit Python (3.13) run 45406881889.