It seems to be a clash between pymacaroons-pynacl and pymacaroons. In fact, pymacaroons-pynacl breaks if pymacaroons is removed. These actually seem to be the same, with pymacaroons-pynacl being older (and broken), and pymacaroons actually working.
The fix, after several builds, seems to be simply removing pymacaroons-pynacl and only using pymacaroons.
It seems to be a clash between pymacaroons-pynacl and pymacaroons. In fact, pymacaroons-pynacl breaks if pymacaroons is removed. These actually seem to be the same, with pymacaroons-pynacl being older (and broken), and pymacaroons actually working.
The fix, after several builds, seems to be simply removing pymacaroons-pynacl and only using pymacaroons.
The fix for master: https:/ /github. com/snapcore/ snapcraft/ pull/2302
The fix for legacy: https:/ /github. com/snapcore/ snapcraft/ pull/2303