That makes sense. But in this case, I don't have google-api-core or 
google-cloud-core in my requirements.txt at all, so I guess it's being dragged 
in by something else?

This is what I have:

Flask==1.1.1
google-cloud-ndb
google-cloud-storage
google-cloud-logging
google-api-python-client
google-cloud-tasks
googleapis_common_protos
oauth2client
httplib2
sendgrid
pillow
pytz

So does this mean I need to downgrade some of those standard google- packages? 
And if so, how do I know what version to downgrade to?

Also, is this documented anywhere? I'd think if I'm using a bunch of google 
packages, google would be careful to make sure they latest versions of them all 
work together. And if they don't, there would be a document saying exactly what 
versions they want apps to use.

-Joshua

> On Aug 25, 2021, at 12:55 PM, NoCommandLine <[email protected]> 
> wrote:
> 
> >>> I don't have any explicit version numbers in my requirements.txt file.  
> >>> <<<
> 
> When you don't have explicit version numbers, the system will install the 
> most recent. Sometimes the most recent version of one package causes issues 
> in another package and you are thus advised to stick with a lower version or 
> range of lower versions (i.e. a version is pinned). This is the warning 
> message you are getting here
> 
> In your example, your system has automatically installed google-api-core 
> 2.0.0 but your version of  google-cloud-datastore needs something lower than 
> 2.0.0 but a minimum of 1.14.0
> 
> To fix it, you should set explicit version numbers for the packages 
> mentioned, using the range or version mentioned in the error message you 
> received. You'll have to pick something that works for you. For example, you 
> can have google-api-core 1.14.0 in your requirements.txt file but this 
> assumes that there is nothing in your code that needs a feature that is in a 
> higher release
> 
>    ..... NoCommandLine ......
>  https://nocommandline.com <https://nocommandline.com/>
> 
> A GUI for Google App Engine
> 
> On Tuesday, August 24, 2021 at 12:46:49 PM UTC-7 Joshua Smith wrote:
> I'm up to date with gcloud, and I'm getting this warning when I deploy:
> 
> WARNING: Found incompatible dependencies: "
> google-cloud-datastore 1.15.3 has requirement 
> google-api-core[grpc]<2.0.0dev,>=1.14.0,
>  but you have google-api-core 2.0.0.\n
> google-cloud-datastore 1.15.3 has requirement 
> google-cloud-core<2.0dev,>=1.4.0,
>  but you have google-cloud-core 2.0.0."
> 
> I don't have any explicit version numbers in my requirements.txt file. What 
> does this error mean, and how do I fix it?
> 
> -Joshua
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/80de2521-0ead-4362-b64c-97b204c93d69n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/google-appengine/80de2521-0ead-4362-b64c-97b204c93d69n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/52E39D66-E583-4F8F-A872-8E46ADEA3C24%40gmail.com.

Reply via email to