GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — google-cloud-core incompatible with App Engine (py27) · Issue #3815 · googleapis/google-cloud-python

google-cloud-core incompatible with App Engine (py27) #3815

New issue
Copy link
New issue
Copy link
Closed
Closed
google-cloud-core incompatible with App Engine (py27)#3815
Copy link
Assignees
theacodes

Description

@msuozzo
msuozzo
opened on Aug 15, 2017
Issue body actions

The polling library in google-cloud-core contains an indirect native dependency (ctypes) via the tenacity library. This has the unfortunate consequence of causing import failures on App Engine because the GAE runtime restricts the use of native dependencies.

To clarify the dependency chain causing the problem:

Project Description Relevant Import Site
google-cloud-core core/google/api/core/future/polling.py
tenacity General-purpose retry library monotonic import
monotonic py27 backport of py33 time.monotonic ctypes import

I couldn't think of a particularly easy fix.

One wacky idea that might work would be to write a monotonic-like function/class that faked monotonicity by storing some fixed number of recent calls to the non-monotonic function (e.g. time.time()). When a new call came in, it would call the time function and instead of returning that value straight away, it would calculate and return the max of the value and the cached previous calls (and, to be definitionally correct, add an epsilon). Given the constraints of tenacity, this might suffice but a simpler solution would obviously be preferred.

Thanks :)

Activity

  1. dhermes commented on Aug 15, 2017

    @dhermes
    dhermes
    on Aug 15, 2017
    Contributor
    More actions

    /cc @jonparrott

  2. theacodes commented on Aug 15, 2017

    @theacodes
    theacodes
    on Aug 15, 2017
    Contributor
    More actions

    Unfortunately, App Engine standard does not support these client libraries yet. We are working on it and you can follow #1893 (comment) for updates and more details.

  3. theacodes
    closed this as completedon Aug 15, 2017
  4. dhermes
    added
    invalid
    on Sep 27, 2017
  5. JustinBeckwith
    assigned
    theacodes
    on Feb 1, 2021
  6. parthea
    added a commit that references this issue on Aug 21, 2025

    update google-auth to 1.15.0 part 2 [(#3815)](GoogleCloudPlatform/pyt…

    93a50cc
  7. parthea
    added a commit that references this issue on Sep 16, 2025

    update google-auth to 1.15.0 part 2 [(#3815)](GoogleCloudPlatform/pyt…

    cf7fc76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @theacodes
    theacodes

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.