openfaas / templates

OpenFaaS Classic templates
https://www.openfaas.com
MIT License
276 stars 228 forks source link

Python2 is out of support #188

Closed Waterdrips closed 4 years ago

Waterdrips commented 4 years ago

Python2 has reached EOL,

Is there a process for retiring a template? Also any examples with the python2 template probably want porting to python3 templates.

alexellis commented 4 years ago

What is AWS doing for this? I heard they are extending support for several years, do they publish a docker image we can use? For instance - remember what they did with Java and Corretto? https://aws.amazon.com/corretto/

alexellis commented 4 years ago

I think we've already discouraged usage and given a warning in the custom_message in the template and the workshop/homepage also uses only Python3 as far as I remember.

alexellis commented 4 years ago

OK, we don't have a welcome_message or such in the "python" template, @Waterdrips feel free to add one. See node or go as examples.

This and the workshop seem like the most important areas to cover, and we have done:

note

https://docs.openfaas.com/cli/templates/#python-3-classic-template

Waterdrips commented 4 years ago

/close