This repository has been archived by the owner on Nov 5, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import webapp2 instead of google.appengine.ext.webapp
This choice is apparently more robust in situations / runtimes where the import mechanism in google/appengine/ext/webapp/__init__.py does not appear to do the right thing.
- Loading branch information
f3f8b4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change breaks
gcloud.python
now thatoauth2client
1.5.0 is being used.What guarantees that
webapp2
as a top-level import will be available?f3f8b4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm... unclear on the premise of the question. Why should there be a guarantee that this module will have imported another particular module and exposed it as a certain attribute?
f3f8b4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
webapp2
is not listed as aninstall_requires
dependency, which means it may not be installed (except, presumably on GAE). See #302 for discussion.