Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

dependency incompatibility with the latest google-cloud package #72

Open
szferi opened this issue Jun 22, 2018 · 18 comments
Open

dependency incompatibility with the latest google-cloud package #72

szferi opened this issue Jun 22, 2018 · 18 comments

Comments

@szferi
Copy link

szferi commented Jun 22, 2018

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
Copy link
Contributor

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

@dudedolf
Copy link

dudedolf commented Jul 16, 2018

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

@inklesspen inklesspen self-assigned this Aug 25, 2018
@inklesspen
Copy link
Contributor

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

Any updates here?

@inklesspen
Copy link
Contributor

Not yet.

@realgsong
Copy link

realgsong commented Oct 30, 2018

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

@dgaedcke
Copy link

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

@dgaedcke
Copy link

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

srlucas commented Jul 16, 2019

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

jccmga commented Aug 27, 2019

+1 Same issue here. This PR: #84 seems to fix it but no reviews have been done yet. Please help.

@dgaedcke
Copy link

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

noirbee added a commit to lumapps/endpoints-management-python that referenced this issue Oct 25, 2019
Fixes incompatibility with some of the other google-cloud package, see also:
- cloudendpoints#72
- cloudendpoints#84
@ubragg
Copy link

ubragg commented 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
Copy link

+1 Google ... please merge in the PR

@dgaedcke
Copy link

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

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

ubragg commented Feb 29, 2020

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

@dgaedcke
Copy link

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

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants