Python plugin is broken on bionic
Metadata
Current evaluation
Bionic python plugin breakage was fixed by installing python-distutils in merged PR canonical/snapcraft#2058 (commit cec1a111c); reported by ~bjornt with a patch, later refined by d1fd9a226.
Resolution: closed resolved
Reason: Maintainer ~sergiusens closed the Launchpad bug pointing at snapcore/snapcraft#2058, which was merged as commit cec1a111c ("python plugin: install python-distutils when run on bionic"). The plugin gained a follow-up refinement in d1fd9a226 ("python plugin: properly handle distutils on bionic"), so the reporter's proposed patch landed with proper bionic-version gating.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Bionic python plugin breakage was fixed by installing python-distutils in merged PR canonical/snapcraft#2058 (commit cec1a111c); reported by ~bjornt with a patch, later refined by d1fd9a226. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed Bionic Python plugin breakage by installing python-distutils in merged PR canonical/snapcraft#2058 (cec1a111c). | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed for Ubuntu Bionic by merged PR canonical/snapcraft#2058 (cec1a111c), which installs python-distutils; PR #2083 added follow-up handling. | |
| stealth/space-bunny-alpha | — | closed resolved | Bionic Python plugin breakage was fixed by merged PR #2058 (cec1a111c), installing python-distutils on Bionic so pip could access distutils.sysconfig. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without an official fix or merge. The author proposed a conditional patch for Ubuntu Bionic package changes, but maintainers took no action and the issue was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed with a proposed patch provided by the author to resolve the Python plugin breakage on Ubuntu Bionic. The solution requires verification to ensure compatibility with Bionic and newer versions. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a merged fix or comments. The reported Python plugin breakage on Ubuntu Bionic was abandoned or resolved by upstream package changes. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned. The reported Ubuntu Bionic Python plugin breakage and proposed conditional patch were not reviewed or merged. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#2058
(confidence 98%)
Merged PR referenced in the closing comment; commit cec1a111c installs python-distutils on bionic so pip can reach distutils.sysconfig.
-
Related To:
snapcraft@d1fd9a226
(confidence 72%)
Follow-up commit in snapcraft/plugins/python.py refining distutils handling on bionic shortly after the initial fix.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2058 python plugin: install python-distutils when run on bionic | snapcraft | merged | Merged in snapcraft#2058 via cec1a111c, adding python-distutils on Bionic so pip could access distutils.sysconfig; fixes Launchpad bug #1762456. | |
| #2083 python plugin: properly handle distutils on bionic | snapcraft | merged | Merged in #2083 via commit d1fd9a226, fixing the Python plugin to account for Bionic's separately packaged Python 3 distutils. |