← Back to issue list

plainbox-provider plugin: filter out sitecustomize

View original Github issue

Metadata

Project
snapcraft
Number
#1139
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged a fix filtering out conflicting sitecustomize.py in the plainbox-provider plugin to prevent build conflicts during Python package staging. Approved by two reviewers and passing CI, the change resolves Launchpad bug #1663792.

Suggested action:

No scores available.

Issue body

When a part that uses the plainbox-provider plugin adds a `stage-packages` entry for a python3 package, conflicts will occur as this plugin most likely always comes `after` a python part that actually adds functionality. Given that sitecustomize.py will be different and the one added by `stage-packages` is not really useful in a snap we filter it out. LP: #1663792 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a fix filtering out conflicting sitecustomize.py in the plainbox-provider plugin to prevent build conflicts during Python package staging. Approved by two reviewers and passing CI, the change resolves Launchpad bug #1663792.
qwen3.6-35b-a3b-mtp-q6 Merged. The plainbox-provider plugin now filters out sitecustomize.py to prevent conflicts when staging python3 packages, as the staged version is unnecessary in snaps. Resolves LP: #1663792.
qwen3.6-35b-a3b-mtp-q6 Merged fix filtering out sitecustomize.py from stage-packages in the plainbox-provider plugin. Prevents conflicts when staging python3 packages, as the plugin runs after the main python part and the staged file is unnecessary in snaps. Resolves LP: #1663792.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2140 lp 1768233 workaround for plainbox_provider plugin snapcraft merged Merged a workaround for Launchpad bug 1768233 to fix plainbox-provider plugin failures blocking checkbox snap builds. Includes integration tests, passed CI with 100% diff coverage, and was approved before merging into master.
76%
#1611 plainbox-provider plugin: init PROVIDERPATH snapcraft merged Merged PR initializing PROVIDERPATH in the plainbox-provider plugin to prevent build host providers from affecting validation results. Resolves LP: #1722833. Approved, passed CI, and applied with seven lines added across two files.
70%