Skip to content

[CI] [Mac] Failure to compile Cython for deplyment target MacOS #185

@Liam-Sturge

Description

@Liam-Sturge

Expected behavior

The CI Github actions workflow defined in wheel_winmac_nightly.yaml will compile Cython successfully and complete the build without failure.


Actual behavior

The CI builds for Mac fail because the expected deployment target with Cython v0.29.34 is MacOS v11.7. The wheel_winmac_nightly.yaml file specifies that the deployment target will be MacOS v10.15, which is incompatible. This is not actually recorded in the logs, but the failure happens when


Background information

Cython v3.0.0 was recently released (https://github.com/cython/cython/releases/tag/3.0.0) and is used in newly built docker images. This causes a compilation issue since 3.0.0 expects function definitions to be explicitly declared with the noexcept annotation. This change should be backwards compatible to v0.29.31. For more details see the discussion here: scipy/scipy#17234 (comment).

We can workaround this Cython problem by pinning the version to v0.29.34, but this introduces the issue described above.


Environment

CI - Wheel-WinMac-Nightly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions