Aws-toolkit-jetbrains: Cannot create run configuration for python3.7 in PyCharm

Created on 1 Dec 2018  路  10Comments  路  Source: aws/aws-toolkit-jetbrains

Describe the bug
When I'm trying to create run configuration for hello_world lambda in PyCharm I'm getting an error: _Error: Must specify supported runtime_

To reproduce

  1. Go to 'Main Editor window'
  2. Click on 'Add Configuration'
  3. Click '+' then go to AWS Lambda/Local
  4. From template - choose cloudformation template with python3.7 runtime
  5. See error at the bottom of the window

Environment*

  • OS: MacOS Mojave
  • JetBrains' Product: PyCharm Community Edition
  • JetBrains' Product Version: 2018.3
  • Toolkit Version: 1.0

pip list
Package Version


arrow 0.12.1
aws-lambda-builders 0.0.3
aws-sam-cli 0.8.1
aws-sam-translator 1.9.0

Additional context
sam-cli in terminal works without problems

blocked bug dependency

Most helpful comment

Python3.7 is not currently supported in the IDE toolkit. Stay tuned, we'll add this support soon.

All 10 comments

Python3.7 is not currently supported in the IDE toolkit. Stay tuned, we'll add this support soon.

Thank you!

As I've had some Python-version related compatibility issues when installing AWS Toolkit for JetBrains (PyCharm in my case) on macOS, I've written up a blog post with full instructions go get it working (i.e. downgrade from Python 3.7 to 3.6): https://camillovisini.com/deploy-serverless-python-functions-aws-lambda-pycharm/
Hope this helps!

Nice blog post 馃槃

Lambci images for 3.7 do not currently allow for debugging, we are blocked on that.

@abrooksv Is there an ETA on python 3.7 debugging support in Lambci?

I do not have an ETA

I do not have an ETA

Are we talking, days, weeks, months?

Here's the issue we're tracking in the LambCI repo: https://github.com/lambci/docker-lambda/issues/138

Support has been added in release 1.2

Was this page helpful?
0 / 5 - 0 ratings