I was slightly misled, the problem is that we were using python3 in the travis env, but the script needs python2.
The fix is here: https://github.com/snapcore/snapcraft/pull/1044
I was slightly misled, the problem is that we were using python3 in the travis env, but the script needs python2.
The fix is here: https:/ /github. com/snapcore/ snapcraft/ pull/1044