Skip to content

Commit

Permalink
build: install rustc and cargo as build packages
Browse files Browse the repository at this point in the history
Some of this charm dependencies need rustc and cargo to build and install from source,
poviding this toolchain and library ensures the right tools are installed in the
environment, preventing issues when pip installing charm dependencies.
Partial cherry-pick of a716963
  • Loading branch information
DnPlas committed Sep 26, 2023
1 parent 80f7748 commit 7cc28df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ bases:
parts:
charm:
charm-python-packages: [setuptools, pip]
# Install rustc and cargo as build packages because some charm's
# dependencies need this to be built and installed from source.
build-packages: [rustc, cargo]

0 comments on commit 7cc28df

Please sign in to comment.