-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Strange Firestore Installation Issue in Compute Engine #5023
Comments
Hello, firebase_admin is a separate library, please direct the question here: Please let us know if you encounter any more problems. |
I am the maintainer of the
Please reopen. |
This is very likely a bug in I can reproduce this pretty readily. I believe it's because you depend on
I think what's happening is that pip picks up the second one and ignores the extra declared in the first. See this line in the log:
Summoning @ncoghlan and @dstufft to see if they have thoughts on how best to either resolve this or report upstream. |
I think this is the same as pypa/pip#4957 @pradyunsg I'm happy to write a failing test case for pip that demonstrates this. |
@hiranya911 My apologies. |
Thanks for the mention @jonparrott! Please do so and file an issue over at pradyunsg/zazo. :)
It is basically pypa/pip#4957 which is a specific case of pypa/pip#988. You'll have to work around this by actually pinning your dependencies in the top-level requirements that |
Thanks @jonparrott and @chemelnucfin for looking into this. Should |
Yes -- you'll have to keep this in sync with whatever google-cloud-storage and google-cloud-firestore does though. |
@hiranya911, I agree with @pradyunsg: take a dependency on Thanks, @pradyunsg for your insight! I'll try to write a failing test case sometime this week, time permitting. :) |
Closing this for now, as we have no actionable items for this repository. |
@hiranya911 I am a beginner in appegine and firestore, facing the same problem, which i describe in firebase/firebase-admin-python#179 Can you elaborate how did you fix yours? |
@constantinos07 Until the pip bug is fixed, or
|
We define it as |
I encountered the following strange behavior on a Google Compute Engine node (in a Python 3 virtualenv sandbox).
I installed the
firebase-admin
module which has a dependency ongoogle-cloud-firestore
:As you can see at the end it has installed
google-cloud-firestore-0.29.0
package. But then I got the following error, trying to use it:Installing
google-cloud-firestore
separately resolved the issue:Any idea why
grpcio
did not install in the first attempt?The text was updated successfully, but these errors were encountered: