staging lsb-release in python part make the part fail
Metadata
Current evaluation
Untriaged bug report stating that staging lsb-release in a python part causes ensurepip to fail due to PATH pollution. No maintainer interaction in over 3 years.
Suggested action: needs triage
Reason: The issue is a clear bug report with reproduction steps and a proposed fix, but it has zero maintainer engagement, labels, or assignee after 3+ years. It requires triage to verify if the PATH pollution issue persists in current bases or is specific to the EOL core20 base.
Impact:
40
Quick Win:
28.0
Staleness:
95
Complexity:
30
Confidence:
70
Support Request:
10
Issue body
Staging the apt package lsb-release in python part make the build of the part fail with the following message:
Pulling my-part
+ snapcraftctl pull
Building my-part
+ snapcraftctl build
+ python3 -m venv /root/parts/my-part/install
Error: Command '['/root/parts/my-part/install/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Failed to build 'my-part'.
The snapcraft.yaml is:
name: my-snap-name
base: core20
version: '0.1'
summary: text
description: |
more text
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
parts:
my-part:
plugin: python
python-packages: [numpy]
stage-packages: [lsb-release]
apps:
my-snap-name:
command: bin/python3
Calling snapcraft over it causes the issue.
Removing ${SNAPCRAFT_PART_INSTALL}/bin from the PATH seems to solve the issue, but this is hardcoded in the plugin
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
40
Quick Win:
28.0
Staleness:
95
Complexity:
30
Confidence:
70
Support Request:
10
|
needs triage | Untriaged bug report stating that staging lsb-release in a python part causes ensurepip to fail due to PATH pollution. No maintainer interaction in over 3 years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
80
Support Request:
5
|
close stale | Python part build fails when staging lsb-release due to PATH/ensurepip issues. Reported 3 years ago with no maintainer response or updates. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
65
Confidence:
90
Support Request:
20
|
close stale | Build failure in Snapcraft Python part when staging lsb-release due to PATH conflict with ensurepip. Issue is inactive for over 3 years with no maintainer response. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
45
Confidence:
85
Support Request:
10
|
close stale | Build fails when staging lsb-release in a Python part due to ensurepip error. Untriaged, no maintainer response, inactive for over three years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
20
|
close stale | Build failure when staging lsb-release in a Python part due to PATH ordering interfering with ensurepip. Issue is over 3 years old with no maintainer interaction or labels. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.