Skip to content

Commit

Permalink
chore: remove deprecated parameter build-base (#4505)
Browse files Browse the repository at this point in the history
Signed-off-by: Callahan Kovacs <[email protected]>
  • Loading branch information
mr-cal authored Jan 5, 2024
1 parent 7bd0d3a commit 4aa5f63
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion snapcraft/parts/lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ def _run_in_provider(
project_name=project.name,
project_path=project_path,
base_configuration=base_configuration,
build_base=build_base.value,
instance_name=instance_name,
allow_unstable=allow_unstable,
) as instance:
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def launched_environment(
project_name: str,
project_path: Path,
base_configuration: Base,
build_base: str,
build_base: Optional[str] = None,
instance_name: str,
allow_unstable: bool = False,
):
Expand Down
3 changes: 0 additions & 3 deletions tests/unit/parts/test_lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,6 @@ def test_lifecycle_run_in_provider_default(
project_name="mytest",
project_path=ANY,
base_configuration=mock_base_configuration,
build_base="22.04",
instance_name="test-instance-name",
allow_unstable=False,
)
Expand Down Expand Up @@ -1350,7 +1349,6 @@ def test_lifecycle_run_in_provider_all_options(
project_name="mytest",
project_path=ANY,
base_configuration=mock_base_configuration,
build_base="22.04",
instance_name="test-instance-name",
allow_unstable=False,
)
Expand Down Expand Up @@ -1452,7 +1450,6 @@ def test_lifecycle_run_in_provider(
project_name="mytest",
project_path=ANY,
base_configuration=mock_base_configuration,
build_base=BuilddBaseAlias.JAMMY.value,
instance_name="test-instance-name",
allow_unstable=False,
)
Expand Down

0 comments on commit 4aa5f63

Please sign in to comment.