Git-machete: a recent change in how snapcraft installs Python packages?

Hey there… it looks that for some reason, between revision 10085 (Jan 4th) and 10279 (Jan 5th) of snapcraft, there’s been a regression in building Python packages. Snap can be built and even installed, but then when the installed software is executed, it fails with

+ git machete version
Traceback (most recent call last):
  File "/snap/git-machete/x1/bin/git-machete", line 5, in <module>
    from git_machete.bin import main
ModuleNotFoundError: No module named 'git_machete'

Here’s the full log from Jan 4th (snapcraft 10085 gets installed under the hood):

And then from Jan 5th (snapcraft 10279 gets installed under the hood):

My snapcraft.yaml:

Can you think of any potentially breaking change applied to snap(craft) around Jan 4th? :thinking: I’d appreciate any hints on how to debug this issue