python plugin: do not invoke wheel install if empty
Metadata
Current evaluation
Merged PR #2077 via commit 7b788552d to skip wheel installation when no wheels are present, avoiding failures with pip 10.
Resolution: closed resolved
Reason: PR #2077 was merged as commit 7b788552d, adding an empty-wheel guard so the Python plugin does not invoke pip unnecessarily.
Evaluated by: mr-cal-bot
No scores available.
Issue body
If there are no wheels to install then do not even attempt to install.
This behavior is recently changing due to pip 10 being released.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2077 via commit 7b788552d to skip wheel installation when no wheels are present, avoiding failures with pip 10. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2077 (commit 7b788552d) to skip wheel installation when no wheels are present, avoiding unnecessary pip 10 invocations. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a change preventing the Python plugin from invoking wheel installation when the list is empty. Addresses pip 10 compatibility, modifies two files (+33/-3), authored by sergiusens. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a Python plugin fix that skips wheel installation when no packages are listed, avoiding pip 10 compatibility issues. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.