You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on May 15, 2023. It is now read-only.
dependency incompatibility with the latest google-cloud package #72
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?
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.
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.
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.
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 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.
Activity
jamielennox commentedon Jun 25, 2018
+1 - hitting the same problem with things like firebase-admin which are going to be commonly installed together.
dudedolf commentedon Jul 16, 2018
+1 - same issue here. Is it possible to change the dependency for endpoints?
inklesspen commentedon Sep 11, 2018
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 commentedon Sep 28, 2018
Any updates here?
inklesspen commentedon Sep 28, 2018
Not yet.
realgsong commentedon Oct 30, 2018
+1 same issue happens with google-auth lib. Any workaround?
dgaedcke commentedon Mar 13, 2019
+1 having this same problem with google-auth & cachetools
dgaedcke commentedon Mar 14, 2019
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 commentedon Jul 16, 2019
Same thing happening here and no fix in sight.
using google-endpoints (latest is 4.8.0) as a requirement.
if forcing cachetools to >=2.0.0 then google-endpoints-api-management complains.
jccmga commentedon Aug 27, 2019
+1 Same issue here. This PR: #84 seems to fix it but no reviews have been done yet. Please help.
dgaedcke commentedon Sep 29, 2019
hello ... what's the status on this??
Update cachetools dependency
ubragg commentedon Feb 29, 2020
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 commentedon Feb 29, 2020
+1 Google ... please merge in the PR
dgaedcke commentedon Feb 29, 2020
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 commentedon Feb 29, 2020
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 commentedon Feb 29, 2020
So does that mean that officially no one maintains this library any more? Should it be marked as deprecated?
dgaedcke commentedon Feb 29, 2020
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 commentedon Mar 12, 2020
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.