Skip to content
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

CI fails: "error: the configured PyPy interpreter version (3.7) is lower than PyO3's minimum supported version (3.9)" #2349

Closed
1 of 2 tasks
DanielT opened this issue Dec 1, 2024 · 3 comments · Fixed by #2351
Labels
bug Something isn't working

Comments

@DanielT
Copy link

DanielT commented Dec 1, 2024

Bug Description

I'm using the CI workflow that was generated by maturin 1.7.6 for my project autosar-data-py.
I just updated my code to use pyo3-0.23.2, and wanted to publish a new version to pypi.

The CI workflow succeeded on the Macos and Windows platforms, but failed on Linux - Building for CPython >= 3.7 worked correctly on all platforms, since only Linux builds wheels for PyPy.

You should be able to see the log of the failed run here: musllinux (ubuntu-22.04, aarch64)

Ideally I would like to exclude the "bad" PyPy versions without changing the minimum CPython version.

Your maturin version (maturin --version)

1.7.6

Your Python version (python -V)

3.12.7

Your pip version (pip -V)

unknown - this is a github workflow runner

What bindings you're using

pyo3

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

I don't know how to manually build wheels for PyPy, but I could probably restart the github CI workflow.

@DanielT
Copy link
Author

DanielT commented Dec 1, 2024

Hi, thanks for fixing this so quickly.

Do I need to wait for you to make a new release of maturin, or is this supposed to start working immediately?
I saw that you have a github workflow to automatically build a new docker image, but when I just restarted my CI job, it failed again.

@messense
Copy link
Member

messense commented Dec 1, 2024

You need to wait for a new maturin release.

@PaarthShah
Copy link

matrix-nio/vodozemac-python#14 is blocked on a new maturin release as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants