Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks
seddonym opened this issue Jun 17, 2024 · 1 comment
Closed
2 tasks
Labels
bug Something isn't working

Comments

@seddonym
Copy link

seddonym commented Jun 17, 2024

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.

@seddonym seddonym added the bug Something isn't working label Jun 17, 2024
@messense
Copy link
Member

The release is missing wheels for 3.8 - 3.9 for macos arm64

There are no support for Python < 3.11 on macOS arm64 so this is expected, for x86_64 it should work if you install them via setup-python.

@PyO3 PyO3 locked and limited conversation to collaborators Jun 18, 2024
@messense messense converted this issue into discussion #2115 Jun 18, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants