Replies: 2 comments 3 replies
-
Hi Rick! Thanks for coming by. I don't think we've had a big discussion about this per se. I can share some thoughts on the topic off-hand. First and foremost, we can't specify exact versions for each dependency because that would create "dependency hell" for many cvxpy users. This means the question is really one of what upper and lower bounds we enforce for dependencies. I believe we already specify lower bounds for all dependencies and that this question is really about guarding against breaking changes from new releases (e.g., of SciPy). I.e., I think your question is about how we set upper bounds in the versions of our dependencies. There are some instances where we explicitly enforce upper bounds on solvers. For example, our interfaces to GLOP and PDLP have an upper bound on Google's I feel like it would be good for us to reduce the risk of such scrambling. It's not clear to me what those steps should be. I see two uncontroversial things we can do to get started:
Anyway, that's what I've got for now. I do think this is a good conversation to have, so thanks again for initiating it. Ping @cvxpy/maintainers. Thoughts? |
Beta Was this translation helpful? Give feedback.
-
Another option to consider is to add a scheduled workflow that uses pre-released versions of numpy and SciPy. |
Beta Was this translation helpful? Give feedback.
-
Hello,
This might be an odd general question, but I noticed the dependencies aren't version locked. Why is this?
I had some issue with a scipy release that caused my cvxpy to fail on import. I think if the dependencies were version locked this wouldn't be an issue. Just curious.
Thanks for any replies!
Rick
Beta Was this translation helpful? Give feedback.
All reactions