osqp / qdldl-python

Python interface to the QDLDL(https://github.com/osqp/qdldl) free LDL factorization routine for quasi-definite linear systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qdldl cannot be properly installed on a mac m1 chip with latest poetry version (1.2.1)

adelaharpe opened this issue · comments

  • Python version: pyenv local 3.10.0
  • OS version and name: Mac OS 12.6 (Apple M1 Pro)
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.

Issue

qdldl cannot be properly installed on a mac m1 chip with latest poetry version (1.2.1)

I have got an issue with the qdldl package when installing with poetry. I ran the issue in the poetry github but it is apparently an upstream issue for qdldl. See the issue on poetry : python-poetry/poetry#6712

and the apparent solution: python-poetry/poetry#6712 (comment)

in order for poetry to be able to properly install qdldl.

I believe the culprit here is this: https://github.com/osqp/qdldl-python/blob/master/setup.py#L24-L28

I left a comment here: python-poetry/poetry#6712 (comment)

I dont mind making a PR but its unclear to me what the best path forward is, beyond the hacks i mention there, or converting this project to poetry.

Echoing that this issue is affecting users of the scikit-survival. We have folks with M1 chips that require sk-surv, and hence qdld (via osqp). Would greatly appreciate this being fixed!

Echoing that this issue is affecting users of the SyntheticControlMethods. Would greatly appreciate this being fixed!

Python version: pyenv local 3.11.2
OS version and name: Mac OS 13.0 (Apple M2 Max)

commented

Hello @bstellato -- it appears the above is fixed in the repo but has not yet been propagated to PyPi. Can you make a new release? Thanks!

commented

Dear Maintainers, I confirm that pip3 install --use-pep517 --no-binary qdldl qdldl runs without errors on mac aarch64. Thank you! (I suspect all other related issues are solved as well.)