osqp / osqp-python

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

[CI] Updates pyproject.toml for NumPy 2.0 #146

Closed phschiele closed 3 months ago

phschiele commented 4 months ago

The recent NumPy 2.0 release broke our installation using wheels. This change ensures that NumPy 2.0 is used to compile, which is backward compatible.

The same update has been merged/proposed for CVXPY, ECOS, and SCS.

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.

imciner2 commented 3 months ago

Thanks for this, however I will supersede this change in https://github.com/osqp/osqp-python/pull/148 because it actually turns out there are some dependencies in the test suite that are not NumPy 2.0 compatible unfortuently, so this will need more work.

That shouldn't affect CVXpy at all though, because we have already release the NumPy 2.0 compatible stable version 0.6.7.post0.