GrahamDumpleton / wrapt

A Python module for decorators, wrappers and monkey patching.
BSD 2-Clause "Simplified" License
2.04k stars 230 forks source link

Add support to release aarch64 wheels #207

Closed odidev closed 2 years ago

odidev commented 2 years ago

Problem

On aarch64, pip install wrapt builds the wheels from source code and then installs it. It requires the user to have a development environment installed on their system. Also, it takes more time to build the wheels than downloading and extracting the wheels from PyPI.

Resolution

On aarch64, pip install wrapt should download the wheels from PyPI.

@GrahamDumpleton, Please let me know your interest in releasing aarch64 wheels. I can help with this.

GrahamDumpleton commented 2 years ago

It may just need GitHub actions workflow to be updated from pypa/cibuildwheel@v2.2.0 to newer version. That version didn't from memory support ARM at the time and support was added since last release which relied on that version. Not sure whether that is enough though. If you can indicate changes for both Linux ARM and macOS ARM (M1) that would be great. I need to try and look at another PR this weekend so can try and sort it out at the same time.

GrahamDumpleton commented 2 years ago

Try with:

pip install wrapt==1.14.0rc1

and see if everything is okay.

odidev commented 2 years ago

Yes, Its working.