From 6a97b5e2092ae16f8651db240e130609a17d52c0 Mon Sep 17 00:00:00 2001 From: Shunping Huang Date: Mon, 1 Dec 2025 11:33:16 -0500 Subject: [PATCH] Enforce version upper bound for scikit-learn. --- 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 b700d7969832..ef58b4f9c760 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -448,7 +448,7 @@ def get_portability_package_data(): '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',