Skip to content

Commit

Permalink
Merge pull request #429 from cjp256/providers-python-wheel
Browse files Browse the repository at this point in the history
providers: add python3-wheel as dependency (CRAFT-351)
  • Loading branch information
Chris Patterson authored Jul 2, 2021
2 parents a3560a4 + 8411abe commit 7cdbeee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions charmcraft/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ def setup(
"git",
"python3-pip",
"python3-setuptools",
"python3-wheel",
],
check=True,
capture_output=True,
Expand Down
10 changes: 9 additions & 1 deletion tests/test_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,15 @@ def test_base_configuration_setup(mock_executor, mock_inject, monkeypatch, alias

assert mock_executor.mock_calls == [
call.execute_run(
["apt-get", "install", "-y", "git", "python3-pip", "python3-setuptools"],
[
"apt-get",
"install",
"-y",
"git",
"python3-pip",
"python3-setuptools",
"python3-wheel",
],
check=True,
capture_output=True,
),
Expand Down

0 comments on commit 7cdbeee

Please sign in to comment.