Skip to content

Mac OS wheels always fail testing: *.whl is not a supported wheel on this platform #1410

@cdgriffith

Description

@cdgriffith

Description

I have tried creating wheels for mac via github actions on both macos-11 and macos-12 and always run into the same issue, that it creates the wheel and when it tries testing them, it gets the error:

ERROR: python_box-7.0.1-cp38-cp38-macosx_12_0_x86_64.whl is not a supported wheel on this platform.

Work is being done on this develop branch currently https://github.com/cdgriffith/Box/tree/develop

Have tried both just x86_64 and universal2 builds and always seems to build and test an x86_64 version that it then fails on. Made sure to do a manual pip update inside the test env itself with CIBW_BEFORE_TEST: "python -m pip install pip --upgrade" as well as others have had issues with outdated pip versions (locally, not with cibuildwheel)

Build log

https://gist.github.com/cdgriffith/5afcf8db84dfa07b6e833eafcefd2dbe

CI config

https://github.com/cdgriffith/Box/blob/develop/.github/workflows/tests.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions