riteshghorse commented on code in PR #24965:
URL: https://github.com/apache/beam/pull/24965#discussion_r1100277153
##########
sdks/python/tox.ini:
##########
@@ -326,3 +326,20 @@ commands =
# Run all PyTorch unit tests
# Allow exit code 5 (no tests run) so that we can run this command safely on
arbitrary subdirectories.
/bin/sh -c 'pytest -o junit_suite_name={envname}
--junitxml=pytest_{envname}.xml -n 6 -m uses_pytorch {posargs}; ret=$?; [ $ret
= 5 ] && exit 0 || exit $ret'
+
+[testenv:py{37,38,39,310}-xgboost-{160,170}]
+deps =
+ -r build-requirements.txt
+ 160:
+ xgboost>=1.6.0,<1.7.0
+ datatable==1.0.0
+ 170:
+ xgboost>=1.7.0
+ datatable==1.0.0
+extras = test,gcp
+commands =
+ # Log XGBoost version for debugging
+ /bin/sh -c "pip freeze | grep -E torch"
+ # Run all PyTorch unit tests
Review Comment:
```suggestion
# Run all XGBoost unit tests
```
--
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]