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): https://circleci.com/api/v1.1/project/github/VirtusLab/git-machete/27404/output/108/0?file=true&allocation-id=65967fd8aced6d10c497ad62-0-build%2FABCDEFGH

And then from Jan 5th (snapcraft 10279 gets installed under the hood): https://circleci.com/api/v1.1/project/github/VirtusLab/git-machete/27473/output/108/0?file=true&allocation-id=659804d1024fc65c7fa7b45e-0-build%2FABCDEFGH

My snapcraft.yaml: https://github.com/VirtusLab/git-machete/blob/master/snap/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