GrahamDumpleton / wrapt

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

Build universal2 wheel for Apple Silicon support #204

Closed kainjow closed 2 years ago

kainjow commented 2 years ago

A universal2 binary, new with Python 3.9.1, is a macOS binary that contains Intel and Apple Silicon code. This allows macOS apps to be built and distributed on either architecture and run natively on either.

GrahamDumpleton commented 2 years ago

Should have been dealt with by larger set of Python wheel changes done in https://github.com/GrahamDumpleton/wrapt/pull/208

Should in time be available in 1.14.0.

GrahamDumpleton commented 2 years ago

You can try with:

pip install wrapt==1.14.0rc1

and see if everything is okay.