Skip to content

poetry install fails on Apple M-series (numpy pin, volesti build errors) #124

@Mohit-Lakra

Description

@Mohit-Lakra

Trying to set up dingo on a macOS arm64 machine running Python 3.11, poetry install never finishes. The problems
I hit:

  • [build-system] pins numpy==1.20.1, but that version doesn’t ship wheels for Python 3.11. Poetry’s build env gives up
    before it can even compile the package.
  • volesti/external/PackedCSparse/FloatArray.h always includes <immintrin.h> and the MMCS samplers use .template in
    places modern clang won’t accept. On Apple Silicon that header doesn’t exist, so the compilation dies early.
  • setup.py pushes -std=c++17 through the generic compiler args. The lp_solve C files then receive C++-only flags and
    clang aborts with “invalid argument '-std=c++17' not allowed with 'C'.”
  • The lock file still points sparseqr at commit 42989e9 (v1.2.1), which lacks arm64 builds and fails against
    Homebrew’s SuiteSparse.

Together these make it impossible for new contributors on M-series Macs to install the project or run the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions