python plugin: install python-distutils when run on bionic
Metadata
Current evaluation
Merged in snapcraft#2058 via cec1a111c, adding python-distutils on Bionic so pip could access distutils.sysconfig; fixes Launchpad bug #1762456.
Resolution: closed resolved
Reason: PR #2058 was merged as commit cec1a111c. Its change installed python-distutils on Ubuntu Bionic, resolving the missing distutils.sysconfig failure in pip and Launchpad bug #1762456.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The Python packages in bionic changed slightly, so that
distutils/sysconfig.py (which pip needs) is now in a separate package.
This fixes https://bugs.launchpad.net/snapcraft/+bug/1762456
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcraft#2058 via cec1a111c, adding python-distutils on Bionic so pip could access distutils.sysconfig; fixes Launchpad bug #1762456. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as snapcraft/snapcraft#2058 in commit cec1a111c, installing python-distutils on Ubuntu Bionic so pip could access distutils.sysconfig. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. The Python plugin now installs python-distutils on Ubuntu Bionic to resolve a package relocation that broke pip. Approved by a reviewer, passed CI, and merged, fixing Launchpad bug #1762456. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix for the Python plugin that installs python-distutils on Ubuntu Bionic. The change resolves a package relocation that broke pip by ensuring required modules are available during builds. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1762456
(confidence 100%)
Launchpad bug explicitly identified as fixed by PR #2058.
-
Related To:
snapcraft#2083
(confidence 90%)
Merged follow-up PR that further handled Bionic's separately packaged distutils.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1762456 Python plugin is broken on bionic | snapcraft (launchpad) | closed | 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. | |
| #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. |