can not run natively on macOS Silicon / ARMv8
hanxiao opened this issue · 2 comments
Describe the bug
It is an upstream problem. This means we can neither provide a native macOS silicon version nor ARMv8 in Docker image for now. Note, running under Rosetta 2 is fine, as it simply simulates x86/64
-
Protobuf (in particular,
protoc
does not support armv8, there is no prebuilt wheel). protocolbuffers/protobuf#5154 (comment) -
There is an ongoing PR to protobuf protocolbuffers/protobuf#7999, protocolbuffers/protobuf#8196 (most promising one, also include 3.9), protocolbuffers/protobuf#8280
-
gRPC also has no wheel(grpc/grpc#21283), but at least has to be manually compiled via:
GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS=8
pip install grpcio
Know Issues on Rosetta2
urllib/request.py
throws
Fatal Python error: Bus error
Thread 0x000000030b2a4000 (most recent call first):
workaround, use no_proxy='*'
in os env. ref: https://bugs.python.org/issue28342
References
Environment
Screenshots
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days
protocolbuffers/protobuf#8280 has now been merged. ✅