Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interface/scipy_wrapper not compatible with scipy 1.11. #2258

Closed
pinguicula opened this issue Oct 11, 2023 · 3 comments
Closed

interface/scipy_wrapper not compatible with scipy 1.11. #2258

pinguicula opened this issue Oct 11, 2023 · 3 comments

Comments

@pinguicula
Copy link

pinguicula commented Oct 11, 2023

In interface/scipy_wrapper there is a BIN_OPS with __div__. In version 1.11 this is removed so it is no longer possible to import cvxpy without raising an error.

There were changes made to spmatrix in 1.11. I assume that an equivalent spmatrix.__div__ still exists but I do not know its name.

Also, __div__ is the first binop in the list of operations so it is likely that the other binary operations have the same issue.

Thanks for considering this.

@SteveDiamond
Copy link
Collaborator

Thank you for raising this issue. We will patch it ASAP.

@phschiele
Copy link
Collaborator

phschiele commented Oct 11, 2023

@pinguicula Which version of CVXPY are you on? This should have been fixed by #2159
I tested running 1.4 with SciPy 1.11 without issues.

@pinguicula
Copy link
Author

pinguicula commented Oct 12, 2023

My apologies: I am using conda and therefore running an older version.
Your linked issue seems to address this problem. I will close this issue and wait for the updated version in conda.

Thank you for your response and for your work on cvxpy!

Update: Conda now has 1.4.+ and scipy 1.11 is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants