From 8349680216a94f10ef4c31deff5196cb6ecae029 Mon Sep 17 00:00:00 2001 From: Becca McBrayer Date: Thu, 25 Jan 2024 13:36:45 -0500 Subject: [PATCH] Pin scipy version (#4380) --- .github/meta.yaml | 2 +- core-requirements.txt | 2 +- docs/source/release_notes.rst | 1 + pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/meta.yaml b/.github/meta.yaml index 926ed7e3d1..f9240763b6 100644 --- a/.github/meta.yaml +++ b/.github/meta.yaml @@ -27,7 +27,7 @@ outputs: - numpy >=1.22.0 - pandas >=1.5.0, <2.1.0 - dask >=2022.2.0, !=2022.10.1 - - scipy >=1.5.0 + - scipy >=1.5.0, <1.12.0 - scikit-learn >=1.3.0 - scikit-optimize >=0.9.0 - statsmodels >=0.12.2 diff --git a/core-requirements.txt b/core-requirements.txt index c71f1ebef3..06e01b9e91 100644 --- a/core-requirements.txt +++ b/core-requirements.txt @@ -1,6 +1,6 @@ numpy>=1.21.0 pandas>=1.5.0, <2.1.0 -scipy>=1.5.0 +scipy>=1.5.0, <1.12.0 scikit-learn>=1.3.0 scikit-optimize>=0.9.0 pyzmq>=20.0.0 diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index ed57e0877a..3b0cc5eef1 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -5,6 +5,7 @@ Release Notes * Fixes * Fixed bug in `_downcast_nullable_y` causing woodwork initialization issues :pr:`4369` * Changes + * Pinned scipy version to under 1.12.0 :pr:`4380` * Documentation Changes * Testing Changes diff --git a/pyproject.toml b/pyproject.toml index 98a3f80f50..69ac6802d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ requires-python = ">=3.8,<4" dependencies = [ "numpy >= 1.22.0", "pandas >= 1.5.0, < 2.1.0", - "scipy >= 1.5.0", + "scipy >= 1.5.0, < 1.12.0", "scikit-learn >= 1.3.0", "scikit-optimize >= 0.9.0", "pyzmq >= 20.0.0",