voxpupuli / puppet-python

Puppet module for installing and managing Python, pip, virtualenvs and Gunicorn virtual hosts.
https://forge.puppetlabs.com/puppet/python
Apache License 2.0
199 stars 375 forks source link

add pip2 to Enum for pip_provider #567

Closed jippolito-nasuni closed 4 years ago

jippolito-nasuni commented 4 years ago

For the pip_provider (and version) we have a need to support pip2. Currently we need to symbolic link pip2 to pip to ensure that it meets the requirements for this module. https://linuxize.com/post/how-to-install-pip-on-ubuntu-20.04/

https://forge.puppet.com/puppet/python/reference#pip_provider-1 https://forge.puppet.com/puppet/python/reference#version-1

igalic commented 4 years ago

python 2 is EOL https://www.python.org/dev/peps/pep-0373/ since April 2020

can we please let it rest in peace.?

jippolito-nasuni commented 4 years ago

As much as I'd love to, there are a ton of legacy systems out there on python2 that won't be upgraded ever or not in the near future.

igalic commented 4 years ago

being unpaid volunteers, it's hard enough for us to support all the variations on different operating systems of the supported versions of software that our modules manage.

That python 2.7 is EOL is not a surprise. The first time this was announced and then pushed back was 2014.

If you need to support legacy software, you can probably do that with an older version of this module, but i think it does a great disservice to the entire FLOSS community (especially the ones of us who do this for free) to focus energy on keeping this python2 zombie alive, rather than upgrading to python3