Skip to content

Commit eccfdbc

Browse files
authored
Merge pull request #37800 from apache/fix-python-ml-3-10
Fix PreCommit Python ML tests with ML deps installed
2 parents d6759cf + 78b22bc commit eccfdbc

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

sdks/python/setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,9 @@ def get_portability_package_data():
550550
# https://github.com/apache/beam/issues/31285
551551
# 'xgboost<2.0', # https://github.com/apache/beam/issues/31252
552552
] + ml_base,
553+
'p310_ml_test': [
554+
'datatable',
555+
] + ml_base,
553556
'p312_ml_test': [
554557
'datatable',
555558
] + ml_base,

sdks/python/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ deps =
110110
accelerate>=1.6.0
111111
onnx<1.19.0
112112
setenv =
113-
extras = test,gcp,dataframe,ml_test
113+
extras = test,gcp,dataframe,p310_ml_test
114114
commands =
115115
# Log tensorflow version for debugging
116116
/bin/sh -c "pip freeze | grep -E tensorflow"

0 commit comments

Comments
 (0)