← Back to issue list

plugins: Pin pip to supported versions

View original Github issue

Metadata

Project
snapcraft
Number
#3429
Type
pull request
State
merged
Author
philroche
Labels
Created
Updated
Closed

Current evaluation

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.

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/)? - [ ] 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 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.
qwen3.6-35b-a3b-mtp-q6 Merged changes pinning pip to versions compatible with Python 3.5 and Python 2. This prevents installation failures caused by pip 21+ dropping support for these legacy versions.
qwen3.6-35b-a3b-mtp-q6 Merged a change pinning pip to versions compatible with Python 3.5 and Python 2. This prevents broken package installations caused by pip 21+ dropping support for these legacy Python versions.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3428 plugins v1: Pin pip to supported versions snapcraft merged 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.
87%
#3367 requirements: pin pip to 20.1.1 for devel snapcraft merged Merged a change pinning pip to 20.1.1 in development requirements to prevent python-apt installation failures. Approved by a reviewer, passed CI, and added one line to the requirements file.
74%