Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Support python 3.8 in custom runtime #668

wants to merge 2 commits into from

Conversation

iakinsey
Copy link
Contributor

@iakinsey iakinsey commented Nov 3, 2020

No description provided.

@iakinsey iakinsey requested a review from freeqaz as a code owner November 3, 2020 00:54
@@ -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"
Copy link
Collaborator

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 ||
Copy link
Collaborator

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.

Copy link
Collaborator

@freeqaz freeqaz left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants