-
Notifications
You must be signed in to change notification settings - Fork 175
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
Deploy python function #73
Comments
If I install |
you need to use |
this saved me |
Thank you, anyone know why 3.1 does not work for python deployments? |
The only reason that it could be is the node version, maybe python version |
correct me if i'm wrong, but the 'with: args: ...serverless deploy' command will run inside serverless/github-action's Docker....3.1's Dockerfile is based on nikolaik/python-nodejs:python3.10-nodejs16-slim so when serverless tries to run and you can't use a python3.10 lambda profile as it doesn't exist yet https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html |
Indeed, same happening for Python lambdas with v3.2 of this github action
Using serverless/github-action@v3 for Python 3.9 helped
|
Hey,
I am currently unsucessfully trying to deploy a python serverless function with the github action.
My
deploy.yml
:I also tried it with the approach suggested in the
README.md
, usingbut it did not work either. (If I am understanding the workflow correctly,
npm ci
should install the plugin, and the error message is coming from the plugin, so I think it should work either way)The error I am getting is:
I think the error occurs here, but I can't quite grasp why the plugin should not be able to access python?
Do you know how to fix this?
The text was updated successfully, but these errors were encountered: