-
Notifications
You must be signed in to change notification settings - Fork 56
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
Packager assumes Python2.7 #142
Comments
This bit me yesterday. Runtime was set Changing the .json runtime to Now that lambda supports two python runtimes, should the packaging step indicate to the user which it is building for? |
A issue has been that even if you specify python3.6 as runtime in lambda.json, it will use python2 for the virtualenv and thus install possibly incompatible libraries (psycopg2-binary for example) This changes the behavour to use the defined "runtime" in lambda.json as basis for the virtualenv. Closes: rackerlabs#142 Relates: rackerlabs#152
Right now the Packaging method looks for python2.7 in the virtualenv site packages. Since AWS Lambda now supports Python 3 we should update the code so Python3 Lambda Packages can be created as well.
The text was updated successfully, but these errors were encountered: