← Back to issue list

multipass: replace deprecated parameter `--mem` with `--memory`

View original Github issue

Metadata

Project
craft-providers
Number
#217
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #217 as commit 35bd3c4, replacing Multipass's deprecated --mem launch option with --memory in production and test code.

Resolution: closed resolved

Reason: PR #217 was merged as commit 35bd3c4. It updates the launch command and corresponding integration and unit test expectations to use --memory.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Resolving the Multipass deprecation notice: ``` warning: "--mem" long option will be deprecated in favour of "--memory" in a future release.Please update any scripts, etc. ``` Waiting on https://github.com/canonical/craft-providers/pull/130

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #217 as commit 35bd3c4, replacing Multipass's deprecated --mem launch option with --memory in production and test code.
stealth/space-bunny-alpha — closed resolved Merged PR #217 as commit 35bd3c4, replacing Multipass's deprecated --mem option with --memory in the provider and associated tests.
qwen/qwen3.6-35b-a3b — closed resolved Replaced deprecated Multipass --mem parameter with --memory to resolve deprecation warnings. Merged in PR #131.

Update history

Date Change
created

Related work

  • Related To: canonical/craft-providers#130 (confidence 15%)

    PR #217 mentioned waiting on #130, but #130 concerned unrelated Brew and macOS test-runner updates.

Related issues

Issue Project State Summary Similarity
#4103 legacy: fix deprecation warning about `multipass --mem` snapcraft merged Merged PR #4103 updated legacy Multipass invocations from --mem to --memory, removing the deprecation warning (commit 1e5bf5827).
83%
#2365 multipass: change default CPU value snapcraft merged Merged PR #2365 as c325c62ad, setting a conservative Multipass CPU default aligned with memory allocation and adding messages when resource values are overridden.
72%