Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
309 views
in Technique[技术] by (71.8m points)

python - Which python3.6 patch version is used in AWS serverless function runtime environments?

I have a serverless.yml file that specifies Runtime: python3.6 for a serverless function in AWS (Lambda). When setting up a local virtual Python environment for development, I need to specify a patch number (i.e. 3.6.0 through 3.6.12). Which patch version would I use in my virtual environment to best replicate the AWS runtime environment?

I think it might be 3.6.12 since Python3 is well beyond minor version 6 now, and patch versions are typically for bug fixes, but I have not been able to find confirmation. I could also see it maybe depending on what was released when the last build/deployment occurred.

In summary, is there a "correct" patch version I should be using locally or a way to determine which patch version is used by my current deployment?

question from:https://stackoverflow.com/questions/65905472/which-python3-6-patch-version-is-used-in-aws-serverless-function-runtime-environ

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...