镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Mar 20, 2018. It is now read-only.
This repository was archived by the owner on Mar 20, 2018. It is now read-only.

Recent addition breaks library on Google App Engine. #149

Open

Description

@jstephenson

The recent addition of a use of multiprocessing has broken this on Google App Engine (as it doesn't support mp).

https://github.com/googleapis/gax-python/blame/4e15ca6412b54950c20705a72cda54ee27ba9436/google/gax/__init__.py#L35

Upon execution (truncated):

     [exec]   File "/path-to-packages/google/gax/__init__.py", line 35, in <module>
     [exec]     import multiprocessing as mp
     [exec]   File "/usr/lib/python2.7/multiprocessing/__init__.py", line 65, in <module>
     [exec]     from multiprocessing.util import SUBDEBUG, SUBWARNING
     [exec]   File "/usr/lib/python2.7/multiprocessing/util.py", line 41, in <module>
     [exec]     from subprocess import _args_from_interpreter_flags
     [exec] ImportError: cannot import name _args_from_interpreter_flag

Obviously this is quite the inconvenience for GCP customers who want to use the GAX backend for Google's APIs.

Activity

  1. nilleb commented on Feb 17, 2017

    @nilleb
  2. theacodes commented on Feb 17, 2017

    @theacodes

    @jstephenson we're looking into this. As a heads up, even if you get gax to work, grpc-based APIs will not work on App Engine standard right now.

  3. nilleb commented on Feb 17, 2017

    @nilleb
  4. theacodes commented on Feb 17, 2017

    @theacodes

    @nilleb grpc isn't yet supported on App Engine standard.

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