python v2 plugin: default python-packages to [pip, setuptools, wheel]
Metadata
Current evaluation
Merged PR #3453 as commit 166b68fdb, defaulting Python v2 packages to pip, setuptools, and wheel while preserving user overrides.
Resolution: closed resolved
Reason: The pull request was merged in commit 166b68fdb. It improves the default Python v2 environment by installing current pip, setuptools, and wheel unless python-packages is explicitly configured.
Evaluated by: mr-cal-bot
No scores available.
Issue body
pip has an especially ugly error when wheel is not installed. Install
the latest pip, setuptools, and wheel to the v2 python environment.
This may be overriden if/when the user sets python-packages manually,
this just improves the out-of-the-box behavior for the majority of
projects.
LP: #1912244
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3453 as commit 166b68fdb, defaulting Python v2 packages to pip, setuptools, and wheel while preserving user overrides. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #3453 as 166b68fdb, the v2 Python plugin now defaults python-packages to pip, setuptools, and wheel, preventing wheel-related pip failures while allowing explicit overrides. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to default the v2 Python plugin's python-packages to pip, setuptools, and wheel, preventing common pip errors. Approved by one reviewer, passed CI, and merged despite a noted potential test conflict with PR #3451. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Defaults python-packages to pip, setuptools, and wheel in the v2 python plugin to prevent installation errors. Integrated despite author warnings of test conflicts with PR #3451. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#3451
(confidence 98%)
Its staged-Python tests exposed file conflicts when different Python parts installed different pip versions.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3440 python v2 plugin: install wheel for build environment | snapcraft | closed | PR #3440 (install wheel into <part-dir>/python-build-extras + PYTHONPATH for LP #1912244) was closed unmerged on 2021-03-01 by its author, replaced by PR #3453, merged as commit 166b68fdb defaulting v2 python-packages to pip, setuptools, wheel. |