← Back to issue list

legacy: fix deprecation warning about `multipass --mem`

View original Github issue

Metadata

Project
snapcraft
Number
#4103
Type
pull request
State
merged
Author
abitrolly
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #4103 updated legacy Multipass invocations from --mem to --memory, removing the deprecation warning (commit 1e5bf5827).

Resolution: closed resolved

Reason: PR #4103 was approved and merged into main, replacing the deprecated --mem option with --memory. The resolution is recorded in commit 1e5bf5827.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `pytest tests/unit`? ----- The fixes the warning. warning: "--mem" long option will be deprecated in favour of "--memory" in a future release.Please update any scripts, etc.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #4103 updated legacy Multipass invocations from --mem to --memory, removing the deprecation warning (commit 1e5bf5827).
stealth/space-bunny-alpha — closed resolved Merged #4103 as commit 1e5bf5827, replacing deprecated multipass --mem with --memory in three legacy files to eliminate the warning.
stealth/space-bunny-alpha — closed resolved Merged #4103 in commit 1e5bf5827, replacing legacy multipass --mem invocations with --memory across three files to remove the deprecation warning.
stealth/space-bunny-alpha — closed resolved Merged in #4103 (commit 1e5bf5827), replacing multipass --mem with --memory across three legacy files to eliminate the deprecation warning.
qwen/qwen3.6-35b-a3b — — Merged a fix for a multipass deprecation warning regarding the --mem flag. The change updates the flag to --memory across three files. Approved by a reviewer, passed CI checks, and achieved 100% diff coverage.
qwen3.6-35b-a3b-mtp-q6 — — Merged into main. Replaced deprecated --mem flag with --memory in multipass commands, resolving the deprecation warning. Achieved 100% diff coverage with no change to overall test coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#217 multipass: replace deprecated parameter `--mem` with `--memory` craft-providers merged Merged PR #217 as commit 35bd3c4, replacing Multipass's deprecated --mem launch option with --memory in production and test code.
83%