Python plugin: remove pip packages when cleaning pull.
Metadata
Current evaluation
Merged PR #882 as commit c54dea99d, making Python plugin clean_pull remove <partdir>/packages and fixing LP #1630005.
Resolution: closed resolved
Reason: The approved change was merged as commit c54dea99d. It removes the Python plugin's packages directory during clean_pull, resolving the stale pip artifacts reported in LP #1630005.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This PR fixes LP: [#1630005](https://bugs.launchpad.net/snapcraft/+bug/1630005) by removing the `<partdir>/packages` when cleaning the pull step.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #882 as commit c54dea99d, making Python plugin clean_pull remove <partdir>/packages and fixing LP #1630005. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/snapcraft#882: the Python plugin now removes <partdir>/packages during clean_pull, fixing Launchpad bug #1630005. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved Launchpad bug #1630005 by removing the part directory packages during the Python plugin pull step cleanup. Merged following reviewer approval and passing CI checks, updating two files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix for the Python plugin that removes part directory packages during pull step cleanup, resolving Launchpad bug #1630005. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1630005 Python plugins don't clean up <partdir>/packages | snapcraft (launchpad) | closed | Fixed by canonical/snapcraft#882 (commit c54dea99d), which added clean_pull support to the Python plugins so <partdir>/packages is removed on clean; issue closed by maintainer kyrofa citing that PR. | |
| #2171 {catkin,python} plugin: support cleaning | snapcraft | merged | Merged as a54a7a4a3, fixing LP #1778716 by deferring Python lookup so Pip can clean Catkin and Python plugin packages after Python is removed. |