jrmccluskey commented on code in PR #40694:
URL: https://github.com/apache/beam/pull/40694#discussion_r4338605989


##########
sdks/python/setup.py:
##########
@@ -166,6 +166,19 @@ def cythonize(*args, **kwargs):
 
 milvus_dependency = ['pymilvus>=2.5.10,<3.0.0']
 qdrant_dependency = ['qdrant-client>=1.15.0']
+# NOTE: When updating these bounds, also update the bounds in
+# apache_beam/ml/inference/xgboost_tests_requirements.txt, which is used by the
+# XGBoost RunInference integration tests, and the py311-xgboost-* environments
+# in tox.ini.
+xgboost_dependency = [
+    # xgboost<2.0 wheels fail `pip check` on recent pip ("not supported on this
+    # platform"), see https://github.com/apache/beam/issues/31285.
+    'xgboost>=2.0.0,<4',
+    # apache_beam.ml.inference.xgboost_inference imports datatable directly.
+    # 1.1.0 is the first release with Python 3.10+ wheels; no release has
+    # wheels for Python 3.13+.
+    'datatable>=1.1.0,<2',

Review Comment:
   Went ahead and marked the handler as deprecated, marked it for removal in 
the 2.79.0 release



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to