You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/03/01 13:58:04 UTC
[GitHub] [openwhisk] berayb opened a new issue #4846: Settings requirements
for Python
berayb opened a new issue #4846: Settings requirements for Python
URL: https://github.com/apache/openwhisk/issues/4846
Hi,
I'd like to deploy via the REST Api with requirements.txt file. Is that supported for REST Api deployment ?
Thanks,
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [openwhisk] rabbah commented on issue #4846: Setting requirements
for Python
Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #4846: Setting requirements for Python
URL: https://github.com/apache/openwhisk/issues/4846#issuecomment-594548468
@ezio-auditore am I understanding correctly that you'd like to enhance the python runtime to perform the pip installation?
if so, I'll transfer this issue to the python runtime repo and @sciabarra can provide you with pointers for how to implement this - the project welcomes contributions. Thank you for your interest.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [openwhisk] sciabarra commented on issue #4846: Setting
requirements for Python
Posted by GitBox <gi...@apache.org>.
sciabarra commented on issue #4846: Setting requirements for Python
URL: https://github.com/apache/openwhisk/issues/4846#issuecomment-595849419
I can do it and I will do it also soon but I have some other stuff in my workload. A few days.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [openwhisk] ezio-auditore commented on issue #4846: Setting
requirements for Python
Posted by GitBox <gi...@apache.org>.
ezio-auditore commented on issue #4846: Setting requirements for Python
URL: https://github.com/apache/openwhisk/issues/4846#issuecomment-594212988
Hi, @rabbah I am a beginner in whisk dev and I would like to send a PR for this issue if no one else is working on it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [openwhisk] sciabarra commented on issue #4846: Setting
requirements for Python
Posted by GitBox <gi...@apache.org>.
sciabarra commented on issue #4846: Setting requirements for Python
URL: https://github.com/apache/openwhisk/issues/4846#issuecomment-594523235
Hi, actually the newer runtimes for python does have support for compilation. Adding support for requirements.txt is a matter of adding a pip install -r requirements.txt here:
https://github.com/apache/openwhisk-runtime-python/blob/90a8e853dcf1db761ab51da7a6cc78ff749b66d3/core/python3ActionLoop/bin/compile#L59
and I planned to add this feature in the next PR where I clean a few bugs and use the latest runtime.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [openwhisk] ezio-auditore removed a comment on issue #4846: Setting
requirements for Python
Posted by GitBox <gi...@apache.org>.
ezio-auditore removed a comment on issue #4846: Setting requirements for Python
URL: https://github.com/apache/openwhisk/issues/4846#issuecomment-594810795
@sciabarra Also the validation needs to be modified here https://github.com/apache/openwhisk-runtime-python/blob/90a8e853dcf1db761ab51da7a6cc78ff749b66d3/core/python3ActionLoop/bin/compile#L89 ? Am I right?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [openwhisk] rabbah commented on issue #4846: Settings requirements
for Python
Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #4846: Settings requirements for Python
URL: https://github.com/apache/openwhisk/issues/4846#issuecomment-593372621
The rest api accepts a zip file. The zip file may contain a requirements file. But the “client” has to create the zip file first.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [openwhisk] ezio-auditore commented on issue #4846: Setting
requirements for Python
Posted by GitBox <gi...@apache.org>.
ezio-auditore commented on issue #4846: Setting requirements for Python
URL: https://github.com/apache/openwhisk/issues/4846#issuecomment-594810795
@sciabarra Also the validation needs to be modified here https://github.com/apache/openwhisk-runtime-python/blob/90a8e853dcf1db761ab51da7a6cc78ff749b66d3/core/python3ActionLoop/bin/compile#L89 ? Am I right?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [openwhisk] ezio-auditore commented on issue #4846: Setting
requirements for Python
Posted by GitBox <gi...@apache.org>.
ezio-auditore commented on issue #4846: Setting requirements for Python
URL: https://github.com/apache/openwhisk/issues/4846#issuecomment-594748265
@rabbah it would be great, thanks.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services