Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.
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

Open

Description

@szferi

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?

Activity

  1. jamielennox commented on Jun 25, 2018

    @jamielennox
    Contributor

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

  2. dudedolf commented on Jul 16, 2018

    @dudedolf

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

  3. self-assigned this
    on Aug 25, 2018
  4. inklesspen commented on Sep 11, 2018

    @inklesspen
    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.

  5. normmcgarry commented on Sep 28, 2018

    @normmcgarry

    Any updates here?

  6. inklesspen commented on Sep 28, 2018

    @inklesspen
    Contributor

    Not yet.

  7. realgsong commented on Oct 30, 2018

    @realgsong

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

  8. dgaedcke commented on Mar 13, 2019

    @dgaedcke

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

  9. removed their assignment
    on Mar 14, 2019
  10. dgaedcke commented on Mar 14, 2019

    @dgaedcke

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

  11. srlucas commented on Jul 16, 2019

    @srlucas

    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.

  12. jccmga commented on Aug 27, 2019

    @jccmga

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

  13. dgaedcke commented on Sep 29, 2019

    @dgaedcke

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

  14. added a commit that references this issue on Oct 25, 2019
  15. ubragg commented on Feb 29, 2020

    @ubragg

    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?

  16. dgaedcke commented on Feb 29, 2020

    @dgaedcke

    +1 Google ... please merge in the PR

  17. dgaedcke commented on Feb 29, 2020

    @dgaedcke

    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.

  18. dgaedcke commented on Feb 29, 2020

    @dgaedcke

    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.

  19. ubragg commented on Feb 29, 2020

    @ubragg

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

  20. dgaedcke commented on Feb 29, 2020

    @dgaedcke

    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.

  21. dgaedcke commented on Mar 12, 2020

    @dgaedcke

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions