From 22236b59f98500236a48676175e832e6577b7deb Mon Sep 17 00:00:00 2001 From: Jacob Stevens-Haas <37048747+Jacob-Stevens-Haas@users.noreply.github.com> Date: Wed, 29 May 2024 12:57:47 -0700 Subject: [PATCH] BLD: Fix broken versions (#512) * BLD: Fix broken versions Arviz uses scipy.signal.gaussian, which was removed in 1.13. Most recent arviz uses scipy.signal.windows.gaussian scikit-learn 1.5.0 contained a regression (https://github.com/scikit-learn/scikit-learn/pull/28352) that has been fixed in https://github.com/scikit-learn/scikit-learn/pull/29078 * BLD: Chasing errors, limit scipy/arviz in SBR To test the notebooks, need to install SBR extras, which included a version of arviz that isn't available on 3.9. Earlier version works, but restricts scipy version --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a74aa97b1..18d7e17ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ ] readme = "README.rst" dependencies = [ - "scikit-learn>=1.1", + "scikit-learn>=1.1, !=1.5.0", "derivative>=0.5.4", ] @@ -64,7 +64,8 @@ cvxpy = [ sbr = [ "numpyro", "jax", - "arviz" + "arviz==0.17.1", + "scipy<1.13.0" ] [tool.black]