Skip to content

Accept macosx_10_9 platform for Big Sur #9138

Closed
@memeplex

Description

@memeplex

Environment

  • pip version: 20.2.4
  • Python version: 3.8.6
  • OS: MacOS 11 (Big Sur)

Description

The update to Big Sur changed the major version of MacOS. AFAICS this is not really related to internals but more because of face lift and commercial concerns. But it's forcing pip to build everything from sources (which is not only slow but tends to fail for complex packages like numpy).

I'm using the --platform flag as a workaround but it requires to also specify --target and --only-binary, which is not really convenient.

Expected behavior

Wheels for previous versions are used.

How to Reproduce

  1. pip install numpy
  2. Tries to build.
  3. Fails to build

Instead:

  1. pip install --platform macosx_10_9_x86_64 --only-binary=:all: --target=/tmp numpy
  2. Downloads wheel
  3. Works fine

Output

This is not really relevant, I'm not concerned with the reasons the build failed (related to blas and lapack) but because the build happens at all.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions