Closed StefMa closed 6 years ago
@StefMa Thanks for the report! This issue is actually a bug in pip, such that it does not enforce "extras" for a package it has already installed. The workaround you found (installing google-cloud-firestore
, which depends on the grpc
extra of google-api_core
) before google-cloud-storage
, which does not, is all we can do for now.
Cloud Functions
(Beta Runtime)python --version
3.7pip show google-cloud
,pip show google-<service>
orpip freeze
❌Stacktrace
requirements.txt
:And import both in the
main.py
:Then deploy the function...
When I change the
requirements.txt
to:So basically switching the dependencies - it works without any issue.
I don't know if that have something to do that
firestore
is not "offical" supported for 3.7 as the README says currently or something different 🤷♂️ (Maybe its also a issue on the Cloud Function side. Then it would be great to ping me where I can report this issue 👍 ) But because I'm not that Python expert I wanted to report this 😇