>>> 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

*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 google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/80de2521-0ead-4362-b64c-97b204c93d69n%40googlegroups.com.

Reply via email to