Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugins v1: Pin pip to supported versions #3428

Merged
merged 2 commits into from
Jan 26, 2021

Conversation

philroche
Copy link
Contributor

@philroche philroche commented Jan 25, 2021

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.

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run ./runtests.sh static?
  • Have you successfully run ./runtests.sh tests/unit?

@philroche philroche marked this pull request as draft January 25, 2021 14:08
@philroche philroche force-pushed the bugfix/pin-pip-py35 branch from 0e496bf to eac0bff Compare January 25, 2021 14:13
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 pypa/pip#9189
* Drop support for Python 2 pypa/pip#6148
@philroche philroche force-pushed the bugfix/pin-pip-py35 branch from eac0bff to 9dc8570 Compare January 25, 2021 14:17
@philroche philroche changed the title pip 21 dropped support for python 3.5 and python 2 plugins v1: Pin pip to supported versions Jan 25, 2021
@philroche
Copy link
Contributor Author

@codecov-io
Copy link

codecov-io commented Jan 25, 2021

Codecov Report

Merging #3428 (eac0bff) into master (b5138e0) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3428   +/-   ##
=======================================
  Coverage   90.83%   90.83%           
=======================================
  Files         258      258           
  Lines       18285    18285           
=======================================
  Hits        16610    16610           
  Misses       1675     1675           
Impacted Files Coverage Δ
snapcraft/plugins/v1/_python/_pip.py 98.42% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5138e0...380327d. Read the comment docs.

@philroche philroche marked this pull request as ready for review January 25, 2021 14:58
@cjp256
Copy link
Contributor

cjp256 commented Jan 25, 2021

python/legacy-build-and-run is failing because it's invoking legacy snapcraft which also needs this fix.

@philroche
Copy link
Contributor Author

python/legacy-build-and-run is failing because it's invoking legacy snapcraft which also needs this fix.

Can you point me to the source for legacy snapcraft?

@cjp256
Copy link
Contributor

cjp256 commented Jan 25, 2021

If you could PR this to the "legacy" branch, that'd be awesome :D

@philroche
Copy link
Contributor Author

If you could PR this to the "legacy" branch, that'd be awesome :D

@cjp256 #3429

@sergiusens sergiusens merged commit 007e41b into canonical:master Jan 26, 2021
abitrolly pushed a commit to abitrolly/snapcraft that referenced this pull request Mar 31, 2021
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 pypa/pip#9189
* Drop support for Python 2 pypa/pip#6148
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Jul 20, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Jul 21, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Jul 22, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Jul 22, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Jul 26, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Aug 3, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Aug 3, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Aug 3, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Nov 24, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Nov 24, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
costanic added a commit to PelionIoT/snap-pelion-edge that referenced this pull request Nov 29, 2021
This fixes a build breakage issue with the python snapcraft plugin
used for building python projects. The python package manager pip
dropped support for python2 and for python3.5 in pip version 21 and
the plugin was patched to pin the version of pip.

canonical/snapcraft#3428
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants