plugins v1: Pin pip to supported versions
Metadata
Current evaluation
Merged to pin pip to versions supporting Python 3.5 and Python 2, preventing broken installs after pip 21 dropped compatibility. The fix was also applied to the legacy branch via PR #3429 to resolve legacy build failures.
Suggested action: —
No scores available.
Issue body
pip 21 dropped support for python 3.5 and python 2.
pip >=21 no longer support python3.5 or python 2 and if used will result in a
broken install with pip unable to install packages.
* Drop support for Python 3.5 https://github.com/pypa/pip/issues/9189
* Drop support for Python 2 https://github.com/pypa/pip/issues/6148
- [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] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged to pin pip to versions supporting Python 3.5 and Python 2, preventing broken installs after pip 21 dropped compatibility. The fix was also applied to the legacy branch via PR #3429 to resolve legacy build failures. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to pin pip to supported versions, preventing broken installs after pip 21 dropped Python 3.5 and 2 support. A follow-up PR applied the fix to the legacy branch after a test failure revealed legacy snapcraft needed it. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to pin pip to supported versions, preventing broken installs after pip 21 dropped Python 3.5 and 2 support. A follow-up PR applied the fix to the legacy branch, fully resolving the compatibility issue. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3429 plugins: Pin pip to supported versions | snapcraft | merged | Merged a pull request pinning pip to supported versions to prevent broken installations, as pip 21+ dropped Python 3.5 and Python 2 compatibility. Approved by one reviewer and passed CI checks. |