https://pantsbuild.org/ logo
h

hundreds-father-404

11/17/2021, 12:52 AM
๐Ÿ‘€ 1
@worried-salesclerk-37834 I'm still trying to wrap up docs for Google Cloud Functions and haven't written the blog section. Do you know how step 4 would work with GCF? https://www.pantsbuild.org/v2.8/docs/google-cloud-function-python And what's the alternative without Pants? Like with AWS Lambda, I think you'd normally use Cloud9
w

worried-salesclerk-37834

11/17/2021, 1:40 AM
Similar to AWS. Either can use the console or cli with these commands. https://cloud.google.com/functions/docs/deploying/filesystem#deploy_using_the_gcloud_tool
๐Ÿ‘ 1
h

high-energy-55500

11/17/2021, 4:00 AM
just checking: autoflake and pyupgrade are not working yet in any of the latest rcs, right?
ah, figured out what my problem is: thereโ€™s an issue in the docs here! should be
pants.backend.experimental.python.lint.autoflake
and
pants.backend.experimental.python.lint.pyupgrade
instead of
pants.backend.python.experimental.lint.autoflake
and
pants.backend.python.experimental.lint.pyupgrade
h

hundreds-father-404

11/17/2021, 4:43 AM
oh good catch, thanks!
๐Ÿ‘ 1
@worried-salesclerk-37834 could you please review https://www.pantsbuild.org/docs/google-cloud-function-python when you get a chance? I think it's correct now
w

worried-salesclerk-37834

11/17/2021, 10:38 PM
Seems correct. I will try to build and deploy based on your docs tonight. Fighting the flu, so please forgive if it slips to tomorrow.
h

hundreds-father-404

11/17/2021, 10:39 PM
Thank you, although no rush at all! Sending you my positive energy to feel better ๐Ÿ™
b

busy-vase-39202

11/17/2021, 10:43 PM
Best wishes, Chris!