8000 python3.9 rejects the macosx_10_9_x86_64 platform tag · Issue #64934 · Homebrew/homebrew-core · GitHub
[go: up one dir, main page]

Skip to content
python3.9 rejects the macosx_10_9_x86_64 platform tag #64934
@mattip

Description

@mattip

I am a NumPy developer and do not use brew. We have been getting reports across the scientific python ecosystem (matplotlib, numpy, pandas, scipy, and more) that python3.9 -m pip install numpy is failing to properly install NumPy. It is building from source and linking to the buggy Apple Accelerate library (instead of the OpenBLAS library we ship with our binary wheels. NumPy has a smoke test at import that Accelerate fails, so end-users are trying to install numpy, which is building from source, which does not work.

I think we tracked it down to a build problem where python3.9 from HomeBrew is not accepting the macosx_10_9_x86_64 platform tag. Since the NumPy wheels use that tag, python3.9 -m pip install numpy will scan available binary packages, not find a compatible one, and trigger a build from source, leading to the situation described above.

We tried hard to detect Accelerate in our build system but failed. Maybe you all have some good idea how to avoid using it?

xref numpy/numpy#17784.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedTask(s) needing PRs from the community or maintainersoutdatedPR was locked due to ageupstream issueAn upstream issue report is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0