From 60fd2a8a783d7edbdab3e30260f5af44b9271e41 Mon Sep 17 00:00:00 2001 From: Josh Williams Date: Tue, 25 Jun 2024 17:55:19 +0100 Subject: [PATCH] fix compatability issues with latest scipy when solving an Eigenproblem, this fixes issue with "csr_matrix has no attribute 'A'". --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 9f072f4..4c14198 100644 --- a/setup.py +++ b/setup.py @@ -3,6 +3,8 @@ with open("README.md", "r") as fh: long_description = fh.read() +install_requires = ["scipy<1.14.0"] + setuptools.setup( name="eigentools", version="2.2112", @@ -13,6 +15,7 @@ long_description_content_type="text/markdown", url="https://github.com/dedalusproject/eigentools", packages=setuptools.find_packages(), + install_requires=install_requires, classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)"