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

Python3.12 arm64 wheels / force compiled version #1927

Closed
da-woods opened this issue Feb 10, 2025 · 4 comments
Closed

Python3.12 arm64 wheels / force compiled version #1927

da-woods opened this issue Feb 10, 2025 · 4 comments
Labels
fixed support A support question from a user

Comments

@da-woods
Copy link

Hi,

Coverage is used in the Cython test-suite. We need to use the compiled C-extension version because we're mainly testing our own plugin.

In the recent update to Coverage 7.6.11 you seem to have dropped Linux Arm64 wheels for Python 3.12 (although do have them for other Python versions). This means it's installing the py3-none-any wheel (without the C-extension).

So ideally I'd like either:

  • A Linux Arm64 Py3.12 wheel
  • A way of forcing pip to build the extension (instead of using the py3-none-any wheel). It's possible that this exists and I don't know about it. In which case some documentation on your "Installation" page would help.

Thanks

@blthayer
Copy link

Please note that compiled aarch64 wheels are also missing for Python 3.11 for coverage version 7.6.11

https://pypi.org/project/coverage/7.6.11/#files

@nedbat
Copy link
Owner

nedbat commented Feb 11, 2025

Thanks. Looks like I've encountered pypa/cibuildwheel#2257 and didn't notice the failures. I'll have to puzzle through how to fix it.

@scoder
Copy link

scoder commented Feb 11, 2025

Switching to the recent ubuntu-24.0-arm image (and removing the QEMU action) worked surprisingly smoothly for me. And it builds so much faster. Definitely worth going for.

cython/cython@d3ec652

da-woods added a commit to cython/cython that referenced this issue Feb 11, 2025
It looks like we're ending up without a compiled version of coverage on
the Arm CI runners. This means our coverage tests fail. Help setup.py
identify this case so it can at least skip them properly.

See nedbat/coveragepy#1927
nedbat added a commit that referenced this issue Feb 11, 2025
@nedbat
Copy link
Owner

nedbat commented Feb 11, 2025

Fixed in commit ce4efdc.

This is now released as part of coverage 7.6.12.

@nedbat nedbat closed this as completed Feb 11, 2025
@nedbat nedbat added the fixed label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed support A support question from a user
Projects
None yet
Development

No branches or pull requests

4 participants