You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions Framework is fantastic! BUT, it looks like there is a requirement to have requirements.txt for dependencies in cloud functions? Is that a functions framework issue? Or a GCP Functions limitation? Ex: would there be somewhere else to take this concern?
Since we generally now use poetry to define our dependencies, that means functions-framework needs a 'special' requirements.txt for dependencies if deploying to GCP Cloud Functions? Is there any known workaround?
Thanks!
The text was updated successfully, but these errors were encountered:
brucearctor
changed the title
remove requirement for requirements.txt ?
remove requirement for requirements.txt when specifying dependencies for deploying to functions: support poetry
May 12, 2023
For those struggling, you can do an export from poetry using the following command: poetry export --no-interaction --without-hashes --format requirements.txt --output requirements.txt
Hi, thanks for bringing this to our attention! The solution suggested by @xSAVIKx is a good workaround. We'll file supporting poetry as a feature request for triage.
For those struggling, you can do an export from poetry using the following command: poetry export --no-interaction --without-hashes --format requirements.txt --output requirements.txt
yes, that's what I meant by needing a 'special' requrements.txt
Also, would this issue be better filed somewhere else? Ex: does it need to be routed to the functions team?
Functions Framework is fantastic! BUT, it looks like there is a requirement to have requirements.txt for dependencies in cloud functions? Is that a functions framework issue? Or a GCP Functions limitation? Ex: would there be somewhere else to take this concern?
Since we generally now use poetry to define our dependencies, that means functions-framework needs a 'special' requirements.txt for dependencies if deploying to GCP Cloud Functions? Is there any known workaround?
Thanks!
The text was updated successfully, but these errors were encountered: