This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/xgboost
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 72736f920f97e574941a984e4a1ff6cea70400ee
Author: Danny McCormick <dannymccorm...@google.com>
AuthorDate: Thu Aug 17 15:39:29 2023 -0400

    Pin xg boost in docs precommit
---
 sdks/python/tox.ini | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini
index 3384a0421dc..b636900d99d 100644
--- a/sdks/python/tox.ini
+++ b/sdks/python/tox.ini
@@ -161,7 +161,7 @@ deps =
   docutils<0.18
   Jinja2==3.0.3 # TODO(https://github.com/apache/beam/issues/21587): Sphinx 
version is too old.
   torch
-  xgboost
+  xgboost<=1.7.6
   datatable==1.0.0
   transformers
 commands =
@@ -437,4 +437,4 @@ commands =
   /bin/sh -c "pip freeze | grep -E tensorflow"
   # Run all Vertex AI 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_vertex_ai {posargs}; ret=$?; [ 
$ret = 5 ] && exit 0 || exit $ret'
\ No newline at end of file
+  /bin/sh -c 'pytest -o junit_suite_name={envname} 
--junitxml=pytest_{envname}.xml -n 6 -m uses_vertex_ai {posargs}; ret=$?; [ 
$ret = 5 ] && exit 0 || exit $ret'

Reply via email to