Skip to content

Generated Github release workflow does not build wheels for Python 3.8 - 3.10 for MacOS #2113

@seddonym

Description

@seddonym

Bug Description

I recently switched to a Github release workflow generated by the newest version of Maturin (1.6.0), for my open source library Grimp. The release is missing wheels for 3.8 - 3.9 for macos arm64 and 3.8 - 3.10 for macos x86-64 (issue on Grimp here).

I think this is possibly an issue with the setup-python action, which from what I can see is silently failing to install those versions. Possibly it is this (closed) issue on setup-python.

Your maturin version (maturin --version)

1.6.0

Your Python version (python -V)

n/a

Your pip version (pip -V)

n/a

What bindings you're using

None

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

You can see the issue by looking at the CI run in question. https://github.com/seddonym/grimp/actions/runs/9497248945. Inside the 'Build wheels' actions under the Macos actions, you see it only finds some of the expected Python versions. Compare these with the linux and windows ones where it finds everything from 3.8 - 3.12.

I think you could reproduce the issue by setting up a new maturin project and then creating a Github release action using the docs. https://www.maturin.rs/distribution#github-actions. Let me know if you need me to go into more detail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions