osqp / osqp-python

Python interface for OSQP

Home Page:https://osqp.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Numpy 1.24 breaks builtin type aliases

marvinvanaalst opened this issue · comments

The numpy people marked aliases of builtin types like np.int as deprecated in version 1.20.0. They are effectively deprecated with version 1.24.0 which was just released.

This leads to a bunch of AttributeErrors, like

AttributeError: module 'numpy' has no attribute 'int'

Your requirements.txt states compatability for numpy >=1.7 and thus causes CI to crash on this (but that's on the numpy folks).

The corresponding pull request is #105 .

This issue is related to cobra issue 1305

v0.6.2.post9 fixes this.Thanks for bringing this to our attention!