cloudendpoints / endpoints-management-python

A Python library for managing API services using Google's Service Control APIs
Apache License 2.0
19 stars 22 forks source link

dependency incompatibility with the latest google-cloud package #72

Open szferi opened 6 years ago

szferi commented 6 years ago

The current endpoints-management-python library use <2.0.0 cachetools while the google-cloud package restrict the dependency to >= 2.0.0 so the two is incompatible and therefore cannot be used at the same time currently. Is there any workaround?

jamielennox commented 6 years ago

+1 - hitting the same problem with things like firebase-admin which are going to be commonly installed together.

dudedolf commented 6 years ago

+1 - same issue here. Is it possible to change the dependency for endpoints?

inklesspen commented 6 years ago

Usually when such a pin is in place, it's because a newer version doesn't function on App Engine. I'll look into it.

normmcgarry commented 6 years ago

Any updates here?

inklesspen commented 6 years ago

Not yet.

realgsong commented 6 years ago

+1 same issue happens with google-auth lib. Any workaround?

dgaedcke commented 5 years ago

+1 having this same problem with google-auth & cachetools

dgaedcke commented 5 years ago

Thanks, yes, I agree it should be tracked here, and there has been zero movement or clarification posted since June of last year ... 10 months

Please give us an update, workaround or guidance asap!!

srlucas commented 5 years ago

Same thing happening here and no fix in sight.

ERROR: google-auth 1.6.3 has requirement cachetools>=2.0.0, but you'll have cachetools 1.1.6 which is incompatible.

using google-endpoints (latest is 4.8.0) as a requirement.

if forcing cachetools to >=2.0.0 then google-endpoints-api-management complains.

ERROR: google-endpoints-api-management 1.11.0 has requirement cachetools<2,>=1.0.0, but you'll have cachetools 3.1.1 which is incompatible.

jccmga commented 5 years ago

+1 Same issue here. This PR: https://github.com/cloudendpoints/endpoints-management-python/pull/84 seems to fix it but no reviews have been done yet. Please help.

dgaedcke commented 5 years ago

hello ... what's the status on this??

ubragg commented 4 years ago

Does anyone maintain this library any more?

I would think incompatibility with the latest google-cloud (and also firebase-admin) package would be important to many users - it certainly is to me. The fix is trivial and a three-line pull request was submitted over four months ago without getting so much as a comment.

Can anyone provide an update?

dgaedcke commented 4 years ago

+1 Google ... please merge in the PR

dgaedcke commented 4 years ago

I've just chatted with Rose (who used to maintain this) and she replied with:


I do not maintain that library, since January 2019. However, I am the person who explained back in 2018 that the library pins many packages on old versions is because the newer library does not function in the App Engine sandbox. So even merging the PR might not actually work in App Engine.

I expect this is still the blocking issue. You should try escalating to your Google Cloud support contact.


I've asked her to clarify WHICH library does not work in GAE sandbox but have not gotten that answer.

dgaedcke commented 4 years ago

latest version of the error is: ERROR: google-endpoints-api-management 1.11.0 has requirement cachetools<2,>=1.0.0, but you'll have cachetools 3.1.1 which is incompatible.

ubragg commented 4 years ago

So does that mean that officially no one maintains this library any more? Should it be marked as deprecated?

dgaedcke commented 4 years ago

I've sent the link to this issue to a few more people at Google ... we'll see what happens but this is quite frustrating. I even think I had some workaround in place because my server was running fine and now it's broken after I reran "pip install requirements.txt"

I can't remember how I solved this last time.

dgaedcke commented 4 years ago

I can't say for sure, but my hunch is that Google will be releasing something similar to this for Python 3 in the next 3-4 months. Meanwhile, I've rolled back to a prior version of my vendored libraries, and an earlier version (255) of Gcloud, and I'm up and running again.