From fd23b8733d8cf5c4da9501f270b3c80fe02473df Mon Sep 17 00:00:00 2001 From: Peter Hawkins Date: Mon, 29 Jul 2024 08:49:41 -0700 Subject: [PATCH] Bump minimum SciPy version to 1.10. SciPy 1.9.0 was released July 29, 2022, which is 24 months ago PiperOrigin-RevId: 657215038 --- CHANGELOG.md | 2 ++ jaxlib/setup.py | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a94d1e90e9a0..f6819f0f78af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ Remember to align the itemized text with the first line of an item within a list supported version until July 2025. * The minimum NumPy version is now 1.24. NumPy 1.24 will remain the minimum supported version until December 2024. + * The minimum SciPy version is now 1.10. SciPy 1.10 will remain the minimum + supported version until January 2025. * {func}`jax.numpy.ceil`, {func}`jax.numpy.floor` and {func}`jax.numpy.trunc` now return the output of the same dtype as the input, i.e. no longer upcast integer or boolean inputs to floating point. * `libdevice.10.bc` is no longer bundled with CUDA wheels. It must be diff --git a/jaxlib/setup.py b/jaxlib/setup.py index adc3ba452111..215313f9bb3a 100644 --- a/jaxlib/setup.py +++ b/jaxlib/setup.py @@ -61,7 +61,7 @@ def has_ext_modules(self): packages=['jaxlib', 'jaxlib.xla_extension'], python_requires='>=3.10', install_requires=[ - 'scipy>=1.9', + 'scipy>=1.10', "scipy>=1.11.1; python_version>='3.12'", 'numpy>=1.24', 'ml_dtypes>=0.2.0', diff --git a/setup.py b/setup.py index cc2c75ab7ff4..d0f608e7f05a 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ def load_version_module(pkg_path): 'numpy>=1.24', "numpy>=1.26.0; python_version>='3.12'", 'opt_einsum', - 'scipy>=1.9', + 'scipy>=1.10', "scipy>=1.11.1; python_version>='3.12'", ], extras_require={