← Back to issue list

Python plugin: remove pip packages when cleaning pull.

View original Github issue

Metadata

Project
snapcraft
Number
#882
Type
pull request
State
merged
Author
kyrofa
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged a fix for the Python plugin that removes the 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 Python plugins were updated to ensure clean_pull removes the <partdir>/packages directory. The issue was closed after the fix was implemented.
75%
#392 plugins: fix pip path in python plugin craft-parts merged Merged a fix ensuring the python plugin uses the venv pip path, preventing unintended package installations when PATH changes. Approved by one reviewer, passed CI checks, and modified five files.
73%
#2171 {catkin,python} plugin: support cleaning snapcraft merged Merged into master. Fixes LP #1778716 by deferring Python lookup in the Pip class until cleanup. Resolves a crash in Catkin and Python plugins when cleaning the pull step after Python is removed from the installdir.
72%