-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support python 3.8 in custom runtime #668
base: master
Are you sure you want to change the base?
Conversation
@@ -96,6 +96,10 @@ def get_layers_for_lambda(language): | |||
new_layers.append( | |||
"arn:aws:lambda:us-west-2:134071937287:layer:refinery-python36-custom-runtime:29" | |||
) | |||
elif language == "python3.8": | |||
new_layers.append( | |||
"arn:aws:lambda:us-west-2:134071937287:layer:refinery-python38-custom-runtime:29" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can make the change to make this point to the real layer
@@ -677,8 +677,13 @@ const EditBlockPaneModule: Module<EditBlockPaneState, RootState> = { | |||
|
|||
// Check if the current block is python and if the next language is python too | |||
const isCurrentBlockPython = | |||
selectedBlock.language === SupportedLanguage.PYTHON_2 || selectedBlock.language === SupportedLanguage.PYTHON_3; | |||
const isNextBlockPython = language === SupportedLanguage.PYTHON_2 || language === SupportedLanguage.PYTHON_3; | |||
selectedBlock.language === SupportedLanguage.PYTHON_2 || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch on this conditional. Very nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to approve this for now. I will pack and ship the new layer for you, and push that into this branch.
No description provided.