forked from apache/openwhisk-runtime-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Fix python runtime from v2023 04 24 1 #19
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
Open
sdharav
wants to merge
19
commits into
nimbella:master
Choose a base branch
from
sdharav:fix-python-runtime-from-v2023-04-24-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix python runtime from v2023 04 24 1 #19
sdharav
wants to merge
19
commits into
nimbella:master
from
sdharav:fix-python-runtime-from-v2023-04-24-1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Remove signal-fx libraries * Remove directories for signal-fx also
…imbella#4) To reflect the changes from nimbella/openwhisk-runtime-go#4.
Updates the Golang version used to build the go proxy and makes it dynamic so we can update this centrally in our build scripts in the future.
…imbella#7) As per title, this implements prelaunch mode for the python runtime to start the interpreter alongside the go proxy and initialize the respective function in that existing process.
This aligns the akka dependencies with what we're using in our "main" repository. This is required to run the Scala-based tests in this repository.
* SERVERLESS-2327 Map environment into a context parameter This translates our current environment variable based approach into passing a second "context" parameter to the function. The context somewhat resembles Lambda's context parameter but notably keeps the notion of an "activation_id" as that's still an entity we use in our docs and API. * Narrow down test for remaining time * Add request_id to map tid * Add namespace, api_host and api_key
…turning nothing Add support for function signatures - no param and returning nothing. (nimbella#15) All of our other runtimes support having a function that has no parameters. They also support having a function that returns nothing. In the case where nothing is returned by the function, the runtime returns an empty dictionary to the rest of the OpenWhisk system. This changes he Python runtime to match that behavior.
This adds Python 3.11. It's mostly a 1:1 copy with the only notable change being that this uses the "slim" variant of the base image.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.