Skip to content

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

Open

Description

@adelaharpe
  • 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.

Activity

  1. tommyjcarpenter commented on Oct 25, 2022

    @tommyjcarpenter

    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.

  2. tom-mcclintock commented on Nov 28, 2022

    @tom-mcclintock

    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!

  3. SongshGeo commented on Feb 24, 2023

    @SongshGeo

    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)

  4. enzbus commented on Apr 3, 2023

    @enzbus

    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!

  5. enzbus commented on Apr 10, 2023

    @enzbus

    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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions