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

Allow Supplying Custom Python (including Python3) Runtimes #528

Closed
Miserlou opened this issue Dec 8, 2016 · 1 comment
Closed

Allow Supplying Custom Python (including Python3) Runtimes #528

Miserlou opened this issue Dec 8, 2016 · 1 comment

Comments

@Miserlou
Copy link
Owner

Miserlou commented Dec 8, 2016

Well, Python3 support didn't happen at Re:Invent. Bummer.

In the interim, I suggest we add the ability to provide custom Python runtimes into the handler, including Python3. Obviously, this would be an experimental/research project at the beginning, as there will be a performance hit. The benefits would be quite huge for obvious reasons, including the ability to use the hug framework.

Instructions for running Python 3 on Lambda have already been discovered:
http://www.cloudtrek.com.au/blog/running-python-3-on-aws-lambda/

Our issues would simply be adding this support into our handler and seeing what breaks, what works, and what the performance hit would be. Can we cache the initialization time the same way we cache our S3-environment variables, for instance?

Even if there is a performance hit, this support may even be worth including for non-blocking (event-driven) operations that require Python3 support.

Suggested settings syntax:

{
"runtime": "python3.5"
}

Related tickets:
#510
#499
#6

@Miserlou
Copy link
Owner Author

Deprecating in favor of new ticket: #793

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

No branches or pull requests

1 participant