Closed pbadeer closed 6 years ago
Thanks for reporting this. I'll have a look and get back to you...
The correct method to specify the Python 3 runtime is the second approach you suggest.
service: pythontest
provider:
name: openwhisk
runtime: python:3
functions:
hello:
handler: handler.hello
plugins:
- serverless-openwhisk
I have just tested this with the project from the openwhisk-python
template and have deployed it to IBM Cloud Functions in US-South.
Could you post the serverless.yaml
file in here and output from the deploy command with verbose logging output?
$ SLS_DEBUG='*' sls deploy
I believe my Python environment was causing issues, I cleaned everything out and started over using that same template you used and it worked just fine.
Thank you!
Hurrah - I love issues that resolve themselves :)
If I use
I get
If I use
runtime: python:3
orruntime: 'python:3'
I getIf I use
runtime: python3.6
I getAm I doing something wrong? I'm assuming this problem is caused by IBM Function's new format for Python 3 deployments, which requires a
--kind python:3
flag in the deploy command.