I experienced the issue too, and the solution was like your one.
@Michal mentioned following comment. So if language: python wouldn’t work on arm64, what did his comment mean?
Thanks for raising this one and providing workaround solution. Such feedback is much appreciated. Right now, python packages 3.6/3.7/3.8 should be already available for arm64 builds.
@junaruga Sorry, apparently the issue with Python forcing amd64 was just me not being patient enough to wait for the “Amd64” badge to update to “Arm64” on the job page. So language: pythondoes work. docker-compose is still missing though.
os: linux
dist: xenial #or bionic
arch: arm64
language: python
version:
- 3.6 #versions 3.6, 3.7 and 3.8 should work correctly, as appropriate python packages for arm64 has been made available