This is an automated email from the ASF dual-hosted git repository.
shunping pushed a commit to branch release-2.70
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/release-2.70 by this push:
new 0af21d976b1 Enforce version upper bound for scikit-learn. (#36948)
(#36950)
0af21d976b1 is described below
commit 0af21d976b187e9ac7147b66869ed9681dd633fd
Author: Shunping Huang <[email protected]>
AuthorDate: Mon Dec 1 15:19:14 2025 -0500
Enforce version upper bound for scikit-learn. (#36948) (#36950)
---
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',