openfaas / python-flask-template

HTTP and Flask-based OpenFaaS templates for Python 3
MIT License
85 stars 86 forks source link

feat: update python to 3.11 and add build-arg #67

Closed LucasRoesler closed 1 year ago

LucasRoesler commented 1 year ago

Update the default python 3 version to 3.11. Additionally, add a build arg for PYTHON_VERSION and WATCHDOG_VERSION so make it easy for developers to pin the python version that they need for their project.

The docs are updated with instructions about pinning the python version.

Motivation and Context

How Has This Been Tested?

This was manually tested and working with the default "echo" function for each template.

Types of changes

Checklist:

alexellis commented 1 year ago

Looks really good, could we drop WATCHDOG_VERSION for this version please?

LucasRoesler commented 1 year ago

done