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',