Closed javierdelapuente closed 2 months ago
As pointed by @mr-cal in https://github.com/canonical/charmcraft/pull/1691#pullrequestreview-2156902965, the Flask extension fails when a charm-libs is already defined in a charmcraft.yaml, with a not very clear message because of an AttributeError exception.
charm-libs
charmcraft.yaml
AttributeError
This PR allows having a charm-libs in the original charmcraft.yaml, and will combine both charm-libs lists (if there are duplicated elements they will be only downloaded once).
Hi @lengau can you have a look at this PR. It addresses the issue pointed in https://github.com/canonical/charmcraft/pull/1691#pullrequestreview-2156902965. Thank you!
Looks good to me, thanks!
As pointed by @mr-cal in https://github.com/canonical/charmcraft/pull/1691#pullrequestreview-2156902965, the Flask extension fails when a
charm-libs
is already defined in acharmcraft.yaml
, with a not very clear message because of anAttributeError
exception.This PR allows having a
charm-libs
in the originalcharmcraft.yaml
, and will combine bothcharm-libs
lists (if there are duplicated elements they will be only downloaded once).