Painful Python GAE (managed VM), Protobuf interaction

56 views
Skip to first unread message

Adrian Wan

unread,
Mar 4, 2016, 9:21:36 PM3/4/16
to Google App Engine
I'd like to call attention to this protobuf bug, which has an interaction with GAE. 

A brief summary for those not familiar with this interaction: in Python, GAE expects to be able to import its libraries with 
from google.appengine.ext import ...

However, protobuf also installs to a google namespace:
from google.protobuf import ...

And the problem is that these two do not install to the same namespace. 

I wonder if there's anything that needs to / can be done from the GAE side to complement this problem of installing to a shared namespace. The help of a Python developer with experience in package & installs would be much appreciated. 

Jon Parrott

unread,
Mar 5, 2016, 4:46:32 PM3/5/16
to Google App Engine
We can make the SDK's google package a namespace package relatively easily.
Reply all
Reply to author
Forward
0 new messages