This is an automated email from the ASF dual-hosted git repository.
yhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 0fb3736df78 Enforce version upper bound for scikit-learn. (#36948)
0fb3736df78 is described below
commit 0fb3736df789e589822eb66d3c55db31996f783c
Author: Shunping Huang <[email protected]>
AuthorDate: Mon Dec 1 12:41:22 2025 -0500
Enforce version upper bound for scikit-learn. (#36948)
---
sdks/python/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/python/setup.py b/sdks/python/setup.py
index b700d796983..ef58b4f9c76 100644
--- a/sdks/python/setup.py
+++ b/sdks/python/setup.py
@@ -448,7 +448,7 @@ if __name__ == '__main__':
'pytest>=7.1.2,<9.0',
'pytest-xdist>=2.5.0,<4',
'pytest-timeout>=2.1.0,<3',
- 'scikit-learn>=0.20.0',
+ 'scikit-learn>=0.20.0,<1.8.0',
'sqlalchemy>=1.3,<3.0',
'psycopg2-binary>=2.8.5,<3.0',
'testcontainers[mysql,kafka,milvus]>=4.0.0,<5.0.0',