From b33660a4958a481f373014b77acd35e461b8737d Mon Sep 17 00:00:00 2001 From: Matthew Grange Date: Wed, 10 Dec 2025 10:05:11 -0800 Subject: [PATCH] Fix broken OSS tests for python 3.12 from new scikit 1.8.0 release Summary: The recent release of scikit-learn to 1.8.0 was picked up in Ax which is causing some tests to break. The only difference in package versions between the newly failing tests and the old passing ones from the nightly run is the scikit-learn library. Pinning the scikit-learn to the most recent package version to resolve. Differential Revision: D88866173 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2669730c6a6..dad6d54abd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ "jinja2", # also a Plotly dep "pandas", "scipy", - "scikit-learn", + "scikit-learn==1.7.2", "ipywidgets", # Needed for compatibility with ipywidgets >= 8.0.0 "plotly>=5.12.0",