osqp / osqp-python

Python interface for OSQP
https://osqp.org/
Apache License 2.0
109 stars 41 forks source link

fix: replace np.int alias with builtin int #105

Closed marvinvanaalst closed 1 year ago

marvinvanaalst commented 1 year ago

This changes the np.int alias of the Python builtin int type as the alias was deprecated in numpy version 1.20.0 and lead to an AttributeError starting with version 1.24.0.

This should fix issue #104

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

vineetbansal commented 1 year ago

@marvinvanaalst, and sorry for the delay in getting to this, and thanks a bunch for the PR.

2 things before we merge this in:

vineetbansal commented 1 year ago

@marvinvanaalst - after approving PR #109 with this fix, I'm closing this PR. Release v0.6.2.post9 of osqp incorporates these changes. Thanks for bringing this to our attention!