ERROR: No matching distribution found for skia-python==87.4 when building docker with Apple M1
Describe the bug As described in the title, when building docker image on Apple M1, I get the error above. I'm using python:3.10.2 image, but got the same error with ubuntu:18.04 image
To Reproduce Steps to reproduce the behavior:
- Run docker build and try installing skia-python
Expected behavior Build success
Desktop (please complete the following information):
- OS: macOS 12.2
- Python: 3.10.2
- skia-python version: v87.4
Additional context I tried: apt-get install libfontconfig1 libgl1-mesa-glx libgl1-mesa-dri but it did not help.
Thank you! :)
Are you building aarch64 linux image? The current release do not support aarch64 due to the CI issue. The workaround is to use x86_64 linux image, or manually build the wheel in the target environment.
Thank you for your response! Is there any estimation for a release that support aarch64? I tried using the workaround Docker official documentation suggested which is adding a --platform linux/amd64 flag on my docker-compose file but it makes the container very slow. Do you have any reference for manually build the skia-python wheel? And again, thanks!
The CI build setup is here, which internally calls the linux build script.
The Github Actions runners do not support a native aarch64 environment, and qemu aarch64 on a x86_64 runner easily timeouts to build. It is unlikely the situation changes anytime soon.
Thanks, I still hope that there will be a release in the near future that will support aarch64 😃
Hi, I noticed that Github added support for M1 aarch64 actions runners: https://github.com/actions/runner/blob/main/releaseNote.md Any chance adding the build for aarch64? It would be amazing! Thanks :)
I do not have any plan to use self-hosted runners, but only github-hosted runners. Hope Github offers those.