Build fails after swtiching from python2 to python3

Hi, i’m maintaining timeline snap here which was a ptyhon2 app until freshly released v2.0.0. I’ve managed to update the snap yaml to get it working with python3 (especially with wxpython which seems a bit complicated to handle), but now, every build, except amd64, fail on, example

Anyone could tell me more about this ? I can’t see any hint in the build log :\

Looks like the issue is that there’s a python dependency that’s not satisfied:

ERROR: wxPython-4.0.4-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.

Thx a lot, so it seems i can’t use wxpython on other architecture than amd64, i don’t think it’s problematic for the users of the app, but it will make build site work on useless builds (don’t think it’s possible to deactivate a type of build there ?).

I’ve seen examples using wxpython, but they are all using a specific architecture“wxpython”&type=Code

You can specify in your snapcraft.yaml just the architectures you want to build on, and will respect that. See

  - build-on: amd64
  - build-on: arm64

if you just wanted to build on amd64 and arm64 for example.

thx again @ijohnson this will help me to preserve a bit of resource for the community :slight_smile:

1 Like