hi all! i'm debugging a dev_appserver problem that seems to have been 
introduced in google cloud sdk 219 / app-engine-python 1.9.76: imports are 
now all resolved as absolute instead of relative. does that sound familiar?

for example, i use the future library <http://python-future.org/> in many 
of my apps, which has this line of code 
<https://github.com/PythonCharmers/python-future/blob/fdd5eebe3aea61959533dbb722820fac7c5954ea/src/future/standard_library/__init__.py#L484>
:

    import test

on gcloud sdk 218 / app-engine-python 1.9.75 and before, this worked fine. 
it resolved the import relative to the containing source file, in 
local/lib/python2.7/site-packages/future/... , a virtualenv, which i set up 
with vendor 
<https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27#vendoring>.
 
on 1.9.76, it changed to resolving absolute instead, so it imports an 
unrelated test/ package directory in the top level of my app, which 
obviously won't work, and the app breaks.

i couldn't find any mention of this in release notes or docs. was this 
expected? any recommendations for handling it? thanks in advance!


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/51b6c05e-02ef-4c99-9ff7-33bf432b8a8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to