Oh it builds fine. But it will not install. I'm quite convinced it will be the same for you...
I tried charm build command as snap and as pip. On focal.
charmcraft version 2.0.0
tilli@zuse:~$ snap info charm name: charm summary: charm and charm-tools publisher: Canonical✓ store-url: https://snapcraft.io/charm contact: https://discourse.juju.is/c/charming license: unset description: | charmstore-client and charm-tools commands: - charm snap-id: 2Rryoc2ylScfbFl4eQtpntHD9iuZuMvt tracking: latest/stable refresh-date: 2022-02-17 channels: latest/stable: 2.8.2 2021-02-01 (609) 119MB classic latest/candidate: 2.8.2 2021-02-01 (609) 119MB classic latest/beta: 2.8.2 2021-02-01 (609) 119MB classic latest/edge: 2.8.3+git-1-736b1ad 2021-02-23 (620) 119MB classic installed: 2.8.2 (609) 119MB classic
Oh it builds fine. But it will not install. I'm quite convinced it will be the same for you...
I tried charm build command as snap and as pip. On focal.
charmcraft version 2.0.0
tilli@zuse:~$ snap info charm /snapcraft. io/charm /discourse. juju.is/ c/charming 4eQtpntHD9iuZuM vt
name: charm
summary: charm and charm-tools
publisher: Canonical✓
store-url: https:/
contact: https:/
license: unset
description: |
charmstore-client and charm-tools
commands:
- charm
snap-id: 2Rryoc2ylScfbFl
tracking: latest/stable
refresh-date: 2022-02-17
channels:
latest/stable: 2.8.2 2021-02-01 (609) 119MB classic
latest/candidate: 2.8.2 2021-02-01 (609) 119MB classic
latest/beta: 2.8.2 2021-02-01 (609) 119MB classic
latest/edge: 2.8.3+git-1-736b1ad 2021-02-23 (620) 119MB classic
installed: 2.8.2 (609) 119MB classic