diff --git a/.github/trigger_files/beam_PostCommit_Python.json b/.github/trigger_files/beam_PostCommit_Python.json index 0ff79c010935..2934a91b84b1 100644 --- a/.github/trigger_files/beam_PostCommit_Python.json +++ b/.github/trigger_files/beam_PostCommit_Python.json @@ -1,4 +1,5 @@ { - "comment": "Modify this file in a trivial way to cause this test suite to run." + "comment": "Modify this file in a trivial way to cause this test suite to run.", + "modification": 1 } diff --git a/sdks/python/apache_beam/examples/inference/sklearn_examples_requirements.txt b/sdks/python/apache_beam/examples/inference/sklearn_examples_requirements.txt index 92f9c222b339..7a75d2c04312 100644 --- a/sdks/python/apache_beam/examples/inference/sklearn_examples_requirements.txt +++ b/sdks/python/apache_beam/examples/inference/sklearn_examples_requirements.txt @@ -16,7 +16,8 @@ # # This should match the saved version of your trained model. -# Beam's tests use sklearn 1.0.2 for their saved models. +# Beam's tests use saved models with sklearn 1.0.2, which supports py3.7-3.10 +# However, newer sklearn is needed for testing on newer Python version scikit-learn==1.0.2; python_version < '3.11' -# https://github.com/apache/beam/issues/27151 sklearn support Py311 in 1.2 -scikit-learn==1.2.2; python_version >= '3.11' +# bump sklearn version when new Python version is supported +scikit-learn==1.3.1; python_version >= '3.11'