Skip to content

[MNT]: Matplotlib nightly wheels can't be installed on Sonoma #27445

@ngoldbaum

Description

@ngoldbaum

Summary

The current matplotlib arm64 wheel targets macosx_10_12, but it looks like the earliest platform supported on my MacOS sonoma machine with python built via pyenv is cp311-cp311-macosx_11_0_arm64.

$ pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple matplotlib
Looking in indexes: https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
ERROR: Could not find a version that satisfies the requirement matplotlib (from versions: none)
ERROR: No matching distribution found for matplotlib

And then scrolling a bit through pip debug --verbose, the only cp311-cp311 tags that are compatible with Sonoma are:

  cp311-cp311-macosx_14_0_arm64
  cp311-cp311-macosx_14_0_universal2
  cp311-cp311-macosx_13_0_arm64
  cp311-cp311-macosx_13_0_universal2
  cp311-cp311-macosx_12_0_arm64
  cp311-cp311-macosx_12_0_universal2
  cp311-cp311-macosx_11_0_arm64
  cp311-cp311-macosx_11_0_universal2
  cp311-cp311-macosx_10_16_universal2
  cp311-cp311-macosx_10_15_universal2
  cp311-cp311-macosx_10_14_universal2
  cp311-cp311-macosx_10_13_universal2
  cp311-cp311-macosx_10_12_universal2
  cp311-cp311-macosx_10_11_universal2
  cp311-cp311-macosx_10_10_universal2
  cp311-cp311-macosx_10_9_universal2
  cp311-cp311-macosx_10_8_universal2
  cp311-cp311-macosx_10_7_universal2
  cp311-cp311-macosx_10_6_universal2
  cp311-cp311-macosx_10_5_universal2
  cp311-cp311-macosx_10_4_universal2

Proposed fix

Bump the minimum supported version in the wheel building infrastructure.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions