This is an automated email from the ASF dual-hosted git repository.
vterentev pushed a commit to branch fix-python-313
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/fix-python-313 by this push:
new 30cecfb53f3 Update scikit-learn version
30cecfb53f3 is described below
commit 30cecfb53f325f65f1b4511ced33742dba2cc0a0
Author: Vitaly Terentyev <[email protected]>
AuthorDate: Mon Oct 6 18:20:53 2025 +0400
Update scikit-learn version
---
.../inference/anomaly_detection/anomaly_detection_pipeline/setup.py | 2 +-
.../apache_beam/examples/inference/sklearn_examples_requirements.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/sdks/python/apache_beam/examples/inference/anomaly_detection/anomaly_detection_pipeline/setup.py
b/sdks/python/apache_beam/examples/inference/anomaly_detection/anomaly_detection_pipeline/setup.py
index 365b6634d1a..a415648cdf9 100644
---
a/sdks/python/apache_beam/examples/inference/anomaly_detection/anomaly_detection_pipeline/setup.py
+++
b/sdks/python/apache_beam/examples/inference/anomaly_detection/anomaly_detection_pipeline/setup.py
@@ -31,7 +31,7 @@ from setuptools import find_packages
REQUIREMENTS = [
"apache-beam[gcp]==2.41.0",
"hdbscan==0.8.28",
- "scikit-learn==1.5.0",
+ "scikit-learn==1.7.1",
"transformers==4.36.0",
"torch==1.13.1",
"pandas==1.3.5",
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 7a75d2c0431..30dbdb2f371 100644
---
a/sdks/python/apache_beam/examples/inference/sklearn_examples_requirements.txt
+++
b/sdks/python/apache_beam/examples/inference/sklearn_examples_requirements.txt
@@ -20,4 +20,4 @@
# However, newer sklearn is needed for testing on newer Python version
scikit-learn==1.0.2; python_version < '3.11'
# bump sklearn version when new Python version is supported
-scikit-learn==1.3.1; python_version >= '3.11'
+scikit-learn==1.7.1; python_version >= '3.11'